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)


1276
1277
1278
1279
1280
1281
1282
# File 'gems/aws-sdk-autoscalingplans/lib/aws-sdk-autoscalingplans/types.rb', line 1276

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)


1276
1277
1278
1279
1280
1281
1282
# File 'gems/aws-sdk-autoscalingplans/lib/aws-sdk-autoscalingplans/types.rb', line 1276

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.



1276
1277
1278
1279
1280
1281
1282
# File 'gems/aws-sdk-autoscalingplans/lib/aws-sdk-autoscalingplans/types.rb', line 1276

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