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)


1314
1315
1316
1317
1318
1319
1320
# File 'gems/aws-sdk-autoscalingplans/lib/aws-sdk-autoscalingplans/types.rb', line 1314

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)


1314
1315
1316
1317
1318
1319
1320
# File 'gems/aws-sdk-autoscalingplans/lib/aws-sdk-autoscalingplans/types.rb', line 1314

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.



1314
1315
1316
1317
1318
1319
1320
# File 'gems/aws-sdk-autoscalingplans/lib/aws-sdk-autoscalingplans/types.rb', line 1314

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