@Stability(value=Stable) public static final class CfnVpcConnectorProps.Builder extends Object implements software.amazon.jsii.Builder<CfnVpcConnectorProps>
CfnVpcConnectorProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnVpcConnectorProps |
build()
Builds the configured instance.
|
CfnVpcConnectorProps.Builder |
securityGroups(List<String> securityGroups)
Sets the value of
CfnVpcConnectorProps.getSecurityGroups() |
CfnVpcConnectorProps.Builder |
subnets(List<String> subnets)
Sets the value of
CfnVpcConnectorProps.getSubnets() |
CfnVpcConnectorProps.Builder |
tags(List<? extends CfnTag> tags)
Sets the value of
CfnVpcConnectorProps.getTags() |
CfnVpcConnectorProps.Builder |
vpcConnectorName(String vpcConnectorName)
Sets the value of
CfnVpcConnectorProps.getVpcConnectorName() |
@Stability(value=Stable) public CfnVpcConnectorProps.Builder subnets(List<String> subnets)
CfnVpcConnectorProps.getSubnets()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.
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.
this@Stability(value=Stable) public CfnVpcConnectorProps.Builder securityGroups(List<String> securityGroups)
CfnVpcConnectorProps.getSecurityGroups()securityGroups - 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.this@Stability(value=Stable) public CfnVpcConnectorProps.Builder tags(List<? extends CfnTag> tags)
CfnVpcConnectorProps.getTags()tags - A list of metadata items that you can associate with your VPC connector resource.
A tag is a key-value pair.this@Stability(value=Stable) public CfnVpcConnectorProps.Builder vpcConnectorName(String vpcConnectorName)
CfnVpcConnectorProps.getVpcConnectorName()vpcConnectorName - A name for the VPC connector.
If you don't specify a name, AWS CloudFormation generates a name for your VPC connector.this@Stability(value=Stable) public CfnVpcConnectorProps build()
build in interface software.amazon.jsii.Builder<CfnVpcConnectorProps>CfnVpcConnectorPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.