Skip to content
v2.278.0

VpcConnectorReference Struct ​

A reference to a VpcConnector resource.

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 interfaces_apprunner } from 'aws-cdk-lib/interfaces';
const vpcConnectorReference: interfaces_apprunner.VpcConnectorReference = {
  vpcConnectorArn: 'vpcConnectorArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_apprunner as interfaces_apprunner

vpc_connector_reference = interfaces_apprunner.VpcConnectorReference(
    vpc_connector_arn="vpcConnectorArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.apprunner.*;

VpcConnectorReference vpcConnectorReference = VpcConnectorReference.builder()
        .vpcConnectorArn("vpcConnectorArn")
        .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.Interfaces.AppRunner;

var vpcConnectorReference = new VpcConnectorReference {
    VpcConnectorArn = "vpcConnectorArn"
};
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"

vpcConnectorReference := &VpcConnectorReference{
	VpcConnectorArn: jsii.String("vpcConnectorArn"),
}

Properties ​

vpcConnectorArnstringvpc_connector_arnstrvpcConnectorArnStringVpcConnectorArnstringVpcConnectorArn*string required #
The VpcConnectorArn of the VpcConnector resource.