You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing DeleteServiceRequest as input to an Aws::Client method, you can use a vanilla Hash:

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

Instance Attribute Summary collapse

Instance Attribute Details

#clusterString

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)

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

#forceBoolean

If true, allows you to delete a service even if it has not been scaled down to zero tasks. It is only necessary to use this if the service is using the REPLICA scheduling strategy.

Returns:

  • (Boolean)

    If true, allows you to delete a service even if it has not been scaled down to zero tasks.

#serviceString

The name of the service to delete.

Returns:

  • (String)

    The name of the service to delete.