@Stability(value=Stable) public static final class CfnVPCGatewayAttachment.Builder extends Object implements software.amazon.jsii.Builder<CfnVPCGatewayAttachment>
CfnVPCGatewayAttachment.| Modifier and Type | Method and Description |
|---|---|
CfnVPCGatewayAttachment |
build() |
static CfnVPCGatewayAttachment.Builder |
create(software.constructs.Construct scope,
String id) |
CfnVPCGatewayAttachment.Builder |
internetGatewayId(String internetGatewayId)
The ID of the internet gateway.
|
CfnVPCGatewayAttachment.Builder |
vpcId(String vpcId)
The ID of the VPC.
|
CfnVPCGatewayAttachment.Builder |
vpnGatewayId(String vpnGatewayId)
The ID of the virtual private gateway.
|
@Stability(value=Stable) public static CfnVPCGatewayAttachment.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.CfnVPCGatewayAttachment.Builder.@Stability(value=Stable) public CfnVPCGatewayAttachment.Builder vpcId(String vpcId)
vpcId - The ID of the VPC. This parameter is required.this@Stability(value=Stable) public CfnVPCGatewayAttachment.Builder internetGatewayId(String internetGatewayId)
You must specify either InternetGatewayId or VpnGatewayId , but not both.
internetGatewayId - The ID of the internet gateway. This parameter is required.this@Stability(value=Stable) public CfnVPCGatewayAttachment.Builder vpnGatewayId(String vpnGatewayId)
You must specify either InternetGatewayId or VpnGatewayId , but not both.
vpnGatewayId - The ID of the virtual private gateway. This parameter is required.this@Stability(value=Stable) public CfnVPCGatewayAttachment build()
build in interface software.amazon.jsii.Builder<CfnVPCGatewayAttachment>Copyright © 2022. All rights reserved.