@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)",
date="2022-05-13T01:13:32.469Z")
public interface CfnNatGatewayProps
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 java.lang.String |
getAllocationId()
[Public NAT gateway only] The allocation ID of the Elastic IP address that's associated with the NAT gateway.
|
default java.lang.String |
getConnectivityType()
Indicates whether the NAT gateway supports public or private connectivity.
|
java.lang.String |
getSubnetId()
The ID of the subnet in which the NAT gateway is located.
|
default java.util.List<CfnTag> |
getTags()
The tags for the NAT gateway.
|
java.lang.String getSubnetId()
default java.lang.String getAllocationId()
default java.lang.String getConnectivityType()
default java.util.List<CfnTag> getTags()
static CfnNatGatewayProps.Builder builder()
CfnNatGatewayProps.Builder
of CfnNatGatewayProps