NetworkFirewall / Client / delete_container_association

delete_container_association

NetworkFirewall.Client.delete_container_association(**kwargs)

Deletes the specified container association. When you delete a container association, Network Firewall stops monitoring the associated container clusters and removes the resolved IP addresses from firewall rules.

See also: AWS API Documentation

Request Syntax

response = client.delete_container_association(
    ContainerAssociationName='string',
    ContainerAssociationArn='string'
)
Parameters:
  • ContainerAssociationName (string) – The descriptive name of the container association. You must specify the ARN or the name, and you can specify both.

  • ContainerAssociationArn (string) – The Amazon Resource Name (ARN) of the container association. You must specify the ARN or the name, and you can specify both.

Return type:

dict

Returns:

Response Syntax

{
    'ContainerAssociationName': 'string',
    'ContainerAssociationArn': 'string',
    'Status': 'ACTIVE'|'CREATING'|'DELETING'
}

Response Structure

  • (dict) –

    • ContainerAssociationName (string) –

      The descriptive name of the container association.

    • ContainerAssociationArn (string) –

      The Amazon Resource Name (ARN) of the container association.

    • Status (string) –

      The current status of the container association.

Exceptions