line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Paws::OpsWorksCM::Server; |
2
|
1
|
|
|
1
|
|
662
|
use Moose; |
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
14
|
|
3
|
|
|
|
|
|
|
has AssociatePublicIpAddress => (is => 'ro', isa => 'Bool'); |
4
|
|
|
|
|
|
|
has BackupRetentionCount => (is => 'ro', isa => 'Int'); |
5
|
|
|
|
|
|
|
has CloudFormationStackArn => (is => 'ro', isa => 'Str'); |
6
|
|
|
|
|
|
|
has CreatedAt => (is => 'ro', isa => 'Str'); |
7
|
|
|
|
|
|
|
has DisableAutomatedBackup => (is => 'ro', isa => 'Bool'); |
8
|
|
|
|
|
|
|
has Endpoint => (is => 'ro', isa => 'Str'); |
9
|
|
|
|
|
|
|
has Engine => (is => 'ro', isa => 'Str'); |
10
|
|
|
|
|
|
|
has EngineAttributes => (is => 'ro', isa => 'ArrayRef[Paws::OpsWorksCM::EngineAttribute]'); |
11
|
|
|
|
|
|
|
has EngineModel => (is => 'ro', isa => 'Str'); |
12
|
|
|
|
|
|
|
has EngineVersion => (is => 'ro', isa => 'Str'); |
13
|
|
|
|
|
|
|
has InstanceProfileArn => (is => 'ro', isa => 'Str'); |
14
|
|
|
|
|
|
|
has InstanceType => (is => 'ro', isa => 'Str'); |
15
|
|
|
|
|
|
|
has KeyPair => (is => 'ro', isa => 'Str'); |
16
|
|
|
|
|
|
|
has MaintenanceStatus => (is => 'ro', isa => 'Str'); |
17
|
|
|
|
|
|
|
has PreferredBackupWindow => (is => 'ro', isa => 'Str'); |
18
|
|
|
|
|
|
|
has PreferredMaintenanceWindow => (is => 'ro', isa => 'Str'); |
19
|
|
|
|
|
|
|
has SecurityGroupIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); |
20
|
|
|
|
|
|
|
has ServerArn => (is => 'ro', isa => 'Str'); |
21
|
|
|
|
|
|
|
has ServerName => (is => 'ro', isa => 'Str'); |
22
|
|
|
|
|
|
|
has ServiceRoleArn => (is => 'ro', isa => 'Str'); |
23
|
|
|
|
|
|
|
has Status => (is => 'ro', isa => 'Str'); |
24
|
|
|
|
|
|
|
has StatusReason => (is => 'ro', isa => 'Str'); |
25
|
|
|
|
|
|
|
has SubnetIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); |
26
|
|
|
|
|
|
|
1; |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
### main pod documentation begin ### |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 NAME |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
Paws::OpsWorksCM::Server |
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::OpsWorksCM::Server object: |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
$service_obj->Method(Att1 => { AssociatePublicIpAddress => $value, ..., SubnetIds => $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::OpsWorksCM::Server object: |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
$result = $service_obj->Method(...); |
52
|
|
|
|
|
|
|
$result->Att1->AssociatePublicIpAddress |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head1 DESCRIPTION |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
Describes a configuration management server. |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=head2 AssociatePublicIpAddress => Bool |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
Associate a public IP address with a server that you are launching. |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=head2 BackupRetentionCount => Int |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
The number of automated backups to keep. |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=head2 CloudFormationStackArn => Str |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
The ARN of the CloudFormation stack that was used to create the server. |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
=head2 CreatedAt => Str |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
Time stamp of server creation. Example C<2016-07-29T13:38:47.520Z> |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=head2 DisableAutomatedBackup => Bool |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
Disables automated backups. The number of stored backups is dependent |
84
|
|
|
|
|
|
|
on the value of PreferredBackupCount. |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
=head2 Endpoint => Str |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
A DNS name that can be used to access the engine. Example: |
90
|
|
|
|
|
|
|
C<myserver-asdfghjkl.us-east-1.opsworks.io> |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
=head2 Engine => Str |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
The engine type of the server. The valid value in this release is |
96
|
|
|
|
|
|
|
C<Chef>. |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
=head2 EngineAttributes => ArrayRef[L<Paws::OpsWorksCM::EngineAttribute>] |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
The response of a createServer() request returns the master credential |
102
|
|
|
|
|
|
|
to access the server in EngineAttributes. These credentials are not |
103
|
|
|
|
|
|
|
stored by AWS OpsWorks for Chef Automate; they are returned only as |
104
|
|
|
|
|
|
|
part of the result of createServer(). |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
B<Attributes returned in a createServer response:> |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
=over |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
=item * |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
C<CHEF_PIVOTAL_KEY>: A base64-encoded RSA private key that is generated |
113
|
|
|
|
|
|
|
by AWS OpsWorks for Chef Automate. This private key is required to |
114
|
|
|
|
|
|
|
access the Chef API. |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
=item * |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
C<CHEF_STARTER_KIT>: A base64-encoded ZIP file. The ZIP file contains a |
119
|
|
|
|
|
|
|
Chef starter kit, which includes a README, a configuration file, and |
120
|
|
|
|
|
|
|
the required RSA private key. Save this file, unzip it, and then change |
121
|
|
|
|
|
|
|
to the directory where you've unzipped the file contents. From this |
122
|
|
|
|
|
|
|
directory, you can run Knife commands. |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
=back |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
=head2 EngineModel => Str |
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
The engine model of the server. The valid value in this release is |
131
|
|
|
|
|
|
|
C<Single>. |
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
=head2 EngineVersion => Str |
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
The engine version of the server. Because Chef is the engine available |
137
|
|
|
|
|
|
|
in this release, the valid value for EngineVersion is C<12>. |
138
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
=head2 InstanceProfileArn => Str |
141
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
The instance profile ARN of the server. |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
=head2 InstanceType => Str |
146
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
The instance type for the server, as specified in the CloudFormation |
148
|
|
|
|
|
|
|
stack. This might not be the same instance type that is shown in the |
149
|
|
|
|
|
|
|
EC2 console. |
150
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
=head2 KeyPair => Str |
153
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
The key pair associated with the server. |
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
=head2 MaintenanceStatus => Str |
158
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
The status of the most recent server maintenance run. Shows C<SUCCESS> |
160
|
|
|
|
|
|
|
or C<FAILED>. |
161
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
=head2 PreferredBackupWindow => Str |
164
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
The preferred backup period specified for the server. |
166
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
|
168
|
|
|
|
|
|
|
=head2 PreferredMaintenanceWindow => Str |
169
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
The preferred maintenance period specified for the server. |
171
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
=head2 SecurityGroupIds => ArrayRef[Str|Undef] |
174
|
|
|
|
|
|
|
|
175
|
|
|
|
|
|
|
The security group IDs for the server, as specified in the |
176
|
|
|
|
|
|
|
CloudFormation stack. These might not be the same security groups that |
177
|
|
|
|
|
|
|
are shown in the EC2 console. |
178
|
|
|
|
|
|
|
|
179
|
|
|
|
|
|
|
|
180
|
|
|
|
|
|
|
=head2 ServerArn => Str |
181
|
|
|
|
|
|
|
|
182
|
|
|
|
|
|
|
The ARN of the server. |
183
|
|
|
|
|
|
|
|
184
|
|
|
|
|
|
|
|
185
|
|
|
|
|
|
|
=head2 ServerName => Str |
186
|
|
|
|
|
|
|
|
187
|
|
|
|
|
|
|
The name of the server. |
188
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
|
190
|
|
|
|
|
|
|
=head2 ServiceRoleArn => Str |
191
|
|
|
|
|
|
|
|
192
|
|
|
|
|
|
|
The service role ARN used to create the server. |
193
|
|
|
|
|
|
|
|
194
|
|
|
|
|
|
|
|
195
|
|
|
|
|
|
|
=head2 Status => Str |
196
|
|
|
|
|
|
|
|
197
|
|
|
|
|
|
|
The server's status. This field displays the states of actions in |
198
|
|
|
|
|
|
|
progress, such as creating, running, or backing up the server, as well |
199
|
|
|
|
|
|
|
as the server's health state. |
200
|
|
|
|
|
|
|
|
201
|
|
|
|
|
|
|
|
202
|
|
|
|
|
|
|
=head2 StatusReason => Str |
203
|
|
|
|
|
|
|
|
204
|
|
|
|
|
|
|
Depending on the server status, this field has either a human-readable |
205
|
|
|
|
|
|
|
message (such as a create or backup error), or an escaped block of JSON |
206
|
|
|
|
|
|
|
(used for health check results). |
207
|
|
|
|
|
|
|
|
208
|
|
|
|
|
|
|
|
209
|
|
|
|
|
|
|
=head2 SubnetIds => ArrayRef[Str|Undef] |
210
|
|
|
|
|
|
|
|
211
|
|
|
|
|
|
|
The subnet IDs specified in a CreateServer request. |
212
|
|
|
|
|
|
|
|
213
|
|
|
|
|
|
|
|
214
|
|
|
|
|
|
|
|
215
|
|
|
|
|
|
|
=head1 SEE ALSO |
216
|
|
|
|
|
|
|
|
217
|
|
|
|
|
|
|
This class forms part of L<Paws>, describing an object used in L<Paws::OpsWorksCM> |
218
|
|
|
|
|
|
|
|
219
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
220
|
|
|
|
|
|
|
|
221
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
222
|
|
|
|
|
|
|
|
223
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
224
|
|
|
|
|
|
|
|
225
|
|
|
|
|
|
|
=cut |
226
|
|
|
|
|
|
|
|