File Coverage

blib/lib/Paws/OpsWorks/Stack.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::OpsWorks::Stack;
2 1     1   504 use Moose;
  1         3  
  1         10  
3             has AgentVersion => (is => 'ro', isa => 'Str');
4             has Arn => (is => 'ro', isa => 'Str');
5             has Attributes => (is => 'ro', isa => 'Paws::OpsWorks::StackAttributes');
6             has ChefConfiguration => (is => 'ro', isa => 'Paws::OpsWorks::ChefConfiguration');
7             has ConfigurationManager => (is => 'ro', isa => 'Paws::OpsWorks::StackConfigurationManager');
8             has CreatedAt => (is => 'ro', isa => 'Str');
9             has CustomCookbooksSource => (is => 'ro', isa => 'Paws::OpsWorks::Source');
10             has CustomJson => (is => 'ro', isa => 'Str');
11             has DefaultAvailabilityZone => (is => 'ro', isa => 'Str');
12             has DefaultInstanceProfileArn => (is => 'ro', isa => 'Str');
13             has DefaultOs => (is => 'ro', isa => 'Str');
14             has DefaultRootDeviceType => (is => 'ro', isa => 'Str');
15             has DefaultSshKeyName => (is => 'ro', isa => 'Str');
16             has DefaultSubnetId => (is => 'ro', isa => 'Str');
17             has HostnameTheme => (is => 'ro', isa => 'Str');
18             has Name => (is => 'ro', isa => 'Str');
19             has Region => (is => 'ro', isa => 'Str');
20             has ServiceRoleArn => (is => 'ro', isa => 'Str');
21             has StackId => (is => 'ro', isa => 'Str');
22             has UseCustomCookbooks => (is => 'ro', isa => 'Bool');
23             has UseOpsworksSecurityGroups => (is => 'ro', isa => 'Bool');
24             has VpcId => (is => 'ro', isa => 'Str');
25             1;
26              
27             ### main pod documentation begin ###
28              
29             =head1 NAME
30              
31             Paws::OpsWorks::Stack
32              
33             =head1 USAGE
34              
35             This class represents one of two things:
36              
37             =head3 Arguments in a call to a service
38              
39             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
40             Each attribute should be used as a named argument in the calls that expect this type of object.
41              
42             As an example, if Att1 is expected to be a Paws::OpsWorks::Stack object:
43              
44             $service_obj->Method(Att1 => { AgentVersion => $value, ..., VpcId => $value });
45              
46             =head3 Results returned from an API call
47              
48             Use accessors for each attribute. If Att1 is expected to be an Paws::OpsWorks::Stack object:
49              
50             $result = $service_obj->Method(...);
51             $result->Att1->AgentVersion
52              
53             =head1 DESCRIPTION
54              
55             Describes a stack.
56              
57             =head1 ATTRIBUTES
58              
59              
60             =head2 AgentVersion => Str
61              
62             The agent version. This parameter is set to C<LATEST> for auto-update.
63             or a version number for a fixed agent version.
64              
65              
66             =head2 Arn => Str
67              
68             The stack's ARN.
69              
70              
71             =head2 Attributes => L<Paws::OpsWorks::StackAttributes>
72              
73             The stack's attributes.
74              
75              
76             =head2 ChefConfiguration => L<Paws::OpsWorks::ChefConfiguration>
77              
78             A C<ChefConfiguration> object that specifies whether to enable
79             Berkshelf and the Berkshelf version. For more information, see Create a
80             New Stack.
81              
82              
83             =head2 ConfigurationManager => L<Paws::OpsWorks::StackConfigurationManager>
84              
85             The configuration manager.
86              
87              
88             =head2 CreatedAt => Str
89              
90             The date when the stack was created.
91              
92              
93             =head2 CustomCookbooksSource => L<Paws::OpsWorks::Source>
94              
95            
96              
97              
98             =head2 CustomJson => Str
99              
100             A JSON object that contains user-defined attributes to be added to the
101             stack configuration and deployment attributes. You can use custom JSON
102             to override the corresponding default stack configuration attribute
103             values or to pass data to recipes. The string should be in the
104             following format:
105              
106             C<"{\"key1\": \"value1\", \"key2\": \"value2\",...}">
107              
108             For more information on custom JSON, see Use Custom JSON to Modify the
109             Stack Configuration Attributes.
110              
111              
112             =head2 DefaultAvailabilityZone => Str
113              
114             The stack's default Availability Zone. For more information, see
115             Regions and Endpoints.
116              
117              
118             =head2 DefaultInstanceProfileArn => Str
119              
120             The ARN of an IAM profile that is the default profile for all of the
121             stack's EC2 instances. For more information about IAM ARNs, see Using
122             Identifiers.
123              
124              
125             =head2 DefaultOs => Str
126              
127             The stack's default operating system.
128              
129              
130             =head2 DefaultRootDeviceType => Str
131              
132             The default root device type. This value is used by default for all
133             instances in the stack, but you can override it when you create an
134             instance. For more information, see Storage for the Root Device.
135              
136              
137             =head2 DefaultSshKeyName => Str
138              
139             A default Amazon EC2 key pair for the stack's instances. You can
140             override this value when you create or update an instance.
141              
142              
143             =head2 DefaultSubnetId => Str
144              
145             The default subnet ID; applicable only if the stack is running in a
146             VPC.
147              
148              
149             =head2 HostnameTheme => Str
150              
151             The stack host name theme, with spaces replaced by underscores.
152              
153              
154             =head2 Name => Str
155              
156             The stack name.
157              
158              
159             =head2 Region => Str
160              
161             The stack AWS region, such as "ap-northeast-2". For more information
162             about AWS regions, see Regions and Endpoints.
163              
164              
165             =head2 ServiceRoleArn => Str
166              
167             The stack AWS Identity and Access Management (IAM) role.
168              
169              
170             =head2 StackId => Str
171              
172             The stack ID.
173              
174              
175             =head2 UseCustomCookbooks => Bool
176              
177             Whether the stack uses custom cookbooks.
178              
179              
180             =head2 UseOpsworksSecurityGroups => Bool
181              
182             Whether the stack automatically associates the AWS OpsWorks Stacks
183             built-in security groups with the stack's layers.
184              
185              
186             =head2 VpcId => Str
187              
188             The VPC ID; applicable only if the stack is running in a VPC.
189              
190              
191              
192             =head1 SEE ALSO
193              
194             This class forms part of L<Paws>, describing an object used in L<Paws::OpsWorks>
195              
196             =head1 BUGS and CONTRIBUTIONS
197              
198             The source code is located here: https://github.com/pplu/aws-sdk-perl
199              
200             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
201              
202             =cut
203