Skip to main content

vpc_ingress_connections

Creates, updates, deletes, gets or lists a vpc_ingress_connections resource.

Overview

Namevpc_ingress_connections
TypeResource
Idaws.apprunner.vpc_ingress_connections

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
account_idstringThe Account Id you use to create the VPC Ingress Connection resource. (pattern: <code>[0-9]{12}</code>)
created_atstring (date-time)The time when the VPC Ingress Connection was created. It's in the Unix time stamp format. Type: Timestamp Required: Yes
deleted_atstring (date-time)The time when the App Runner service was deleted. It's in the Unix time stamp format. Type: Timestamp Required: No
domain_namestringThe domain name associated with the VPC Ingress Connection resource. (pattern: <code>[A-Za-z0-9*.-]{1,255}</code>)
ingress_vpc_configurationobjectSpecifications for the customer’s VPC and related PrivateLink VPC endpoint that are used to associate with the VPC Ingress Connection resource.
service_arnstringThe Amazon Resource Name (ARN) of the service associated with the VPC Ingress Connection. (pattern: <code>arn:aws(-[\w]+)*:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[0-9]{12}:(\w|/|-){1,1011}</code>)
statusstringThe 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.. (AVAILABLE, PENDING_CREATION, PENDING_UPDATE, PENDING_DELETION, FAILED_CREATION, FAILED_UPDATE, FAILED_DELETION, DELETED)
vpc_ingress_connection_arnstringThe Amazon Resource Name (ARN) of the VPC Ingress Connection. (pattern: <code>arn:aws(-[\w]+)*:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[0-9]{12}:(\w|/|-){1,1011}</code>)
vpc_ingress_connection_namestringThe customer-provided VPC Ingress Connection name. (pattern: <code>[A-Za-z0-9][A-Za-z0-9-_]{3,39}</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_vpc_ingress_connectionselectregionReturn a full description of an App Runner VPC Ingress Connection resource.
list_vpc_ingress_connectionsselectregionReturn a list of App Runner VPC Ingress Connections in your Amazon Web Services account.
create_vpc_ingress_connectioninsertregion, ServiceArn, VpcIngressConnectionName, IngressVpcConfigurationCreate an App Runner VPC Ingress Connection resource. App Runner requires this resource when you want to associate your App Runner service with an Amazon VPC endpoint.
update_vpc_ingress_connectionupdateregion, VpcIngressConnectionArn, IngressVpcConfigurationUpdate an existing App Runner VPC Ingress Connection resource. The VPC Ingress Connection must be in one of the following states to be updated: AVAILABLE FAILED_CREATION FAILED_UPDATE
delete_vpc_ingress_connectiondeleteregionDelete 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

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Return a full description of an App Runner VPC Ingress Connection resource.

SELECT
account_id,
created_at,
deleted_at,
domain_name,
ingress_vpc_configuration,
service_arn,
status,
vpc_ingress_connection_arn,
vpc_ingress_connection_name
FROM aws.apprunner.vpc_ingress_connections
WHERE region = '{{ region }}' -- required
;

INSERT examples

Create an App Runner VPC Ingress Connection resource. App Runner requires this resource when you want to associate your App Runner service with an Amazon VPC endpoint.

INSERT INTO aws.apprunner.vpc_ingress_connections (
ServiceArn,
VpcIngressConnectionName,
IngressVpcConfiguration,
Tags,
region
)
SELECT
'{{ ServiceArn }}' /* required */,
'{{ VpcIngressConnectionName }}' /* required */,
'{{ IngressVpcConfiguration }}' /* required */,
'{{ Tags }}',
'{{ region }}'
RETURNING
vpc_ingress_connection
;

UPDATE examples

Update an existing App Runner VPC Ingress Connection resource. The VPC Ingress Connection must be in one of the following states to be updated: AVAILABLE FAILED_CREATION FAILED_UPDATE

UPDATE aws.apprunner.vpc_ingress_connections
SET
VpcIngressConnectionArn = '{{ VpcIngressConnectionArn }}',
IngressVpcConfiguration = '{{ IngressVpcConfiguration }}'
WHERE
region = '{{ region }}' --required
AND VpcIngressConnectionArn = '{{ VpcIngressConnectionArn }}' --required
AND IngressVpcConfiguration = '{{ IngressVpcConfiguration }}' --required
RETURNING
vpc_ingress_connection;

DELETE examples

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

DELETE FROM aws.apprunner.vpc_ingress_connections
WHERE region = '{{ region }}' --required
;