1VM::EC2::ScalingPolicy(U3s)er Contributed Perl DocumentatViMo:n:EC2::ScalingPolicy(3)
2
3
4

NAME

6       VM::EC2::ScalingPolicy - Object describing an AutoScaling Policy
7

SYNOPSIS

9         use VM::EC2;
10
11         $ec2  = VM::EC2->new(...);
12         @pols = $ec2->describe_policies();
13
14         $pol  = $pols[0];
15         $type = $pol->adjustment_type;
16

DESCRIPTION

18       This object represents an AutoScaling Policy. It's returned by
19       "VM::EC2-"describe_policies()>.
20

METHODS

22       These properties are supported:
23
24         adjustment_type          -- Specifies whether the ScalingAdjustment is an absolute number or a percentage of the current capacity. Valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity
25         alarms                   -- A list of CloudWatch Alarms related to the policy
26         auto_scaling_group_name  -- The name of the Auto Scaling group associated with this scaling policy
27         cooldown                 -- The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start
28         min_adjustment_step      -- Changes the DesiredCapacity of the Auto Scaling group by at least the specified number of instances
29         policy_arn               -- The Amazon Resource Name (ARN) of the policy
30         policy_name              -- The name of the scaling policy
31         scaling_adjustment       -- The number associated with the specified adjustment type. A positive value adds to the current capacity and a negative value removes from the current capacity
32         name                     -- Alias for policy_name
33

SEE ALSO

35       VM::EC2 VM::EC2::Generic
36

AUTHOR

38       Jose Luis Martinez
39
40
41
42perl v5.28.1                      2019-02-02         VM::EC2::ScalingPolicy(3)
Impressum