Skip to content
v2.274.0

Experimental

@aws-cdk/aws-apprunner-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

VpcConnectorAttributes Struct ​

Attributes for the App Runner VPC Connector.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as apprunner_alpha from '@aws-cdk/aws-apprunner-alpha';
import { aws_ec2 as ec2 } from 'aws-cdk-lib';

declare const securityGroup: ec2.SecurityGroup;
const vpcConnectorAttributes: apprunner_alpha.VpcConnectorAttributes = {
  securityGroups: [securityGroup],
  vpcConnectorArn: 'vpcConnectorArn',
  vpcConnectorName: 'vpcConnectorName',
  vpcConnectorRevision: 123,
};

Properties ​

securityGroupsISecurityGroup[]security_groupstyping.List[ISecurityGroup]securityGroupsList<ISecurityGroup>SecurityGroupsISecurityGroup[]SecurityGroups*[]ISecurityGrouprequired#
The security groups associated with the VPC connector.
vpcConnectorArnstringvpc_connector_arnstrvpcConnectorArnStringVpcConnectorArnstringVpcConnectorArn*stringrequired#
The ARN of the VPC connector.
vpcConnectorNamestringvpc_connector_namestrvpcConnectorNameStringVpcConnectorNamestringVpcConnectorName*stringrequired#
The name of the VPC connector.
vpcConnectorRevisionnumbervpc_connector_revisionint | floatvpcConnectorRevisionNumberVpcConnectorRevisiondoubleVpcConnectorRevision*float64required#
The revision of the VPC connector.