Class AWS::AutoScaling::ScalingPolicy
In: lib/aws/auto_scaling/scaling_policy.rb
Parent: Core::Resource

@attr_reader [String] arn

@attr_reader [String] adjustment_type

@attr_reader [Integer] scaling_adjustment

@attr_reader [Hash] alarms Returns a hash of alarms names (keys)

  to alarm ARNs (values).

@attr_reader [Integer] cooldown

@attr_reader [Integer] min_adjustment_step

Methods

Included Modules

ScalingPolicyOptions

External Aliases

group -> auto_scaling_group

Attributes

group  [R]  @return [Group]
name  [R]  @return [String]

Public Class methods

Public Instance methods

Deletes this scaling policy. @return [nil]

Runs this policy against it‘s Auto Scaling group.

@param [Hash] options

@option options [Boolean] :honor_cooldown (false) Set to true if you

  want Auto Scaling to reject this request when the Auto Scaling
  group is in cooldown.

@raise [Errors::ScalingActivityInProgress]

@return [nil]

@return [Boolean] Returns true if the policy exists.

put(options = {})

Alias for update

Updates this scaling policy. @param (see ScalingPolicyOptions#scaling_policy_options) @option (see ScalingPolicyOptions#scaling_policy_options) @return [nil]

Protected Instance methods

[Validate]