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.
Idaws.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.

Methods

NameAccessible byRequired Params
create_resourceINSERTServiceArn, IngressVpcConfiguration, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all vpc_ingress_connections in a region.

SELECT
region,
vpc_ingress_connection_arn,
vpc_ingress_connection_name,
service_arn,
status,
domain_name,
ingress_vpc_configuration,
tags
FROM aws.apprunner.vpc_ingress_connections
WHERE region = 'us-east-1';

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 aws.apprunner.vpc_ingress_connections
WHERE region = 'us-east-1' AND data__Identifier = '<VpcIngressConnectionArn>';

INSERT example

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

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

DELETE example

/*+ delete */
DELETE FROM aws.apprunner.vpc_ingress_connections
WHERE data__Identifier = '<VpcIngressConnectionArn>'
AND region = 'us-east-1';

Permissions

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

Create

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

Read

apprunner:DescribeVpcIngressConnection

Update

apprunner:UpdateVpcIngressConnection

Delete

apprunner:DeleteVpcIngressConnection

List

apprunner:ListVpcIngressConnections