interface CfnVpcConnectorProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.AppRunner.CfnVpcConnectorProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsapprunner#CfnVpcConnectorProps |
![]() | software.amazon.awscdk.services.apprunner.CfnVpcConnectorProps |
![]() | aws_cdk.aws_apprunner.CfnVpcConnectorProps |
![]() | aws-cdk-lib » aws_apprunner » CfnVpcConnectorProps |
Properties for defining a CfnVpcConnector
.
Example
// 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 cfnVpcConnectorProps: apprunner.CfnVpcConnectorProps = {
subnets: ['subnets'],
// the properties below are optional
securityGroups: ['securityGroups'],
tags: [{
key: 'key',
value: 'value',
}],
vpcConnectorName: 'vpcConnectorName',
};
Properties
Name | Type | Description |
---|---|---|
subnets | string[] | A list of IDs of subnets that App Runner should use when it associates your service with a custom Amazon VPC. |
security | string[] | A list of IDs of security groups that App Runner should use for access to AWS resources under the specified subnets. |
tags? | Cfn [] | A list of metadata items that you can associate with your VPC connector resource. |
vpc | string | A name for the VPC connector. |
subnets
Type:
string[]
A list of IDs of subnets that App Runner should use when it associates your service with a custom Amazon VPC.
Specify IDs of subnets of a single Amazon VPC. App Runner determines the Amazon VPC from the subnets you specify.
App Runner currently only provides support for IPv4.
securityGroups?
Type:
string[]
(optional)
A list of IDs of security groups that App Runner should use for access to AWS resources under the specified subnets.
If not specified, App Runner uses the default security group of the Amazon VPC. The default security group allows all outbound traffic.
tags?
Type:
Cfn
[]
(optional)
A list of metadata items that you can associate with your VPC connector resource.
A tag is a key-value pair.
A
VpcConnector
is immutable, so you cannot update its tags. To change the tags, replace the resource. To replace aVpcConnector
, you must provide a new combination of security groups.
vpcConnectorName?
Type:
string
(optional)
A name for the VPC connector.
If you don't specify a name, AWS CloudFormation generates a name for your VPC connector.