Skip to content
v2.278.0

CfnVpcIngressConnectionProps Struct ​

Properties for defining a CfnVpcIngressConnection.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_apprunner as apprunner } from 'aws-cdk-lib';
const cfnVpcIngressConnectionProps: apprunner.CfnVpcIngressConnectionProps = {
  ingressVpcConfiguration: {
    vpcEndpointId: 'vpcEndpointId',
    vpcId: 'vpcId',
  },
  serviceArn: 'serviceArn',

  // the properties below are optional
  tags: [{
    key: 'key',
    value: 'value',
  }],
  vpcIngressConnectionName: 'vpcIngressConnectionName',
};
python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_apprunner as apprunner

cfn_vpc_ingress_connection_props = apprunner.CfnVpcIngressConnectionProps(
    ingress_vpc_configuration=apprunner.CfnVpcIngressConnection.IngressVpcConfigurationProperty(
        vpc_endpoint_id="vpcEndpointId",
        vpc_id="vpcId"
    ),
    service_arn="serviceArn",

    # the properties below are optional
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    vpc_ingress_connection_name="vpcIngressConnectionName"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.apprunner.*;

CfnVpcIngressConnectionProps cfnVpcIngressConnectionProps = CfnVpcIngressConnectionProps.builder()
        .ingressVpcConfiguration(IngressVpcConfigurationProperty.builder()
                .vpcEndpointId("vpcEndpointId")
                .vpcId("vpcId")
                .build())
        .serviceArn("serviceArn")

        // the properties below are optional
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .vpcIngressConnectionName("vpcIngressConnectionName")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppRunner;

var cfnVpcIngressConnectionProps = new CfnVpcIngressConnectionProps {
    IngressVpcConfiguration = new IngressVpcConfigurationProperty {
        VpcEndpointId = "vpcEndpointId",
        VpcId = "vpcId"
    },
    ServiceArn = "serviceArn",

    // the properties below are optional
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } },
    VpcIngressConnectionName = "vpcIngressConnectionName"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnVpcIngressConnectionProps := &CfnVpcIngressConnectionProps{
	IngressVpcConfiguration: &IngressVpcConfigurationProperty{
		VpcEndpointId: jsii.String("vpcEndpointId"),
		VpcId: jsii.String("vpcId"),
	},
	ServiceArn: jsii.String("serviceArn"),

	// the properties below are optional
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
	VpcIngressConnectionName: jsii.String("vpcIngressConnectionName"),
}

Properties ​

ingressVpcConfigurationIResolvable | CfnVpcIngressConnection.IngressVpcConfigurationPropertyingress_vpc_configurationtyping.Union[IResolvable, IngressVpcConfigurationProperty]ingressVpcConfigurationIResolvableIngressVpcConfigurationIResolvableIngressVpcConfigurationinterface{} 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.
serviceArnstringservice_arnstrserviceArnStringServiceArnstringServiceArn*string required #
The Amazon Resource Name (ARN) for this App Runner service that is used to create the VPC Ingress Connection resource.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #
An optional list of metadata items that you can associate with the VPC Ingress Connection resource.

A tag is a key-value pair.

vpcIngressConnectionNameoptionalstringvpc_ingress_connection_nameoptionalstrvpcIngressConnectionNameoptionalStringVpcIngressConnectionNameoptionalstringVpcIngressConnectionNameoptional*string #
The customer-provided VPC Ingress Connection name.