@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.252Z") @Stability(value=Stable) public interface CfnNatGatewayProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ec2.*;
CfnNatGatewayProps cfnNatGatewayProps = CfnNatGatewayProps.builder()
.subnetId("subnetId")
// the properties below are optional
.allocationId("allocationId")
.connectivityType("connectivityType")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnNatGatewayProps.Builder
A builder for
CfnNatGatewayProps |
static class |
CfnNatGatewayProps.Jsii$Proxy
An implementation for
CfnNatGatewayProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnNatGatewayProps.Builder |
builder() |
default String |
getAllocationId()
[Public NAT gateway only] The allocation ID of the Elastic IP address that's associated with the NAT gateway.
|
default String |
getConnectivityType()
Indicates whether the NAT gateway supports public or private connectivity.
|
String |
getSubnetId()
The ID of the subnet in which the NAT gateway is located.
|
default List<CfnTag> |
getTags()
The tags for the NAT gateway.
|
@Stability(value=Stable) @NotNull String getSubnetId()
@Stability(value=Stable) @Nullable default String getAllocationId()
@Stability(value=Stable) @Nullable default String getConnectivityType()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) static CfnNatGatewayProps.Builder builder()
CfnNatGatewayProps.Builder of CfnNatGatewayPropsCopyright © 2022. All rights reserved.