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 = '{{ region }}' 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 }}'
RETURNING
ErrorCode,
EventTime,
Identifier,
Operation,
OperationStatus,
RequestToken,
ResourceModel,
RetryAfter,
StatusMessage,
TypeName
;

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 }}'
RETURNING
ErrorCode,
EventTime,
Identifier,
Operation,
OperationStatus,
RequestToken,
ResourceModel,
RetryAfter,
StatusMessage,
TypeName
;

DELETE example

/*+ delete */
DELETE FROM awscc.apprunner.vpc_ingress_connections
WHERE
Identifier = '{{ vpc_ingress_connection_arn }}' AND
region = '{{ region }}'
RETURNING
ErrorCode,
EventTime,
Identifier,
Operation,
OperationStatus,
RequestToken,
ResourceModel,
RetryAfter,
StatusMessage,
TypeName
;

Additional Parameters

Mutable resources in the Cloud Control provider support additional optional parameters which can be supplied with INSERT, UPDATE, or DELETE operations. These include:

ParameterDescription
ClientToken
A unique identifier to ensure the idempotency of the resource request.This allows the provider to accurately distinguish between retries and new requests.
A client token is valid for 36 hours once used.
After that, a resource request with the same client token is treated as a new request.
If you do not specify a client token, one is generated for inclusion in the request.
RoleArn
The ARN of the IAM role used to perform this resource operation.The role specified must have the permissions required for this operation.
If you do not specify a role, a temporary session is created using your AWS user credentials.
TypeVersionId
For private resource types, the type version to use in this resource operation.If you do not specify a resource version, the default version is used.

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