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

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 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 is found in.

Returns:

  • (String)

12039
12040
12041
12042
12043
12044
12045
12046
# File 'lib/aws-sdk-ecs/types.rb', line 12039

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:


12039
12040
12041
12042
12043
12044
12045
12046
# File 'lib/aws-sdk-ecs/types.rb', line 12039

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 is found in.

Returns:

  • (String)

12039
12040
12041
12042
12043
12044
12045
12046
# File 'lib/aws-sdk-ecs/types.rb', line 12039

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)

12039
12040
12041
12042
12043
12044
12045
12046
# File 'lib/aws-sdk-ecs/types.rb', line 12039

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