@Stability(value=Stable) public static final class CfnNatGateway.Builder extends Object implements software.amazon.jsii.Builder<CfnNatGateway>
CfnNatGateway.| Modifier and Type | Method and Description |
|---|---|
CfnNatGateway.Builder |
allocationId(String allocationId)
[Public NAT gateway only] The allocation ID of the Elastic IP address that's associated with the NAT gateway.
|
CfnNatGateway |
build() |
CfnNatGateway.Builder |
connectivityType(String connectivityType)
Indicates whether the NAT gateway supports public or private connectivity.
|
static CfnNatGateway.Builder |
create(software.constructs.Construct scope,
String id) |
CfnNatGateway.Builder |
subnetId(String subnetId)
The ID of the subnet in which the NAT gateway is located.
|
CfnNatGateway.Builder |
tags(List<? extends CfnTag> tags)
The tags for the NAT gateway.
|
@Stability(value=Stable) public static CfnNatGateway.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.CfnNatGateway.Builder.@Stability(value=Stable) public CfnNatGateway.Builder subnetId(String subnetId)
subnetId - The ID of the subnet in which the NAT gateway is located. This parameter is required.this@Stability(value=Stable) public CfnNatGateway.Builder allocationId(String allocationId)
allocationId - [Public NAT gateway only] The allocation ID of the Elastic IP address that's associated with the NAT gateway. This parameter is required.this@Stability(value=Stable) public CfnNatGateway.Builder connectivityType(String connectivityType)
connectivityType - Indicates whether the NAT gateway supports public or private connectivity. This parameter is required.this@Stability(value=Stable) public CfnNatGateway.Builder tags(List<? extends CfnTag> tags)
tags - The tags for the NAT gateway. This parameter is required.this@Stability(value=Stable) public CfnNatGateway build()
build in interface software.amazon.jsii.Builder<CfnNatGateway>Copyright © 2022. All rights reserved.