Resource: awsApprunnerVpcIngressConnection
Manages an App Runner VPC Ingress Connection.
Example Usage
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.apprunnerVpcIngressConnection.ApprunnerVpcIngressConnection(
this,
"example",
{
ingressVpcConfiguration: {
vpcEndpointId: "${aws_vpc_endpoint.apprunner.id}",
vpcId: "${aws_default_vpc.default.id}",
},
name: "example",
serviceArn: "${aws_apprunner_service.example.arn}",
tags: {
foo: "bar",
},
}
);
Argument Reference
The following arguments supported:
name
- (Required) A name for the VPC Ingress Connection resource. It must be unique across all the active VPC Ingress Connections in your AWS account in the AWS Region.serviceArn
- (Required) The Amazon Resource Name (ARN) for this App Runner service that is used to create the VPC Ingress Connection resource.ingressVpcConfiguration
- (Required) Specifications for the customer’s Amazon VPC and the related AWS PrivateLink VPC endpoint that are used to create the VPC Ingress Connection resource. See Ingress VPC Configuration below for more details.tags
- (Optional) Key-value map of resource tags. If configured with a providerdefaultTags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Ingress VPC Configuration
The ingressVpcConfiguration
block supports the following argument:
vpcId
- (Required) The ID of the VPC that is used for the VPC endpoint.vpcEndpointId
- (Required) The ID of the VPC endpoint that your App Runner service connects to.
Attributes Reference
In addition to all arguments above, the following attributes are exported:
arn
- The Amazon Resource Name (ARN) of the VPC Ingress Connection.domainName
- The domain name associated with the VPC Ingress Connection resource.status
- The current status of the VPC Ingress Connection.tagsAll
- Map of tags assigned to the resource, including those inherited from the providerdefaultTags
configuration block.
Import
App Runner VPC Ingress Connection can be imported by using the arn
, e.g.,