Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

delete_vpc_ingress_connection

delete_vpc_ingress_connection(**kwargs)

Delete an App Runner VPC Ingress Connection resource that's associated with an App Runner service. The VPC Ingress Connection must be in one of the following states to be deleted:

  • AVAILABLE
  • FAILED_CREATION
  • FAILED_UPDATE
  • FAILED_DELETION

See also: AWS API Documentation

Request Syntax

response = client.delete_vpc_ingress_connection(
    VpcIngressConnectionArn='string'
)
Parameters
VpcIngressConnectionArn (string) --

[REQUIRED]

The Amazon Resource Name (ARN) of the App Runner VPC Ingress Connection that you want to delete.

Return type
dict
Returns
Response Syntax
{
    'VpcIngressConnection': {
        'VpcIngressConnectionArn': 'string',
        'VpcIngressConnectionName': 'string',
        'ServiceArn': 'string',
        'Status': 'AVAILABLE'|'PENDING_CREATION'|'PENDING_UPDATE'|'PENDING_DELETION'|'FAILED_CREATION'|'FAILED_UPDATE'|'FAILED_DELETION'|'DELETED',
        'AccountId': 'string',
        'DomainName': 'string',
        'IngressVpcConfiguration': {
            'VpcId': 'string',
            'VpcEndpointId': 'string'
        },
        'CreatedAt': datetime(2015, 1, 1),
        'DeletedAt': datetime(2015, 1, 1)
    }
}

Response Structure

  • (dict) --
    • VpcIngressConnection (dict) --

      A description of the App Runner VPC Ingress Connection that this request just deleted.

      • VpcIngressConnectionArn (string) --

        The Amazon Resource Name (ARN) of the VPC Ingress Connection.

      • VpcIngressConnectionName (string) --

        The customer-provided VPC Ingress Connection name.

      • ServiceArn (string) --

        The Amazon Resource Name (ARN) of the service associated with the VPC Ingress Connection.

      • Status (string) --

        The current status of the VPC Ingress Connection. The VPC Ingress Connection displays one of the following statuses: AVAILABLE , PENDING_CREATION , PENDING_UPDATE , PENDING_DELETION , FAILED_CREATION , FAILED_UPDATE , FAILED_DELETION , and DELETED ..

      • AccountId (string) --

        The Account Id you use to create the VPC Ingress Connection resource.

      • DomainName (string) --

        The domain name associated with the VPC Ingress Connection resource.

      • IngressVpcConfiguration (dict) --

        Specifications for the customer’s VPC and related PrivateLink VPC endpoint that are used to associate with the VPC Ingress Connection resource.

        • VpcId (string) --

          The ID of the VPC that is used for the VPC endpoint.

        • VpcEndpointId (string) --

          The ID of the VPC endpoint that your App Runner service connects to.

      • CreatedAt (datetime) --

        The time when the VPC Ingress Connection was created. It's in the Unix time stamp format.

        • Type: Timestamp
        • Required: Yes
      • DeletedAt (datetime) --

        The time when the App Runner service was deleted. It's in the Unix time stamp format.

        • Type: Timestamp
        • Required: No

Exceptions

  • AppRunner.Client.exceptions.InvalidRequestException
  • AppRunner.Client.exceptions.InternalServiceErrorException
  • AppRunner.Client.exceptions.ResourceNotFoundException
  • AppRunner.Client.exceptions.InvalidStateException