line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Paws::OpsWorks::Layer; |
2
|
1
|
|
|
1
|
|
346
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
7
|
|
3
|
|
|
|
|
|
|
has Arn => (is => 'ro', isa => 'Str'); |
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 CreatedAt => (is => 'ro', isa => 'Str'); |
9
|
|
|
|
|
|
|
has CustomInstanceProfileArn => (is => 'ro', isa => 'Str'); |
10
|
|
|
|
|
|
|
has CustomJson => (is => 'ro', isa => 'Str'); |
11
|
|
|
|
|
|
|
has CustomRecipes => (is => 'ro', isa => 'Paws::OpsWorks::Recipes'); |
12
|
|
|
|
|
|
|
has CustomSecurityGroupIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); |
13
|
|
|
|
|
|
|
has DefaultRecipes => (is => 'ro', isa => 'Paws::OpsWorks::Recipes'); |
14
|
|
|
|
|
|
|
has DefaultSecurityGroupNames => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); |
15
|
|
|
|
|
|
|
has EnableAutoHealing => (is => 'ro', isa => 'Bool'); |
16
|
|
|
|
|
|
|
has InstallUpdatesOnBoot => (is => 'ro', isa => 'Bool'); |
17
|
|
|
|
|
|
|
has LayerId => (is => 'ro', isa => 'Str'); |
18
|
|
|
|
|
|
|
has LifecycleEventConfiguration => (is => 'ro', isa => 'Paws::OpsWorks::LifecycleEventConfiguration'); |
19
|
|
|
|
|
|
|
has Name => (is => 'ro', isa => 'Str'); |
20
|
|
|
|
|
|
|
has Packages => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); |
21
|
|
|
|
|
|
|
has Shortname => (is => 'ro', isa => 'Str'); |
22
|
|
|
|
|
|
|
has StackId => (is => 'ro', isa => 'Str'); |
23
|
|
|
|
|
|
|
has Type => (is => 'ro', isa => 'Str'); |
24
|
|
|
|
|
|
|
has UseEbsOptimizedInstances => (is => 'ro', isa => 'Bool'); |
25
|
|
|
|
|
|
|
has VolumeConfigurations => (is => 'ro', isa => 'ArrayRef[Paws::OpsWorks::VolumeConfiguration]'); |
26
|
|
|
|
|
|
|
1; |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
### main pod documentation begin ### |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 NAME |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
Paws::OpsWorks::Layer |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 USAGE |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
This class represents one of two things: |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head3 Arguments in a call to a service |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. |
41
|
|
|
|
|
|
|
Each attribute should be used as a named argument in the calls that expect this type of object. |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
As an example, if Att1 is expected to be a Paws::OpsWorks::Layer object: |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
$service_obj->Method(Att1 => { Arn => $value, ..., VolumeConfigurations => $value }); |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head3 Results returned from an API call |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
Use accessors for each attribute. If Att1 is expected to be an Paws::OpsWorks::Layer object: |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
$result = $service_obj->Method(...); |
52
|
|
|
|
|
|
|
$result->Att1->Arn |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head1 DESCRIPTION |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
Describes a layer. |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=head2 Arn => Str |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=head2 Attributes => L<Paws::OpsWorks::LayerAttributes> |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
The layer attributes. |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
For the C<HaproxyStatsPassword>, C<MysqlRootPassword>, and |
71
|
|
|
|
|
|
|
C<GangliaPassword> attributes, AWS OpsWorks Stacks returns |
72
|
|
|
|
|
|
|
C<*****FILTERED*****> instead of the actual value |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
For an ECS Cluster layer, AWS OpsWorks Stacks the C<EcsClusterArn> |
75
|
|
|
|
|
|
|
attribute is set to the cluster's ARN. |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
=head2 AutoAssignElasticIps => Bool |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
Whether to automatically assign an Elastic IP address to the layer's |
81
|
|
|
|
|
|
|
instances. For more information, see How to Edit a Layer. |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
=head2 AutoAssignPublicIps => Bool |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
For stacks that are running in a VPC, whether to automatically assign a |
87
|
|
|
|
|
|
|
public IP address to the layer's instances. For more information, see |
88
|
|
|
|
|
|
|
How to Edit a Layer. |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=head2 CloudWatchLogsConfiguration => L<Paws::OpsWorks::CloudWatchLogsConfiguration> |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
The Amazon CloudWatch Logs configuration settings for the layer. |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
=head2 CreatedAt => Str |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
Date when the layer was created. |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
=head2 CustomInstanceProfileArn => Str |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
The ARN of the default IAM profile to be used for the layer's EC2 |
104
|
|
|
|
|
|
|
instances. For more information about IAM ARNs, see Using Identifiers. |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
=head2 CustomJson => Str |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
A JSON formatted string containing the layer's custom stack |
110
|
|
|
|
|
|
|
configuration and deployment attributes. |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
=head2 CustomRecipes => L<Paws::OpsWorks::Recipes> |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
A C<LayerCustomRecipes> object that specifies the layer's custom |
116
|
|
|
|
|
|
|
recipes. |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
=head2 CustomSecurityGroupIds => ArrayRef[Str|Undef] |
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
An array containing the layer's custom security group IDs. |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
=head2 DefaultRecipes => L<Paws::OpsWorks::Recipes> |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
=head2 DefaultSecurityGroupNames => ArrayRef[Str|Undef] |
130
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
An array containing the layer's security group names. |
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
=head2 EnableAutoHealing => Bool |
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
Whether auto healing is disabled for the layer. |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
=head2 InstallUpdatesOnBoot => Bool |
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
Whether to install operating system and package updates when the |
142
|
|
|
|
|
|
|
instance boots. The default value is C<true>. If this value is set to |
143
|
|
|
|
|
|
|
C<false>, you must then update your instances manually by using |
144
|
|
|
|
|
|
|
CreateDeployment to run the C<update_dependencies> stack command or |
145
|
|
|
|
|
|
|
manually running C<yum> (Amazon Linux) or C<apt-get> (Ubuntu) on the |
146
|
|
|
|
|
|
|
instances. |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
We strongly recommend using the default value of C<true>, to ensure |
149
|
|
|
|
|
|
|
that your instances have the latest security updates. |
150
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
=head2 LayerId => Str |
153
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
The layer ID. |
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
=head2 LifecycleEventConfiguration => L<Paws::OpsWorks::LifecycleEventConfiguration> |
158
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
A C<LifeCycleEventConfiguration> object that specifies the Shutdown |
160
|
|
|
|
|
|
|
event configuration. |
161
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
=head2 Name => Str |
164
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
The layer name. |
166
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
|
168
|
|
|
|
|
|
|
=head2 Packages => ArrayRef[Str|Undef] |
169
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
An array of C<Package> objects that describe the layer's packages. |
171
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
=head2 Shortname => Str |
174
|
|
|
|
|
|
|
|
175
|
|
|
|
|
|
|
The layer short name. |
176
|
|
|
|
|
|
|
|
177
|
|
|
|
|
|
|
|
178
|
|
|
|
|
|
|
=head2 StackId => Str |
179
|
|
|
|
|
|
|
|
180
|
|
|
|
|
|
|
The layer stack ID. |
181
|
|
|
|
|
|
|
|
182
|
|
|
|
|
|
|
|
183
|
|
|
|
|
|
|
=head2 Type => Str |
184
|
|
|
|
|
|
|
|
185
|
|
|
|
|
|
|
The layer type. |
186
|
|
|
|
|
|
|
|
187
|
|
|
|
|
|
|
|
188
|
|
|
|
|
|
|
=head2 UseEbsOptimizedInstances => Bool |
189
|
|
|
|
|
|
|
|
190
|
|
|
|
|
|
|
Whether the layer uses Amazon EBS-optimized instances. |
191
|
|
|
|
|
|
|
|
192
|
|
|
|
|
|
|
|
193
|
|
|
|
|
|
|
=head2 VolumeConfigurations => ArrayRef[L<Paws::OpsWorks::VolumeConfiguration>] |
194
|
|
|
|
|
|
|
|
195
|
|
|
|
|
|
|
A C<VolumeConfigurations> object that describes the layer's Amazon EBS |
196
|
|
|
|
|
|
|
volumes. |
197
|
|
|
|
|
|
|
|
198
|
|
|
|
|
|
|
|
199
|
|
|
|
|
|
|
|
200
|
|
|
|
|
|
|
=head1 SEE ALSO |
201
|
|
|
|
|
|
|
|
202
|
|
|
|
|
|
|
This class forms part of L<Paws>, describing an object used in L<Paws::OpsWorks> |
203
|
|
|
|
|
|
|
|
204
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
205
|
|
|
|
|
|
|
|
206
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
207
|
|
|
|
|
|
|
|
208
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
209
|
|
|
|
|
|
|
|
210
|
|
|
|
|
|
|
=cut |
211
|
|
|
|
|
|
|
|