File Coverage

blib/lib/Paws/OpsWorks/UpdateLayer.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::OpsWorks::UpdateLayer;
3 1     1   444 use Moose;
  1         2  
  1         9  
4             has Attributes => (is => 'ro', isa => 'Paws::OpsWorks::LayerAttributes');
5             has AutoAssignElasticIps => (is => 'ro', isa => 'Bool');
6             has AutoAssignPublicIps => (is => 'ro', isa => 'Bool');
7             has CloudWatchLogsConfiguration => (is => 'ro', isa => 'Paws::OpsWorks::CloudWatchLogsConfiguration');
8             has CustomInstanceProfileArn => (is => 'ro', isa => 'Str');
9             has CustomJson => (is => 'ro', isa => 'Str');
10             has CustomRecipes => (is => 'ro', isa => 'Paws::OpsWorks::Recipes');
11             has CustomSecurityGroupIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
12             has EnableAutoHealing => (is => 'ro', isa => 'Bool');
13             has InstallUpdatesOnBoot => (is => 'ro', isa => 'Bool');
14             has LayerId => (is => 'ro', isa => 'Str', required => 1);
15             has LifecycleEventConfiguration => (is => 'ro', isa => 'Paws::OpsWorks::LifecycleEventConfiguration');
16             has Name => (is => 'ro', isa => 'Str');
17             has Packages => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
18             has Shortname => (is => 'ro', isa => 'Str');
19             has UseEbsOptimizedInstances => (is => 'ro', isa => 'Bool');
20             has VolumeConfigurations => (is => 'ro', isa => 'ArrayRef[Paws::OpsWorks::VolumeConfiguration]');
21              
22 1     1   5840 use MooseX::ClassAttribute;
  1         2  
  1         9  
23              
24             class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateLayer');
25             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::API::Response');
26             class_has _result_key => (isa => 'Str', is => 'ro');
27             1;
28              
29             ### main pod documentation begin ###
30              
31             =head1 NAME
32              
33             Paws::OpsWorks::UpdateLayer - Arguments for method UpdateLayer on Paws::OpsWorks
34              
35             =head1 DESCRIPTION
36              
37             This class represents the parameters used for calling the method UpdateLayer on the
38             AWS OpsWorks service. Use the attributes of this class
39             as arguments to method UpdateLayer.
40              
41             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateLayer.
42              
43             As an example:
44              
45             $service_obj->UpdateLayer(Att1 => $value1, Att2 => $value2, ...);
46              
47             Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
48              
49             =head1 ATTRIBUTES
50              
51              
52             =head2 Attributes => L<Paws::OpsWorks::LayerAttributes>
53              
54             One or more user-defined key/value pairs to be added to the stack
55             attributes.
56              
57              
58              
59             =head2 AutoAssignElasticIps => Bool
60              
61             Whether to automatically assign an Elastic IP address to the layer's
62             instances. For more information, see How to Edit a Layer.
63              
64              
65              
66             =head2 AutoAssignPublicIps => Bool
67              
68             For stacks that are running in a VPC, whether to automatically assign a
69             public IP address to the layer's instances. For more information, see
70             How to Edit a Layer.
71              
72              
73              
74             =head2 CloudWatchLogsConfiguration => L<Paws::OpsWorks::CloudWatchLogsConfiguration>
75              
76             Specifies CloudWatch Logs configuration options for the layer. For more
77             information, see CloudWatchLogsLogStream.
78              
79              
80              
81             =head2 CustomInstanceProfileArn => Str
82              
83             The ARN of an IAM profile to be used for all of the layer's EC2
84             instances. For more information about IAM ARNs, see Using Identifiers.
85              
86              
87              
88             =head2 CustomJson => Str
89              
90             A JSON-formatted string containing custom stack configuration and
91             deployment attributes to be installed on the layer's instances. For
92             more information, see Using Custom JSON.
93              
94              
95              
96             =head2 CustomRecipes => L<Paws::OpsWorks::Recipes>
97              
98             A C<LayerCustomRecipes> object that specifies the layer's custom
99             recipes.
100              
101              
102              
103             =head2 CustomSecurityGroupIds => ArrayRef[Str|Undef]
104              
105             An array containing the layer's custom security group IDs.
106              
107              
108              
109             =head2 EnableAutoHealing => Bool
110              
111             Whether to disable auto healing for the layer.
112              
113              
114              
115             =head2 InstallUpdatesOnBoot => Bool
116              
117             Whether to install operating system and package updates when the
118             instance boots. The default value is C<true>. To control when updates
119             are installed, set this value to C<false>. You must then update your
120             instances manually by using CreateDeployment to run the
121             C<update_dependencies> stack command or manually running C<yum> (Amazon
122             Linux) or C<apt-get> (Ubuntu) on the instances.
123              
124             We strongly recommend using the default value of C<true>, to ensure
125             that your instances have the latest security updates.
126              
127              
128              
129             =head2 B<REQUIRED> LayerId => Str
130              
131             The layer ID.
132              
133              
134              
135             =head2 LifecycleEventConfiguration => L<Paws::OpsWorks::LifecycleEventConfiguration>
136              
137              
138              
139              
140              
141             =head2 Name => Str
142              
143             The layer name, which is used by the console.
144              
145              
146              
147             =head2 Packages => ArrayRef[Str|Undef]
148              
149             An array of C<Package> objects that describe the layer's packages.
150              
151              
152              
153             =head2 Shortname => Str
154              
155             For custom layers only, use this parameter to specify the layer's short
156             name, which is used internally by AWS OpsWorks Stacks and by Chef. The
157             short name is also used as the name for the directory where your app
158             files are installed. It can have a maximum of 200 characters and must
159             be in the following format: /\A[a-z0-9\-\_\.]+\Z/.
160              
161             The built-in layers' short names are defined by AWS OpsWorks Stacks.
162             For more information, see the Layer Reference
163              
164              
165              
166             =head2 UseEbsOptimizedInstances => Bool
167              
168             Whether to use Amazon EBS-optimized instances.
169              
170              
171              
172             =head2 VolumeConfigurations => ArrayRef[L<Paws::OpsWorks::VolumeConfiguration>]
173              
174             A C<VolumeConfigurations> object that describes the layer's Amazon EBS
175             volumes.
176              
177              
178              
179              
180             =head1 SEE ALSO
181              
182             This class forms part of L<Paws>, documenting arguments for method UpdateLayer in L<Paws::OpsWorks>
183              
184             =head1 BUGS and CONTRIBUTIONS
185              
186             The source code is located here: https://github.com/pplu/aws-sdk-perl
187              
188             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
189              
190             =cut
191