Class ComputeRouterNatConfig.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.compute_router_nat.ComputeRouterNatConfig.Jsii$Proxy
-
- All Implemented Interfaces:
ComputeRouterNatConfig,com.hashicorp.cdktf.TerraformMetaArguments,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ComputeRouterNatConfig
@Stability(Stable) @Internal public static final class ComputeRouterNatConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ComputeRouterNatConfig
An implementation forComputeRouterNatConfig
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.providers.google.compute_router_nat.ComputeRouterNatConfig
ComputeRouterNatConfig.Builder, ComputeRouterNatConfig.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ComputeRouterNatConfig.Builder builder)Constructor that initializes the object based on literal property values passed by theComputeRouterNatConfig.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)StringgetAutoNetworkTier()The network tier to use when automatically reserving NAT IP addresses.ObjectgetConnection()ObjectgetCount()List<com.hashicorp.cdktf.ITerraformDependable>getDependsOn()List<String>getDrainNatIps()A list of URLs of the IP resources to be drained.ObjectgetEnableDynamicPortAllocation()Enable Dynamic Port Allocation.ObjectgetEnableEndpointIndependentMapping()Enable endpoint independent mapping.List<String>getEndpointTypes()Specifies the endpoint Types supported by the NAT Gateway.com.hashicorp.cdktf.ITerraformIteratorgetForEach()NumbergetIcmpIdleTimeoutSec()Timeout (in seconds) for ICMP connections.StringgetId()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_nat#id ComputeRouterNat#id}.com.hashicorp.cdktf.TerraformResourceLifecyclegetLifecycle()ComputeRouterNatLogConfiggetLogConfig()log_config block.NumbergetMaxPortsPerVm()Maximum number of ports allocated to a VM from this NAT.NumbergetMinPortsPerVm()Minimum number of ports allocated to a VM from this NAT.StringgetName()Name of the NAT service.StringgetNatIpAllocateOption()How external IPs should be allocated for this NAT.List<String>getNatIps()Self-links of NAT IPs.StringgetProject()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_nat#project ComputeRouterNat#project}.com.hashicorp.cdktf.TerraformProvidergetProvider()List<Object>getProvisioners()StringgetRegion()Region where the router and NAT reside.StringgetRouter()The name of the Cloud Router in which this NAT will be configured.ObjectgetRules()rules block.StringgetSourceSubnetworkIpRangesToNat()How NAT should be configured per Subnetwork.ObjectgetSubnetwork()subnetwork block.NumbergetTcpEstablishedIdleTimeoutSec()Timeout (in seconds) for TCP established connections.NumbergetTcpTimeWaitTimeoutSec()Timeout (in seconds) for TCP connections that are in TIME_WAIT state.NumbergetTcpTransitoryIdleTimeoutSec()Timeout (in seconds) for TCP transitory connections.ComputeRouterNatTimeoutsgetTimeouts()timeouts block.NumbergetUdpIdleTimeoutSec()Timeout (in seconds) for UDP connections.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(ComputeRouterNatConfig.Builder builder)
Constructor that initializes the object based on literal property values passed by theComputeRouterNatConfig.Builder.
-
-
Method Detail
-
getName
public final String getName()
Description copied from interface:ComputeRouterNatConfigName of the NAT service. The name must be 1-63 characters long and comply with RFC1035.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_nat#name ComputeRouterNat#name}
- Specified by:
getNamein interfaceComputeRouterNatConfig
-
getRouter
public final String getRouter()
Description copied from interface:ComputeRouterNatConfigThe name of the Cloud Router in which this NAT will be configured.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_nat#router ComputeRouterNat#router}
- Specified by:
getRouterin interfaceComputeRouterNatConfig
-
getSourceSubnetworkIpRangesToNat
public final String getSourceSubnetworkIpRangesToNat()
Description copied from interface:ComputeRouterNatConfigHow NAT should be configured per Subnetwork.If 'ALL_SUBNETWORKS_ALL_IP_RANGES', all of the IP ranges in every Subnetwork are allowed to Nat. If 'ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES', all of the primary IP ranges in every Subnetwork are allowed to Nat. 'LIST_OF_SUBNETWORKS': A list of Subnetworks are allowed to Nat (specified in the field subnetwork below). Note that if this field contains ALL_SUBNETWORKS_ALL_IP_RANGES or ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES, then there should not be any other RouterNat section in any Router for this network in this region. Possible values: ["ALL_SUBNETWORKS_ALL_IP_RANGES", "ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES", "LIST_OF_SUBNETWORKS"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_nat#source_subnetwork_ip_ranges_to_nat ComputeRouterNat#source_subnetwork_ip_ranges_to_nat}
- Specified by:
getSourceSubnetworkIpRangesToNatin interfaceComputeRouterNatConfig
-
getAutoNetworkTier
public final String getAutoNetworkTier()
Description copied from interface:ComputeRouterNatConfigThe network tier to use when automatically reserving NAT IP addresses.Must be one of: PREMIUM, STANDARD. If not specified, then the current project-level default tier is used. Possible values: ["PREMIUM", "STANDARD"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_nat#auto_network_tier ComputeRouterNat#auto_network_tier}
- Specified by:
getAutoNetworkTierin interfaceComputeRouterNatConfig
-
getDrainNatIps
public final List<String> getDrainNatIps()
Description copied from interface:ComputeRouterNatConfigA list of URLs of the IP resources to be drained.These IPs must be valid static external IPs that have been assigned to the NAT. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_nat#drain_nat_ips ComputeRouterNat#drain_nat_ips}
- Specified by:
getDrainNatIpsin interfaceComputeRouterNatConfig
-
getEnableDynamicPortAllocation
public final Object getEnableDynamicPortAllocation()
Description copied from interface:ComputeRouterNatConfigEnable Dynamic Port Allocation.If minPortsPerVm is set, minPortsPerVm must be set to a power of two greater than or equal to 32. If minPortsPerVm is not set, a minimum of 32 ports will be allocated to a VM from this NAT config. If maxPortsPerVm is set, maxPortsPerVm must be set to a power of two greater than minPortsPerVm. If maxPortsPerVm is not set, a maximum of 65536 ports will be allocated to a VM from this NAT config. Mutually exclusive with enableEndpointIndependentMapping. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_nat#enable_dynamic_port_allocation ComputeRouterNat#enable_dynamic_port_allocation}
- Specified by:
getEnableDynamicPortAllocationin interfaceComputeRouterNatConfig
-
getEnableEndpointIndependentMapping
public final Object getEnableEndpointIndependentMapping()
Description copied from interface:ComputeRouterNatConfigEnable endpoint independent mapping. For more information see the official documentation.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_nat#enable_endpoint_independent_mapping ComputeRouterNat#enable_endpoint_independent_mapping}
- Specified by:
getEnableEndpointIndependentMappingin interfaceComputeRouterNatConfig
-
getEndpointTypes
public final List<String> getEndpointTypes()
Description copied from interface:ComputeRouterNatConfigSpecifies the endpoint Types supported by the NAT Gateway.Supported values include: 'ENDPOINT_TYPE_VM', 'ENDPOINT_TYPE_SWG', 'ENDPOINT_TYPE_MANAGED_PROXY_LB'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_nat#endpoint_types ComputeRouterNat#endpoint_types}
- Specified by:
getEndpointTypesin interfaceComputeRouterNatConfig
-
getIcmpIdleTimeoutSec
public final Number getIcmpIdleTimeoutSec()
Description copied from interface:ComputeRouterNatConfigTimeout (in seconds) for ICMP connections. Defaults to 30s if not set.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_nat#icmp_idle_timeout_sec ComputeRouterNat#icmp_idle_timeout_sec}
- Specified by:
getIcmpIdleTimeoutSecin interfaceComputeRouterNatConfig
-
getId
public final String getId()
Description copied from interface:ComputeRouterNatConfigDocs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_nat#id ComputeRouterNat#id}.Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
- Specified by:
getIdin interfaceComputeRouterNatConfig
-
getLogConfig
public final ComputeRouterNatLogConfig getLogConfig()
Description copied from interface:ComputeRouterNatConfiglog_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_nat#log_config ComputeRouterNat#log_config}
- Specified by:
getLogConfigin interfaceComputeRouterNatConfig
-
getMaxPortsPerVm
public final Number getMaxPortsPerVm()
Description copied from interface:ComputeRouterNatConfigMaximum number of ports allocated to a VM from this NAT.This field can only be set when enableDynamicPortAllocation is enabled. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_nat#max_ports_per_vm ComputeRouterNat#max_ports_per_vm}
- Specified by:
getMaxPortsPerVmin interfaceComputeRouterNatConfig
-
getMinPortsPerVm
public final Number getMinPortsPerVm()
Description copied from interface:ComputeRouterNatConfigMinimum number of ports allocated to a VM from this NAT.Defaults to 64 for static port allocation and 32 dynamic port allocation if not set. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_nat#min_ports_per_vm ComputeRouterNat#min_ports_per_vm}
- Specified by:
getMinPortsPerVmin interfaceComputeRouterNatConfig
-
getNatIpAllocateOption
public final String getNatIpAllocateOption()
Description copied from interface:ComputeRouterNatConfigHow external IPs should be allocated for this NAT.Valid values are 'AUTO_ONLY' for only allowing NAT IPs allocated by Google Cloud Platform, or 'MANUAL_ONLY' for only user-allocated NAT IP addresses. Possible values: ["MANUAL_ONLY", "AUTO_ONLY"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_nat#nat_ip_allocate_option ComputeRouterNat#nat_ip_allocate_option}
- Specified by:
getNatIpAllocateOptionin interfaceComputeRouterNatConfig
-
getNatIps
public final List<String> getNatIps()
Description copied from interface:ComputeRouterNatConfigSelf-links of NAT IPs. Only valid if natIpAllocateOption is set to MANUAL_ONLY.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_nat#nat_ips ComputeRouterNat#nat_ips}
- Specified by:
getNatIpsin interfaceComputeRouterNatConfig
-
getProject
public final String getProject()
Description copied from interface:ComputeRouterNatConfigDocs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_nat#project ComputeRouterNat#project}.- Specified by:
getProjectin interfaceComputeRouterNatConfig
-
getRegion
public final String getRegion()
Description copied from interface:ComputeRouterNatConfigRegion where the router and NAT reside.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_nat#region ComputeRouterNat#region}
- Specified by:
getRegionin interfaceComputeRouterNatConfig
-
getRules
public final Object getRules()
Description copied from interface:ComputeRouterNatConfigrules block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_nat#rules ComputeRouterNat#rules}
- Specified by:
getRulesin interfaceComputeRouterNatConfig
-
getSubnetwork
public final Object getSubnetwork()
Description copied from interface:ComputeRouterNatConfigsubnetwork block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_nat#subnetwork ComputeRouterNat#subnetwork}
- Specified by:
getSubnetworkin interfaceComputeRouterNatConfig
-
getTcpEstablishedIdleTimeoutSec
public final Number getTcpEstablishedIdleTimeoutSec()
Description copied from interface:ComputeRouterNatConfigTimeout (in seconds) for TCP established connections. Defaults to 1200s if not set.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_nat#tcp_established_idle_timeout_sec ComputeRouterNat#tcp_established_idle_timeout_sec}
- Specified by:
getTcpEstablishedIdleTimeoutSecin interfaceComputeRouterNatConfig
-
getTcpTimeWaitTimeoutSec
public final Number getTcpTimeWaitTimeoutSec()
Description copied from interface:ComputeRouterNatConfigTimeout (in seconds) for TCP connections that are in TIME_WAIT state. Defaults to 120s if not set.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_nat#tcp_time_wait_timeout_sec ComputeRouterNat#tcp_time_wait_timeout_sec}
- Specified by:
getTcpTimeWaitTimeoutSecin interfaceComputeRouterNatConfig
-
getTcpTransitoryIdleTimeoutSec
public final Number getTcpTransitoryIdleTimeoutSec()
Description copied from interface:ComputeRouterNatConfigTimeout (in seconds) for TCP transitory connections. Defaults to 30s if not set.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_nat#tcp_transitory_idle_timeout_sec ComputeRouterNat#tcp_transitory_idle_timeout_sec}
- Specified by:
getTcpTransitoryIdleTimeoutSecin interfaceComputeRouterNatConfig
-
getTimeouts
public final ComputeRouterNatTimeouts getTimeouts()
Description copied from interface:ComputeRouterNatConfigtimeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_nat#timeouts ComputeRouterNat#timeouts}
- Specified by:
getTimeoutsin interfaceComputeRouterNatConfig
-
getUdpIdleTimeoutSec
public final Number getUdpIdleTimeoutSec()
Description copied from interface:ComputeRouterNatConfigTimeout (in seconds) for UDP connections. Defaults to 30s if not set.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_nat#udp_idle_timeout_sec ComputeRouterNat#udp_idle_timeout_sec}
- Specified by:
getUdpIdleTimeoutSecin interfaceComputeRouterNatConfig
-
getConnection
public final Object getConnection()
- Specified by:
getConnectionin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getCount
public final Object getCount()
- Specified by:
getCountin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getDependsOn
public final List<com.hashicorp.cdktf.ITerraformDependable> getDependsOn()
- Specified by:
getDependsOnin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getForEach
public final com.hashicorp.cdktf.ITerraformIterator getForEach()
- Specified by:
getForEachin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getLifecycle
public final com.hashicorp.cdktf.TerraformResourceLifecycle getLifecycle()
- Specified by:
getLifecyclein interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getProvider
public final com.hashicorp.cdktf.TerraformProvider getProvider()
- Specified by:
getProviderin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getProvisioners
public final List<Object> getProvisioners()
- Specified by:
getProvisionersin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-