« blib/lib/Paws/AutoScaling/AttachInstances.pm
↑ Summary
blib/lib/Paws/AutoScaling/AutoScalingGroupsType.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::AutoScaling::AutoScalingGroup; | ||
| 3 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | has AutoScalingGroupARN => (is => 'ro', isa => 'Str'); | |
| 5 | 1 | has AutoScalingGroupName => (is => 'ro', isa => 'Str', required => 1); | |
| 6 | 1 | has AvailabilityZones => (is => 'ro', isa => 'ArrayRef[Str|Undef]', required => 1); | |
| 7 | 1 | has CapacityRebalance => (is => 'ro', isa => 'Bool'); | |
| 8 | 1 | has Context => (is => 'ro', isa => 'Str'); | |
| 9 | 1 | has CreatedTime => (is => 'ro', isa => 'Str', required => 1); | |
| 10 | 1 | has DefaultCooldown => (is => 'ro', isa => 'Int', required => 1); | |
| 11 | 1 | has DesiredCapacity => (is => 'ro', isa => 'Int', required => 1); | |
| 12 | 1 | has EnabledMetrics => (is => 'ro', isa => 'ArrayRef[Paws::AutoScaling::EnabledMetric]'); | |
| 13 | 1 | has HealthCheckGracePeriod => (is => 'ro', isa => 'Int'); | |
| 14 | 1 | has HealthCheckType => (is => 'ro', isa => 'Str', required => 1); | |
| 15 | 1 | has Instances => (is => 'ro', isa => 'ArrayRef[Paws::AutoScaling::Instance]'); | |
| 16 | 1 | has LaunchConfigurationName => (is => 'ro', isa => 'Str'); | |
| 17 | 1 | has LaunchTemplate => (is => 'ro', isa => 'Paws::AutoScaling::LaunchTemplateSpecification'); | |
| 18 | 1 | has LoadBalancerNames => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); | |
| 19 | 1 | has MaxInstanceLifetime => (is => 'ro', isa => 'Int'); | |
| 20 | 1 | has MaxSize => (is => 'ro', isa => 'Int', required => 1); | |
| 21 | 1 | has MinSize => (is => 'ro', isa => 'Int', required => 1); | |
| 22 | 1 | has MixedInstancesPolicy => (is => 'ro', isa => 'Paws::AutoScaling::MixedInstancesPolicy'); | |
| 23 | 1 | has NewInstancesProtectedFromScaleIn => (is => 'ro', isa => 'Bool'); | |
| 24 | 1 | has PlacementGroup => (is => 'ro', isa => 'Str'); | |
| 25 | 1 | has PredictedCapacity => (is => 'ro', isa => 'Int'); | |
| 26 | 1 | has ServiceLinkedRoleARN => (is => 'ro', isa => 'Str'); | |
| 27 | 1 | has Status => (is => 'ro', isa => 'Str'); | |
| 28 | 1 | has SuspendedProcesses => (is => 'ro', isa => 'ArrayRef[Paws::AutoScaling::SuspendedProcess]'); | |
| 29 | 1 | has Tags => (is => 'ro', isa => 'ArrayRef[Paws::AutoScaling::TagDescription]'); | |
| 30 | 1 | has TargetGroupARNs => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); | |
| 31 | 1 | has TerminationPolicies => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); | |
| 32 | 1 | has VPCZoneIdentifier => (is => 'ro', isa => 'Str'); | |
| 33 | 1 | has WarmPoolConfiguration => (is => 'ro', isa => 'Paws::AutoScaling::WarmPoolConfiguration'); | |
| 34 | 1 | has WarmPoolSize => (is => 'ro', isa => 'Int'); | |
| 35 | |||
| 36 | 1 | 1; | |
| 37 | |||
| 38 | ### main pod documentation begin ### | ||
| 39 | |||
| 40 | =head1 NAME | ||
| 41 | |||
| 42 | Paws::AutoScaling::AutoScalingGroup | ||
| 43 | |||
| 44 | =head1 USAGE | ||
| 45 | |||
| 46 | This class represents one of two things: | ||
| 47 | |||
| 48 | =head3 Arguments in a call to a service | ||
| 49 | |||
| 50 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 51 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 52 | |||
| 53 | As an example, if Att1 is expected to be a Paws::AutoScaling::AutoScalingGroup object: | ||
| 54 | |||
| 55 | $service_obj->Method(Att1 => { AutoScalingGroupARN => $value, ..., WarmPoolSize => $value }); | ||
| 56 | |||
| 57 | =head3 Results returned from an API call | ||
| 58 | |||
| 59 | Use accessors for each attribute. If Att1 is expected to be an Paws::AutoScaling::AutoScalingGroup object: | ||
| 60 | |||
| 61 | $result = $service_obj->Method(...); | ||
| 62 | $result->Att1->AutoScalingGroupARN | ||
| 63 | |||
| 64 | =head1 DESCRIPTION | ||
| 65 | |||
| 66 | Describes an Auto Scaling group. | ||
| 67 | |||
| 68 | =head1 ATTRIBUTES | ||
| 69 | |||
| 70 | |||
| 71 | =head2 AutoScalingGroupARN => Str | ||
| 72 | |||
| 73 | The Amazon Resource Name (ARN) of the Auto Scaling group. | ||
| 74 | |||
| 75 | |||
| 76 | =head2 B<REQUIRED> AutoScalingGroupName => Str | ||
| 77 | |||
| 78 | The name of the Auto Scaling group. | ||
| 79 | |||
| 80 | |||
| 81 | =head2 B<REQUIRED> AvailabilityZones => ArrayRef[Str|Undef] | ||
| 82 | |||
| 83 | One or more Availability Zones for the group. | ||
| 84 | |||
| 85 | |||
| 86 | =head2 CapacityRebalance => Bool | ||
| 87 | |||
| 88 | Indicates whether Capacity Rebalancing is enabled. | ||
| 89 | |||
| 90 | |||
| 91 | =head2 Context => Str | ||
| 92 | |||
| 93 | Reserved. | ||
| 94 | |||
| 95 | |||
| 96 | =head2 B<REQUIRED> CreatedTime => Str | ||
| 97 | |||
| 98 | The date and time the group was created. | ||
| 99 | |||
| 100 | |||
| 101 | =head2 B<REQUIRED> DefaultCooldown => Int | ||
| 102 | |||
| 103 | The duration of the default cooldown period, in seconds. | ||
| 104 | |||
| 105 | |||
| 106 | =head2 B<REQUIRED> DesiredCapacity => Int | ||
| 107 | |||
| 108 | The desired size of the group. | ||
| 109 | |||
| 110 | |||
| 111 | =head2 EnabledMetrics => ArrayRef[L<Paws::AutoScaling::EnabledMetric>] | ||
| 112 | |||
| 113 | The metrics enabled for the group. | ||
| 114 | |||
| 115 | |||
| 116 | =head2 HealthCheckGracePeriod => Int | ||
| 117 | |||
| 118 | The amount of time, in seconds, that Amazon EC2 Auto Scaling waits | ||
| 119 | before checking the health status of an EC2 instance that has come into | ||
| 120 | service. | ||
| 121 | |||
| 122 | |||
| 123 | =head2 B<REQUIRED> HealthCheckType => Str | ||
| 124 | |||
| 125 | The service to use for the health checks. The valid values are C<EC2> | ||
| 126 | and C<ELB>. If you configure an Auto Scaling group to use C<ELB> health | ||
| 127 | checks, it considers the instance unhealthy if it fails either the EC2 | ||
| 128 | status checks or the load balancer health checks. | ||
| 129 | |||
| 130 | |||
| 131 | =head2 Instances => ArrayRef[L<Paws::AutoScaling::Instance>] | ||
| 132 | |||
| 133 | The EC2 instances associated with the group. | ||
| 134 | |||
| 135 | |||
| 136 | =head2 LaunchConfigurationName => Str | ||
| 137 | |||
| 138 | The name of the associated launch configuration. | ||
| 139 | |||
| 140 | |||
| 141 | =head2 LaunchTemplate => L<Paws::AutoScaling::LaunchTemplateSpecification> | ||
| 142 | |||
| 143 | The launch template for the group. | ||
| 144 | |||
| 145 | |||
| 146 | =head2 LoadBalancerNames => ArrayRef[Str|Undef] | ||
| 147 | |||
| 148 | One or more load balancers associated with the group. | ||
| 149 | |||
| 150 | |||
| 151 | =head2 MaxInstanceLifetime => Int | ||
| 152 | |||
| 153 | The maximum amount of time, in seconds, that an instance can be in | ||
| 154 | service. | ||
| 155 | |||
| 156 | Valid Range: Minimum value of 0. | ||
| 157 | |||
| 158 | |||
| 159 | =head2 B<REQUIRED> MaxSize => Int | ||
| 160 | |||
| 161 | The maximum size of the group. | ||
| 162 | |||
| 163 | |||
| 164 | =head2 B<REQUIRED> MinSize => Int | ||
| 165 | |||
| 166 | The minimum size of the group. | ||
| 167 | |||
| 168 | |||
| 169 | =head2 MixedInstancesPolicy => L<Paws::AutoScaling::MixedInstancesPolicy> | ||
| 170 | |||
| 171 | The mixed instances policy for the group. | ||
| 172 | |||
| 173 | |||
| 174 | =head2 NewInstancesProtectedFromScaleIn => Bool | ||
| 175 | |||
| 176 | Indicates whether newly launched instances are protected from | ||
| 177 | termination by Amazon EC2 Auto Scaling when scaling in. | ||
| 178 | |||
| 179 | |||
| 180 | =head2 PlacementGroup => Str | ||
| 181 | |||
| 182 | The name of the placement group into which to launch your instances, if | ||
| 183 | any. | ||
| 184 | |||
| 185 | |||
| 186 | =head2 PredictedCapacity => Int | ||
| 187 | |||
| 188 | The predicted capacity of the group when it has a predictive scaling | ||
| 189 | policy. | ||
| 190 | |||
| 191 | |||
| 192 | =head2 ServiceLinkedRoleARN => Str | ||
| 193 | |||
| 194 | The Amazon Resource Name (ARN) of the service-linked role that the Auto | ||
| 195 | Scaling group uses to call other Amazon Web Services on your behalf. | ||
| 196 | |||
| 197 | |||
| 198 | =head2 Status => Str | ||
| 199 | |||
| 200 | The current state of the group when the DeleteAutoScalingGroup | ||
| 201 | operation is in progress. | ||
| 202 | |||
| 203 | |||
| 204 | =head2 SuspendedProcesses => ArrayRef[L<Paws::AutoScaling::SuspendedProcess>] | ||
| 205 | |||
| 206 | The suspended processes associated with the group. | ||
| 207 | |||
| 208 | |||
| 209 | =head2 Tags => ArrayRef[L<Paws::AutoScaling::TagDescription>] | ||
| 210 | |||
| 211 | The tags for the group. | ||
| 212 | |||
| 213 | |||
| 214 | =head2 TargetGroupARNs => ArrayRef[Str|Undef] | ||
| 215 | |||
| 216 | The Amazon Resource Names (ARN) of the target groups for your load | ||
| 217 | balancer. | ||
| 218 | |||
| 219 | |||
| 220 | =head2 TerminationPolicies => ArrayRef[Str|Undef] | ||
| 221 | |||
| 222 | The termination policies for the group. | ||
| 223 | |||
| 224 | |||
| 225 | =head2 VPCZoneIdentifier => Str | ||
| 226 | |||
| 227 | One or more subnet IDs, if applicable, separated by commas. | ||
| 228 | |||
| 229 | |||
| 230 | =head2 WarmPoolConfiguration => L<Paws::AutoScaling::WarmPoolConfiguration> | ||
| 231 | |||
| 232 | The warm pool for the group. | ||
| 233 | |||
| 234 | |||
| 235 | =head2 WarmPoolSize => Int | ||
| 236 | |||
| 237 | The current size of the warm pool. | ||
| 238 | |||
| 239 | |||
| 240 | |||
| 241 | =head1 SEE ALSO | ||
| 242 | |||
| 243 | This class forms part of L<Paws>, describing an object used in L<Paws::AutoScaling> | ||
| 244 | |||
| 245 | =head1 BUGS and CONTRIBUTIONS | ||
| 246 | |||
| 247 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 248 | |||
| 249 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 250 | |||
| 251 | =cut | ||
| 252 | |||