« blib/lib/Paws/DynamoDB/AutoScalingSettingsUpdate.pm
↑ Summary
blib/lib/Paws/DynamoDB/AutoScalingTargetTrackingScalingPolicyConfigurationUpdate.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::DynamoDB::AutoScalingTargetTrackingScalingPolicyConfigurationDescription; | ||
| 3 | use Moose; | ||
| 4 | has DisableScaleIn => (is => 'ro', isa => 'Bool'); | ||
| 5 | has ScaleInCooldown => (is => 'ro', isa => 'Int'); | ||
| 6 | has ScaleOutCooldown => (is => 'ro', isa => 'Int'); | ||
| 7 | has TargetValue => (is => 'ro', isa => 'Num', required => 1); | ||
| 8 | |||
| 9 | 1; | ||
| 10 | |||
| 11 | ### main pod documentation begin ### | ||
| 12 | |||
| 13 | =head1 NAME | ||
| 14 | |||
| 15 | Paws::DynamoDB::AutoScalingTargetTrackingScalingPolicyConfigurationDescription | ||
| 16 | |||
| 17 | =head1 USAGE | ||
| 18 | |||
| 19 | This class represents one of two things: | ||
| 20 | |||
| 21 | =head3 Arguments in a call to a service | ||
| 22 | |||
| 23 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 24 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 25 | |||
| 26 | As an example, if Att1 is expected to be a Paws::DynamoDB::AutoScalingTargetTrackingScalingPolicyConfigurationDescription object: | ||
| 27 | |||
| 28 | $service_obj->Method(Att1 => { DisableScaleIn => $value, ..., TargetValue => $value }); | ||
| 29 | |||
| 30 | =head3 Results returned from an API call | ||
| 31 | |||
| 32 | Use accessors for each attribute. If Att1 is expected to be an Paws::DynamoDB::AutoScalingTargetTrackingScalingPolicyConfigurationDescription object: | ||
| 33 | |||
| 34 | $result = $service_obj->Method(...); | ||
| 35 | $result->Att1->DisableScaleIn | ||
| 36 | |||
| 37 | =head1 DESCRIPTION | ||
| 38 | |||
| 39 | Represents the properties of a target tracking scaling policy. | ||
| 40 | |||
| 41 | =head1 ATTRIBUTES | ||
| 42 | |||
| 43 | |||
| 44 | =head2 DisableScaleIn => Bool | ||
| 45 | |||
| 46 | Indicates whether scale in by the target tracking policy is disabled. | ||
| 47 | If the value is true, scale in is disabled and the target tracking | ||
| 48 | policy won't remove capacity from the scalable resource. Otherwise, | ||
| 49 | scale in is enabled and the target tracking policy can remove capacity | ||
| 50 | from the scalable resource. The default value is false. | ||
| 51 | |||
| 52 | |||
| 53 | =head2 ScaleInCooldown => Int | ||
| 54 | |||
| 55 | The amount of time, in seconds, after a scale in activity completes | ||
| 56 | before another scale in activity can start. The cooldown period is used | ||
| 57 | to block subsequent scale in requests until it has expired. You should | ||
| 58 | scale in conservatively to protect your application's availability. | ||
| 59 | However, if another alarm triggers a scale out policy during the | ||
| 60 | cooldown period after a scale-in, application auto scaling scales out | ||
| 61 | your scalable target immediately. | ||
| 62 | |||
| 63 | |||
| 64 | =head2 ScaleOutCooldown => Int | ||
| 65 | |||
| 66 | The amount of time, in seconds, after a scale out activity completes | ||
| 67 | before another scale out activity can start. While the cooldown period | ||
| 68 | is in effect, the capacity that has been added by the previous scale | ||
| 69 | out event that initiated the cooldown is calculated as part of the | ||
| 70 | desired capacity for the next scale out. You should continuously (but | ||
| 71 | not excessively) scale out. | ||
| 72 | |||
| 73 | |||
| 74 | =head2 B<REQUIRED> TargetValue => Num | ||
| 75 | |||
| 76 | The target value for the metric. The range is 8.515920e-109 to | ||
| 77 | 1.174271e+108 (Base 10) or 2e-360 to 2e360 (Base 2). | ||
| 78 | |||
| 79 | |||
| 80 | |||
| 81 | =head1 SEE ALSO | ||
| 82 | |||
| 83 | This class forms part of L<Paws>, describing an object used in L<Paws::DynamoDB> | ||
| 84 | |||
| 85 | =head1 BUGS and CONTRIBUTIONS | ||
| 86 | |||
| 87 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 88 | |||
| 89 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 90 | |||
| 91 | =cut | ||
| 92 |