@Stability(value=Stable) public static final class CfnTransitGatewayAttachment.Builder extends Object implements software.amazon.jsii.Builder<CfnTransitGatewayAttachment>
CfnTransitGatewayAttachment.| Modifier and Type | Method and Description |
|---|---|
CfnTransitGatewayAttachment |
build() |
static CfnTransitGatewayAttachment.Builder |
create(software.constructs.Construct scope,
String id) |
CfnTransitGatewayAttachment.Builder |
options(Object options)
`AWS::EC2::TransitGatewayAttachment.Options`.
|
CfnTransitGatewayAttachment.Builder |
subnetIds(List<String> subnetIds)
The IDs of one or more subnets.
|
CfnTransitGatewayAttachment.Builder |
tags(List<? extends CfnTag> tags)
The tags for the attachment.
|
CfnTransitGatewayAttachment.Builder |
transitGatewayId(String transitGatewayId)
The ID of the transit gateway.
|
CfnTransitGatewayAttachment.Builder |
vpcId(String vpcId)
The ID of the VPC.
|
@Stability(value=Stable) public static CfnTransitGatewayAttachment.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.CfnTransitGatewayAttachment.Builder.@Stability(value=Stable) public CfnTransitGatewayAttachment.Builder subnetIds(List<String> subnetIds)
You can specify only one subnet per Availability Zone. You must specify at least one subnet, but we recommend that you specify two subnets for better availability. The transit gateway uses one IP address from each specified subnet.
subnetIds - The IDs of one or more subnets. This parameter is required.this@Stability(value=Stable) public CfnTransitGatewayAttachment.Builder transitGatewayId(String transitGatewayId)
transitGatewayId - The ID of the transit gateway. This parameter is required.this@Stability(value=Stable) public CfnTransitGatewayAttachment.Builder vpcId(String vpcId)
vpcId - The ID of the VPC. This parameter is required.this@Stability(value=Stable) public CfnTransitGatewayAttachment.Builder options(Object options)
options - `AWS::EC2::TransitGatewayAttachment.Options`. This parameter is required.this@Stability(value=Stable) public CfnTransitGatewayAttachment.Builder tags(List<? extends CfnTag> tags)
tags - The tags for the attachment. This parameter is required.this@Stability(value=Stable) public CfnTransitGatewayAttachment build()
build in interface software.amazon.jsii.Builder<CfnTransitGatewayAttachment>Copyright © 2022. All rights reserved.