Skip to content

DeleteServiceRequest

Source code in docs_src/capo_ecs/types/delete_service_request.py
class DeleteServiceRequest(TypedDict, closed=True):
    cluster: NotRequired["capo_ecs.types.string.String"]
    """<p>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.</p>"""
    service: "capo_ecs.types.string.String"
    """<p>The name of the service to delete.</p>"""
    force: NotRequired["capo_ecs.types.boxed_boolean.BoxedBoolean"]
    """<p>If <code>true</code>, 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 <code>REPLICA</code> scheduling strategy.</p>"""

cluster instance-attribute

cluster: NotRequired[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 instance-attribute

force: NotRequired[BoxedBoolean]

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.

service instance-attribute

service: String

The name of the service to delete.