@Stability(value=Stable) public static final class CfnTransitGatewayVpcAttachment.Builder extends Object implements software.amazon.jsii.Builder<CfnTransitGatewayVpcAttachment>
CfnTransitGatewayVpcAttachment.| Modifier and Type | Method and Description |
|---|---|
CfnTransitGatewayVpcAttachment.Builder |
addSubnetIds(List<String> addSubnetIds)
The IDs of one or more subnets to add.
|
CfnTransitGatewayVpcAttachment |
build() |
static CfnTransitGatewayVpcAttachment.Builder |
create(software.constructs.Construct scope,
String id) |
CfnTransitGatewayVpcAttachment.Builder |
options(Object options)
The VPC attachment options in JSON or YAML.
|
CfnTransitGatewayVpcAttachment.Builder |
removeSubnetIds(List<String> removeSubnetIds)
The IDs of one or more subnets to remove.
|
CfnTransitGatewayVpcAttachment.Builder |
subnetIds(List<String> subnetIds)
The IDs of the subnets.
|
CfnTransitGatewayVpcAttachment.Builder |
tags(List<? extends CfnTag> tags)
The tags for the VPC attachment.
|
CfnTransitGatewayVpcAttachment.Builder |
transitGatewayId(String transitGatewayId)
The ID of the transit gateway.
|
CfnTransitGatewayVpcAttachment.Builder |
vpcId(String vpcId)
The ID of the VPC.
|
@Stability(value=Stable) public static CfnTransitGatewayVpcAttachment.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.CfnTransitGatewayVpcAttachment.Builder.@Stability(value=Stable) public CfnTransitGatewayVpcAttachment.Builder subnetIds(List<String> subnetIds)
subnetIds - The IDs of the subnets. This parameter is required.this@Stability(value=Stable) public CfnTransitGatewayVpcAttachment.Builder transitGatewayId(String transitGatewayId)
transitGatewayId - The ID of the transit gateway. This parameter is required.this@Stability(value=Stable) public CfnTransitGatewayVpcAttachment.Builder vpcId(String vpcId)
vpcId - The ID of the VPC. This parameter is required.this@Stability(value=Stable) public CfnTransitGatewayVpcAttachment.Builder addSubnetIds(List<String> addSubnetIds)
You can specify at most one subnet per Availability Zone.
addSubnetIds - The IDs of one or more subnets to add. This parameter is required.this@Stability(value=Stable) public CfnTransitGatewayVpcAttachment.Builder options(Object options)
options - The VPC attachment options in JSON or YAML. This parameter is required.this@Stability(value=Stable) public CfnTransitGatewayVpcAttachment.Builder removeSubnetIds(List<String> removeSubnetIds)
removeSubnetIds - The IDs of one or more subnets to remove. This parameter is required.this@Stability(value=Stable) public CfnTransitGatewayVpcAttachment.Builder tags(List<? extends CfnTag> tags)
tags - The tags for the VPC attachment. This parameter is required.this@Stability(value=Stable) public CfnTransitGatewayVpcAttachment build()
build in interface software.amazon.jsii.Builder<CfnTransitGatewayVpcAttachment>Copyright © 2022. All rights reserved.