« blib/lib/Paws/ECS/AutoScalingGroupProvider.pm
↑ Summary
blib/lib/Paws/ECS/AwsVpcConfiguration.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::ECS::AutoScalingGroupProviderUpdate; | ||
| 3 | use Moose; | ||
| 4 | has ManagedScaling => (is => 'ro', isa => 'Paws::ECS::ManagedScaling', request_name => 'managedScaling', traits => ['NameInRequest']); | ||
| 5 | has ManagedTerminationProtection => (is => 'ro', isa => 'Str', request_name => 'managedTerminationProtection', traits => ['NameInRequest']); | ||
| 6 | |||
| 7 | 1; | ||
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::ECS::AutoScalingGroupProviderUpdate | ||
| 14 | |||
| 15 | =head1 USAGE | ||
| 16 | |||
| 17 | This class represents one of two things: | ||
| 18 | |||
| 19 | =head3 Arguments in a call to a service | ||
| 20 | |||
| 21 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 22 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 23 | |||
| 24 | As an example, if Att1 is expected to be a Paws::ECS::AutoScalingGroupProviderUpdate object: | ||
| 25 | |||
| 26 | $service_obj->Method(Att1 => { ManagedScaling => $value, ..., ManagedTerminationProtection => $value }); | ||
| 27 | |||
| 28 | =head3 Results returned from an API call | ||
| 29 | |||
| 30 | Use accessors for each attribute. If Att1 is expected to be an Paws::ECS::AutoScalingGroupProviderUpdate object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->ManagedScaling | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | The details of the Auto Scaling group capacity provider to update. | ||
| 38 | |||
| 39 | =head1 ATTRIBUTES | ||
| 40 | |||
| 41 | |||
| 42 | =head2 ManagedScaling => L<Paws::ECS::ManagedScaling> | ||
| 43 | |||
| 44 | The managed scaling settings for the Auto Scaling group capacity | ||
| 45 | provider. | ||
| 46 | |||
| 47 | |||
| 48 | =head2 ManagedTerminationProtection => Str | ||
| 49 | |||
| 50 | The managed termination protection setting to use for the Auto Scaling | ||
| 51 | group capacity provider. This determines whether the Auto Scaling group | ||
| 52 | has managed termination protection. | ||
| 53 | |||
| 54 | When using managed termination protection, managed scaling must also be | ||
| 55 | used otherwise managed termination protection will not work. | ||
| 56 | |||
| 57 | When managed termination protection is enabled, Amazon ECS prevents the | ||
| 58 | Amazon EC2 instances in an Auto Scaling group that contain tasks from | ||
| 59 | being terminated during a scale-in action. The Auto Scaling group and | ||
| 60 | each instance in the Auto Scaling group must have instance protection | ||
| 61 | from scale-in actions enabled as well. For more information, see | ||
| 62 | Instance Protection | ||
| 63 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection) | ||
| 64 | in the I<AWS Auto Scaling User Guide>. | ||
| 65 | |||
| 66 | When managed termination protection is disabled, your Amazon EC2 | ||
| 67 | instances are not protected from termination when the Auto Scaling | ||
| 68 | group scales in. | ||
| 69 | |||
| 70 | |||
| 71 | |||
| 72 | =head1 SEE ALSO | ||
| 73 | |||
| 74 | This class forms part of L<Paws>, describing an object used in L<Paws::ECS> | ||
| 75 | |||
| 76 | =head1 BUGS and CONTRIBUTIONS | ||
| 77 | |||
| 78 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 79 | |||
| 80 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 81 | |||
| 82 | =cut | ||
| 83 |