@Stability(value=Stable) public static final class CfnVpcConnector.Builder extends Object implements software.amazon.jsii.Builder<CfnVpcConnector>
CfnVpcConnector.| Modifier and Type | Method and Description |
|---|---|
CfnVpcConnector |
build() |
static CfnVpcConnector.Builder |
create(software.constructs.Construct scope,
String id) |
CfnVpcConnector.Builder |
securityGroups(List<String> securityGroups)
A list of IDs of security groups that App Runner should use for access to AWS resources under the specified subnets.
|
CfnVpcConnector.Builder |
subnets(List<String> subnets)
A list of IDs of subnets that App Runner should use when it associates your service with a custom Amazon VPC.
|
CfnVpcConnector.Builder |
tags(List<? extends CfnTag> tags)
A list of metadata items that you can associate with your VPC connector resource.
|
CfnVpcConnector.Builder |
vpcConnectorName(String vpcConnectorName)
A name for the VPC connector.
|
@Stability(value=Stable) public static CfnVpcConnector.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnVpcConnector.Builder.@Stability(value=Stable) public CfnVpcConnector.Builder subnets(List<String> subnets)
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.
subnets - A list of IDs of subnets that App Runner should use when it associates your service with a custom Amazon VPC. This parameter is required.this@Stability(value=Stable) public CfnVpcConnector.Builder securityGroups(List<String> securityGroups)
If not specified, App Runner uses the default security group of the Amazon VPC. The default security group allows all outbound traffic.
securityGroups - A list of IDs of security groups that App Runner should use for access to AWS resources under the specified subnets. This parameter is required.this@Stability(value=Stable) public CfnVpcConnector.Builder tags(List<? extends CfnTag> tags)
A tag is a key-value pair.
tags - A list of metadata items that you can associate with your VPC connector resource. This parameter is required.this@Stability(value=Stable) public CfnVpcConnector.Builder vpcConnectorName(String vpcConnectorName)
If you don't specify a name, AWS CloudFormation generates a name for your VPC connector.
vpcConnectorName - A name for the VPC connector. This parameter is required.this@Stability(value=Stable) public CfnVpcConnector build()
build in interface software.amazon.jsii.Builder<CfnVpcConnector>Copyright © 2022. All rights reserved.