AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::ECS::Types::DeleteTaskSetRequest

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 DeleteTaskSetRequest data as a hash:

{
  cluster: "String", # required
  service: "String", # required
  task_set: "String", # required
  force: false,
}

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 to delete.

Returns:

  • (String)


3502
3503
3504
3505
3506
3507
3508
3509
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 3502

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

#forceBoolean

If true, this allows you to delete a task set even if it hasn't been scaled down to zero.

Returns:

  • (Boolean)


3502
3503
3504
3505
3506
3507
3508
3509
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 3502

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

#serviceString

The short name or full Amazon Resource Name (ARN) of the service that hosts the task set to delete.

Returns:

  • (String)


3502
3503
3504
3505
3506
3507
3508
3509
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 3502

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

#task_setString

The task set ID or full Amazon Resource Name (ARN) of the task set to delete.

Returns:

  • (String)


3502
3503
3504
3505
3506
3507
3508
3509
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 3502

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