Class: Aws::ECS::Types::DeleteServiceRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cluster ⇒ String

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to delete. If you do not specify a cluster, the default cluster is assumed.

Returns:

  • (String)


5436
5437
5438
5439
5440
5441
5442
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 5436

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

#force ⇒ Boolean

If true, allows you to delete a service even if it wasn't scaled down to zero tasks. It's only necessary to use this if the service uses the REPLICA scheduling strategy.

Returns:

  • (Boolean)


5436
5437
5438
5439
5440
5441
5442
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 5436

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

#service ⇒ String

The name of the service to delete.

Returns:

  • (String)


5436
5437
5438
5439
5440
5441
5442
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 5436

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