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

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 autoscaling policy to be modified.

Instance Attribute Summary collapse

Instance Attribute Details

#policy_nameString

The name of the scaling policy.

Returns:

  • (String)


325
326
327
328
329
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 325

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

#target_tracking_scaling_policy_configurationTypes::AutoScalingTargetTrackingScalingPolicyConfigurationUpdate

Represents a target tracking scaling policy configuration.



325
326
327
328
329
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 325

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