blib/lib/Paws/EKS/Nodegroup.pm untested

filter: Statementstmt 0.0% 0 / 49 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 50 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::EKS::Nodegroup;
3 use Moose;
4 has AmiType => (is => 'ro', isa => 'Str', request_name => 'amiType', traits => ['NameInRequest']);
5 has CapacityType => (is => 'ro', isa => 'Str', request_name => 'capacityType', traits => ['NameInRequest']);
6 has ClusterName => (is => 'ro', isa => 'Str', request_name => 'clusterName', traits => ['NameInRequest']);
7 has CreatedAt => (is => 'ro', isa => 'Str', request_name => 'createdAt', traits => ['NameInRequest']);
8 has DiskSize => (is => 'ro', isa => 'Int', request_name => 'diskSize', traits => ['NameInRequest']);
9 has Health => (is => 'ro', isa => 'Paws::EKS::NodegroupHealth', request_name => 'health', traits => ['NameInRequest']);
10 has InstanceTypes => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'instanceTypes', traits => ['NameInRequest']);
11 has Labels => (is => 'ro', isa => 'Paws::EKS::LabelsMap', request_name => 'labels', traits => ['NameInRequest']);
12 has LaunchTemplate => (is => 'ro', isa => 'Paws::EKS::LaunchTemplateSpecification', request_name => 'launchTemplate', traits => ['NameInRequest']);
13 has ModifiedAt => (is => 'ro', isa => 'Str', request_name => 'modifiedAt', traits => ['NameInRequest']);
14 has NodegroupArn => (is => 'ro', isa => 'Str', request_name => 'nodegroupArn', traits => ['NameInRequest']);
15 has NodegroupName => (is => 'ro', isa => 'Str', request_name => 'nodegroupName', traits => ['NameInRequest']);
16 has NodeRole => (is => 'ro', isa => 'Str', request_name => 'nodeRole', traits => ['NameInRequest']);
17 has ReleaseVersion => (is => 'ro', isa => 'Str', request_name => 'releaseVersion', traits => ['NameInRequest']);
18 has RemoteAccess => (is => 'ro', isa => 'Paws::EKS::RemoteAccessConfig', request_name => 'remoteAccess', traits => ['NameInRequest']);
19 has Resources => (is => 'ro', isa => 'Paws::EKS::NodegroupResources', request_name => 'resources', traits => ['NameInRequest']);
20 has ScalingConfig => (is => 'ro', isa => 'Paws::EKS::NodegroupScalingConfig', request_name => 'scalingConfig', traits => ['NameInRequest']);
21 has Status => (is => 'ro', isa => 'Str', request_name => 'status', traits => ['NameInRequest']);
22 has Subnets => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'subnets', traits => ['NameInRequest']);
23 has Tags => (is => 'ro', isa => 'Paws::EKS::TagMap', request_name => 'tags', traits => ['NameInRequest']);
24 has Taints => (is => 'ro', isa => 'ArrayRef[Paws::EKS::Taint]', request_name => 'taints', traits => ['NameInRequest']);
25 has UpdateConfig => (is => 'ro', isa => 'Paws::EKS::NodegroupUpdateConfig', request_name => 'updateConfig', traits => ['NameInRequest']);
26 has Version => (is => 'ro', isa => 'Str', request_name => 'version', traits => ['NameInRequest']);
27  
28 1;
29  
30 ### main pod documentation begin ###
31  
32 =head1 NAME
33  
34 Paws::EKS::Nodegroup
35  
36 =head1 USAGE
37  
38 This class represents one of two things:
39  
40 =head3 Arguments in a call to a service
41  
42 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
43 Each attribute should be used as a named argument in the calls that expect this type of object.
44  
45 As an example, if Att1 is expected to be a Paws::EKS::Nodegroup object:
46  
47 $service_obj->Method(Att1 => { AmiType => $value, ..., Version => $value });
48  
49 =head3 Results returned from an API call
50  
51 Use accessors for each attribute. If Att1 is expected to be an Paws::EKS::Nodegroup object:
52  
53 $result = $service_obj->Method(...);
54 $result->Att1->AmiType
55  
56 =head1 DESCRIPTION
57  
58 An object representing an Amazon EKS managed node group.
59  
60 =head1 ATTRIBUTES
61  
62  
63 =head2 AmiType => Str
64  
65 If the node group was deployed using a launch template with a custom
66 AMI, then this is C<CUSTOM>. For node groups that weren't deployed
67 using a launch template, this is the AMI type that was specified in the
68 node group configuration.
69  
70  
71 =head2 CapacityType => Str
72  
73 The capacity type of your managed node group.
74  
75  
76 =head2 ClusterName => Str
77  
78 The name of the cluster that the managed node group resides in.
79  
80  
81 =head2 CreatedAt => Str
82  
83 The Unix epoch timestamp in seconds for when the managed node group was
84 created.
85  
86  
87 =head2 DiskSize => Int
88  
89 If the node group wasn't deployed with a launch template, then this is
90 the disk size in the node group configuration. If the node group was
91 deployed with a launch template, then this is C<null>.
92  
93  
94 =head2 Health => L<Paws::EKS::NodegroupHealth>
95  
96 The health status of the node group. If there are issues with your node
97 group's health, they are listed here.
98  
99  
100 =head2 InstanceTypes => ArrayRef[Str|Undef]
101  
102 If the node group wasn't deployed with a launch template, then this is
103 the instance type that is associated with the node group. If the node
104 group was deployed with a launch template, then this is C<null>.
105  
106  
107 =head2 Labels => L<Paws::EKS::LabelsMap>
108  
109 The Kubernetes labels applied to the nodes in the node group.
110  
111 Only labels that are applied with the Amazon EKS API are shown here.
112 There may be other Kubernetes labels applied to the nodes in this
113 group.
114  
115  
116 =head2 LaunchTemplate => L<Paws::EKS::LaunchTemplateSpecification>
117  
118 If a launch template was used to create the node group, then this is
119 the launch template that was used.
120  
121  
122 =head2 ModifiedAt => Str
123  
124 The Unix epoch timestamp in seconds for when the managed node group was
125 last modified.
126  
127  
128 =head2 NodegroupArn => Str
129  
130 The Amazon Resource Name (ARN) associated with the managed node group.
131  
132  
133 =head2 NodegroupName => Str
134  
135 The name associated with an Amazon EKS managed node group.
136  
137  
138 =head2 NodeRole => Str
139  
140 The IAM role associated with your node group. The Amazon EKS node
141 C<kubelet> daemon makes calls to AWS APIs on your behalf. Nodes receive
142 permissions for these API calls through an IAM instance profile and
143 associated policies.
144  
145  
146 =head2 ReleaseVersion => Str
147  
148 If the node group was deployed using a launch template with a custom
149 AMI, then this is the AMI ID that was specified in the launch template.
150 For node groups that weren't deployed using a launch template, this is
151 the version of the Amazon EKS optimized AMI that the node group was
152 deployed with.
153  
154  
155 =head2 RemoteAccess => L<Paws::EKS::RemoteAccessConfig>
156  
157 If the node group wasn't deployed with a launch template, then this is
158 the remote access configuration that is associated with the node group.
159 If the node group was deployed with a launch template, then this is
160 C<null>.
161  
162  
163 =head2 Resources => L<Paws::EKS::NodegroupResources>
164  
165 The resources associated with the node group, such as Auto Scaling
166 groups and security groups for remote access.
167  
168  
169 =head2 ScalingConfig => L<Paws::EKS::NodegroupScalingConfig>
170  
171 The scaling configuration details for the Auto Scaling group that is
172 associated with your node group.
173  
174  
175 =head2 Status => Str
176  
177 The current status of the managed node group.
178  
179  
180 =head2 Subnets => ArrayRef[Str|Undef]
181  
182 The subnets that were specified for the Auto Scaling group that is
183 associated with your node group.
184  
185  
186 =head2 Tags => L<Paws::EKS::TagMap>
187  
188 The metadata applied to the node group to assist with categorization
189 and organization. Each tag consists of a key and an optional value,
190 both of which you define. Node group tags do not propagate to any other
191 resources associated with the node group, such as the Amazon EC2
192 instances or subnets.
193  
194  
195 =head2 Taints => ArrayRef[L<Paws::EKS::Taint>]
196  
197 The Kubernetes taints to be applied to the nodes in the node group when
198 they are created. Effect is one of C<NoSchedule>, C<PreferNoSchedule>,
199 or C<NoExecute>. Kubernetes taints can be used together with
200 tolerations to control how workloads are scheduled to your nodes.
201  
202  
203 =head2 UpdateConfig => L<Paws::EKS::NodegroupUpdateConfig>
204  
205  
206  
207  
208 =head2 Version => Str
209  
210 The Kubernetes version of the managed node group.
211  
212  
213  
214 =head1 SEE ALSO
215  
216 This class forms part of L<Paws>, describing an object used in L<Paws::EKS>
217  
218 =head1 BUGS and CONTRIBUTIONS
219  
220 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
221  
222 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
223  
224 =cut
225