Skip to main content

vpc_ingress_connections

Creates, updates, deletes or gets a vpc_ingress_connection resource or lists vpc_ingress_connections in a region

Overview

Namevpc_ingress_connections
TypeResource
DescriptionThe AWS::AppRunner::VpcIngressConnection resource is an App Runner resource that specifies an App Runner VpcIngressConnection.
Idawscc.apprunner.vpc_ingress_connections

Fields

NameDatatypeDescription
vpc_ingress_connection_arnstringThe Amazon Resource Name (ARN) of the VpcIngressConnection.
vpc_ingress_connection_namestringThe customer-provided Vpc Ingress Connection name.
service_arnstringThe Amazon Resource Name (ARN) of the service.
statusstringThe current status of the VpcIngressConnection.
domain_namestringThe Domain name associated with the VPC Ingress Connection.
ingress_vpc_configurationobjectThe configuration of customer’s VPC and related VPC endpoint
tagsarray
regionstringAWS region.

For more information, see AWS::AppRunner::VpcIngressConnection.

Methods

NameResourceAccessible byRequired Params
create_resourcevpc_ingress_connectionsINSERTServiceArn, IngressVpcConfiguration, region
delete_resourcevpc_ingress_connectionsDELETEIdentifier, region
update_resourcevpc_ingress_connectionsUPDATEIdentifier, PatchDocument, region
list_resourcesvpc_ingress_connections_list_onlySELECTregion
get_resourcevpc_ingress_connectionsSELECTIdentifier, region

SELECT examples

Gets all properties from an individual vpc_ingress_connection.

SELECT
region,
vpc_ingress_connection_arn,
vpc_ingress_connection_name,
service_arn,
status,
domain_name,
ingress_vpc_configuration,
tags
FROM awscc.apprunner.vpc_ingress_connections
WHERE
region = 'us-east-1' AND
Identifier = '{{ vpc_ingress_connection_arn }}';

INSERT example

Use the following StackQL query and manifest file to create a new vpc_ingress_connection resource, using stack-deploy.

/*+ create */
INSERT INTO awscc.apprunner.vpc_ingress_connections (
ServiceArn,
IngressVpcConfiguration,
region
)
SELECT
'{{ service_arn }}',
'{{ ingress_vpc_configuration }}',
'{{ region }}';

UPDATE example

Use the following StackQL query and manifest file to update a vpc_ingress_connection resource, using stack-deploy.

/*+ update */
UPDATE awscc.apprunner.vpc_ingress_connections
SET PatchDocument = string('{{ {
"IngressVpcConfiguration": ingress_vpc_configuration
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ vpc_ingress_connection_arn }}';

DELETE example

/*+ delete */
DELETE FROM awscc.apprunner.vpc_ingress_connections
WHERE
Identifier = '{{ vpc_ingress_connection_arn }}' AND
region = 'us-east-1';

Permissions

To operate on the vpc_ingress_connections resource, the following permissions are required:

apprunner:CreateVpcIngressConnection,
apprunner:DescribeVpcIngressConnection,
ec2:DescribeVpcs,
ec2:DescribeVpcEndpoints,
ec2:DescribeSubnets,
apprunner:TagResource