Class: Aws::ECS::Types::UpdateTaskSetRequest

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

Overview

Note:

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

{
  cluster: "String", # required
  service: "String", # required
  task_set: "String", # required
  scale: { # required
    value: 1.0,
    unit: "PERCENT", # accepts PERCENT
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#clusterString

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task set exists in.

Returns:

  • (String)


10812
10813
10814
10815
10816
10817
10818
10819
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10812

class UpdateTaskSetRequest < Struct.new(
  :cluster,
  :service,
  :task_set,
  :scale)
  SENSITIVE = []
  include Aws::Structure
end

#scaleTypes::Scale

A floating-point percentage of the desired number of tasks to place and keep running in the task set.

Returns:



10812
10813
10814
10815
10816
10817
10818
10819
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10812

class UpdateTaskSetRequest < Struct.new(
  :cluster,
  :service,
  :task_set,
  :scale)
  SENSITIVE = []
  include Aws::Structure
end

#serviceString

The short name or full Amazon Resource Name (ARN) of the service that the task set exists in.

Returns:

  • (String)


10812
10813
10814
10815
10816
10817
10818
10819
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10812

class UpdateTaskSetRequest < Struct.new(
  :cluster,
  :service,
  :task_set,
  :scale)
  SENSITIVE = []
  include Aws::Structure
end

#task_setString

The short name or full Amazon Resource Name (ARN) of the task set to update.

Returns:

  • (String)


10812
10813
10814
10815
10816
10817
10818
10819
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10812

class UpdateTaskSetRequest < Struct.new(
  :cluster,
  :service,
  :task_set,
  :scale)
  SENSITIVE = []
  include Aws::Structure
end