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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#policy_nameString

The name of the scaling policy.

Returns:

  • (String)


1062
1063
1064
1065
1066
1067
1068
# File 'gems/aws-sdk-autoscalingplans/lib/aws-sdk-autoscalingplans/types.rb', line 1062

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

#policy_typeString

The type of scaling policy.

Returns:

  • (String)


1062
1063
1064
1065
1066
1067
1068
# File 'gems/aws-sdk-autoscalingplans/lib/aws-sdk-autoscalingplans/types.rb', line 1062

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

#target_tracking_configurationTypes::TargetTrackingConfiguration

The target tracking scaling policy. Includes support for predefined or customized metrics.



1062
1063
1064
1065
1066
1067
1068
# File 'gems/aws-sdk-autoscalingplans/lib/aws-sdk-autoscalingplans/types.rb', line 1062

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