Class: Aws::DynamoDB::Types::AutoScalingPolicyUpdate

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

Overview

Note:

When making an API call, you may pass AutoScalingPolicyUpdate data as a hash:

{
  policy_name: "AutoScalingPolicyName",
  target_tracking_scaling_policy_configuration: { # required
    disable_scale_in: false,
    scale_in_cooldown: 1,
    scale_out_cooldown: 1,
    target_value: 1.0, # required
  },
}

Represents the auto scaling policy to be modified.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#policy_nameString

The name of the scaling policy.

Returns:

  • (String)


366
367
368
369
370
371
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 366

class AutoScalingPolicyUpdate < Struct.new(
  :policy_name,
  :target_tracking_scaling_policy_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#target_tracking_scaling_policy_configurationTypes::AutoScalingTargetTrackingScalingPolicyConfigurationUpdate

Represents a target tracking scaling policy configuration.



366
367
368
369
370
371
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 366

class AutoScalingPolicyUpdate < Struct.new(
  :policy_name,
  :target_tracking_scaling_policy_configuration)
  SENSITIVE = []
  include Aws::Structure
end