Class: Aws::ECS::Types::UpdateCapacityProviderRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ecs/types.rb

Overview

Note:

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

{
  name: "String", # required
  auto_scaling_group_provider: { # required
    managed_scaling: {
      status: "ENABLED", # accepts ENABLED, DISABLED
      target_capacity: 1,
      minimum_scaling_step_size: 1,
      maximum_scaling_step_size: 1,
      instance_warmup_period: 1,
    },
    managed_termination_protection: "ENABLED", # accepts ENABLED, DISABLED
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#auto_scaling_group_providerTypes::AutoScalingGroupProviderUpdate

An object that represent the parameters to update for the Auto Scaling group capacity provider.


11510
11511
11512
11513
11514
11515
# File 'lib/aws-sdk-ecs/types.rb', line 11510

class UpdateCapacityProviderRequest < Struct.new(
  :name,
  :auto_scaling_group_provider)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the capacity provider to update.

Returns:

  • (String)

11510
11511
11512
11513
11514
11515
# File 'lib/aws-sdk-ecs/types.rb', line 11510

class UpdateCapacityProviderRequest < Struct.new(
  :name,
  :auto_scaling_group_provider)
  SENSITIVE = []
  include Aws::Structure
end