You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::AutoScalingPlans::Types::ScalingPolicy

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-autoscalingplans/lib/aws-sdk-autoscalingplans/types.rb

Overview

Represents a scaling policy.

Instance Attribute Summary collapse

Instance Attribute Details

#policy_nameString

The name of the scaling policy.

Returns:

  • (String)


672
673
674
675
676
677
# File 'gems/aws-sdk-autoscalingplans/lib/aws-sdk-autoscalingplans/types.rb', line 672

class ScalingPolicy < Struct.new(
  :policy_name,
  :policy_type,
  :target_tracking_configuration)
  include Aws::Structure
end

#policy_typeString

The type of scaling policy.

Returns:

  • (String)


672
673
674
675
676
677
# File 'gems/aws-sdk-autoscalingplans/lib/aws-sdk-autoscalingplans/types.rb', line 672

class ScalingPolicy < Struct.new(
  :policy_name,
  :policy_type,
  :target_tracking_configuration)
  include Aws::Structure
end

#target_tracking_configurationTypes::TargetTrackingConfiguration

The target tracking scaling policy.



672
673
674
675
676
677
# File 'gems/aws-sdk-autoscalingplans/lib/aws-sdk-autoscalingplans/types.rb', line 672

class ScalingPolicy < Struct.new(
  :policy_name,
  :policy_type,
  :target_tracking_configuration)
  include Aws::Structure
end