blib/lib/Paws/AutoScaling/AutoScalingInstanceDetails.pm

filter: Statementstmt 100% 14 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 15 / 15 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/lib/Paws/AutoScaling/AutoScalingGroupsType.pm ↑ Summary blib/lib/Paws/AutoScaling/AutoScalingInstancesType.pm »
1 # Generated by default/object.tt
2 package Paws::AutoScaling::AutoScalingInstanceDetails;
3 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 has AutoScalingGroupName => (is => 'ro', isa => 'Str', required => 1);
5 1 has AvailabilityZone => (is => 'ro', isa => 'Str', required => 1);
6 1 has HealthStatus => (is => 'ro', isa => 'Str', required => 1);
7 1 has InstanceId => (is => 'ro', isa => 'Str', required => 1);
8 1 has InstanceType => (is => 'ro', isa => 'Str');
9 1 has LaunchConfigurationName => (is => 'ro', isa => 'Str');
10 1 has LaunchTemplate => (is => 'ro', isa => 'Paws::AutoScaling::LaunchTemplateSpecification');
11 1 has LifecycleState => (is => 'ro', isa => 'Str', required => 1);
12 1 has ProtectedFromScaleIn => (is => 'ro', isa => 'Bool', required => 1);
13 1 has WeightedCapacity => (is => 'ro', isa => 'Str');
14  
15 1 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::AutoScaling::AutoScalingInstanceDetails
22  
23 =head1 USAGE
24  
25 This class represents one of two things:
26  
27 =head3 Arguments in a call to a service
28  
29 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
30 Each attribute should be used as a named argument in the calls that expect this type of object.
31  
32 As an example, if Att1 is expected to be a Paws::AutoScaling::AutoScalingInstanceDetails object:
33  
34 $service_obj->Method(Att1 => { AutoScalingGroupName => $value, ..., WeightedCapacity => $value });
35  
36 =head3 Results returned from an API call
37  
38 Use accessors for each attribute. If Att1 is expected to be an Paws::AutoScaling::AutoScalingInstanceDetails object:
39  
40 $result = $service_obj->Method(...);
41 $result->Att1->AutoScalingGroupName
42  
43 =head1 DESCRIPTION
44  
45 Describes an EC2 instance associated with an Auto Scaling group.
46  
47 =head1 ATTRIBUTES
48  
49  
50 =head2 B<REQUIRED> AutoScalingGroupName => Str
51  
52 The name of the Auto Scaling group for the instance.
53  
54  
55 =head2 B<REQUIRED> AvailabilityZone => Str
56  
57 The Availability Zone for the instance.
58  
59  
60 =head2 B<REQUIRED> HealthStatus => Str
61  
62 The last reported health status of this instance. "Healthy" means that
63 the instance is healthy and should remain in service. "Unhealthy" means
64 that the instance is unhealthy and Amazon EC2 Auto Scaling should
65 terminate and replace it.
66  
67  
68 =head2 B<REQUIRED> InstanceId => Str
69  
70 The ID of the instance.
71  
72  
73 =head2 InstanceType => Str
74  
75 The instance type of the EC2 instance.
76  
77  
78 =head2 LaunchConfigurationName => Str
79  
80 The launch configuration used to launch the instance. This value is not
81 available if you attached the instance to the Auto Scaling group.
82  
83  
84 =head2 LaunchTemplate => L<Paws::AutoScaling::LaunchTemplateSpecification>
85  
86 The launch template for the instance.
87  
88  
89 =head2 B<REQUIRED> LifecycleState => Str
90  
91 The lifecycle state for the instance. The C<Quarantined> state is not
92 used. For information about lifecycle states, see Instance lifecycle
93 (https://docs.aws.amazon.com/autoscaling/ec2/userguide/AutoScalingGroupLifecycle.html)
94 in the I<Amazon EC2 Auto Scaling User Guide>.
95  
96 Valid Values: C<Pending> | C<Pending:Wait> | C<Pending:Proceed> |
97 C<Quarantined> | C<InService> | C<Terminating> | C<Terminating:Wait> |
98 C<Terminating:Proceed> | C<Terminated> | C<Detaching> | C<Detached> |
99 C<EnteringStandby> | C<Standby> | C<Warmed:Pending> |
100 C<Warmed:Pending:Wait> | C<Warmed:Pending:Proceed> |
101 C<Warmed:Terminating> | C<Warmed:Terminating:Wait> |
102 C<Warmed:Terminating:Proceed> | C<Warmed:Terminated> |
103 C<Warmed:Stopped> | C<Warmed:Running>
104  
105  
106 =head2 B<REQUIRED> ProtectedFromScaleIn => Bool
107  
108 Indicates whether the instance is protected from termination by Amazon
109 EC2 Auto Scaling when scaling in.
110  
111  
112 =head2 WeightedCapacity => Str
113  
114 The number of capacity units contributed by the instance based on its
115 instance type.
116  
117 Valid Range: Minimum value of 1. Maximum value of 999.
118  
119  
120  
121 =head1 SEE ALSO
122  
123 This class forms part of L<Paws>, describing an object used in L<Paws::AutoScaling>
124  
125 =head1 BUGS and CONTRIBUTIONS
126  
127 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
128  
129 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
130  
131 =cut
132  
« blib/lib/Paws/AutoScaling/AutoScalingGroupsType.pm ↑ Summary blib/lib/Paws/AutoScaling/AutoScalingInstancesType.pm »