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
- Struct
- Aws::ECS::Types::DeleteServiceRequest
 
- Defined in:
- (unknown)
Overview
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
- 
  
    
      #cluster  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to delete. 
- 
  
    
      #force  ⇒ Boolean 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    If true, allows you to delete a service even if it has not been scaled down to zero tasks.
- 
  
    
      #service  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The name of the service to delete. 
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.
#force ⇒ Boolean
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.
#service ⇒ String
The name of the service to delete.