Class ComputeVpnTunnelConfig.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.compute_vpn_tunnel.ComputeVpnTunnelConfig.Jsii$Proxy
-
- All Implemented Interfaces:
ComputeVpnTunnelConfig,com.hashicorp.cdktf.TerraformMetaArguments,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ComputeVpnTunnelConfig
@Stability(Stable) @Internal public static final class ComputeVpnTunnelConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ComputeVpnTunnelConfig
An implementation forComputeVpnTunnelConfig
-
-
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_vpn_tunnel.ComputeVpnTunnelConfig
ComputeVpnTunnelConfig.Builder, ComputeVpnTunnelConfig.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ComputeVpnTunnelConfig.Builder builder)Constructor that initializes the object based on literal property values passed by theComputeVpnTunnelConfig.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)ObjectgetConnection()ObjectgetCount()List<com.hashicorp.cdktf.ITerraformDependable>getDependsOn()StringgetDescription()An optional description of this resource.com.hashicorp.cdktf.ITerraformIteratorgetForEach()StringgetId()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_vpn_tunnel#id ComputeVpnTunnel#id}.NumbergetIkeVersion()IKE protocol version to use when establishing the VPN tunnel with peer VPN gateway.Map<String,String>getLabels()Labels to apply to this VpnTunnel.com.hashicorp.cdktf.TerraformResourceLifecyclegetLifecycle()List<String>getLocalTrafficSelector()Local traffic selector to use when establishing the VPN tunnel with peer VPN gateway.StringgetName()Name of the resource.StringgetPeerExternalGateway()URL of the peer side external VPN gateway to which this VPN tunnel is connected.NumbergetPeerExternalGatewayInterface()The interface ID of the external VPN gateway to which this VPN tunnel is connected.StringgetPeerGcpGateway()URL of the peer side HA GCP VPN gateway to which this VPN tunnel is connected.StringgetPeerIp()IP address of the peer VPN gateway.StringgetProject()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_vpn_tunnel#project ComputeVpnTunnel#project}.com.hashicorp.cdktf.TerraformProvidergetProvider()List<Object>getProvisioners()StringgetRegion()The region where the tunnel is located.List<String>getRemoteTrafficSelector()Remote traffic selector to use when establishing the VPN tunnel with peer VPN gateway.StringgetRouter()URL of router resource to be used for dynamic routing.StringgetSharedSecret()Shared secret used to set the secure session between the Cloud VPN gateway and the peer VPN gateway.StringgetTargetVpnGateway()URL of the Target VPN gateway with which this VPN tunnel is associated.ComputeVpnTunnelTimeoutsgetTimeouts()timeouts block.StringgetVpnGateway()URL of the VPN gateway with which this VPN tunnel is associated.NumbergetVpnGatewayInterface()The interface ID of the VPN gateway with which this VPN tunnel is associated.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(ComputeVpnTunnelConfig.Builder builder)
Constructor that initializes the object based on literal property values passed by theComputeVpnTunnelConfig.Builder.
-
-
Method Detail
-
getName
public final String getName()
Description copied from interface:ComputeVpnTunnelConfigName of the resource.The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression '[a-z](%5B-a-z0-9%5D*%5Ba-z0-9%5D)?' which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_vpn_tunnel#name ComputeVpnTunnel#name}
- Specified by:
getNamein interfaceComputeVpnTunnelConfig
-
getSharedSecret
public final String getSharedSecret()
Description copied from interface:ComputeVpnTunnelConfigShared secret used to set the secure session between the Cloud VPN gateway and the peer VPN gateway.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_vpn_tunnel#shared_secret ComputeVpnTunnel#shared_secret}
- Specified by:
getSharedSecretin interfaceComputeVpnTunnelConfig
-
getDescription
public final String getDescription()
Description copied from interface:ComputeVpnTunnelConfigAn optional description of this resource.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_vpn_tunnel#description ComputeVpnTunnel#description}
- Specified by:
getDescriptionin interfaceComputeVpnTunnelConfig
-
getId
public final String getId()
Description copied from interface:ComputeVpnTunnelConfigDocs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_vpn_tunnel#id ComputeVpnTunnel#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 interfaceComputeVpnTunnelConfig
-
getIkeVersion
public final Number getIkeVersion()
Description copied from interface:ComputeVpnTunnelConfigIKE protocol version to use when establishing the VPN tunnel with peer VPN gateway.Acceptable IKE versions are 1 or 2. Default version is 2. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_vpn_tunnel#ike_version ComputeVpnTunnel#ike_version}
- Specified by:
getIkeVersionin interfaceComputeVpnTunnelConfig
-
getLabels
public final Map<String,String> getLabels()
Description copied from interface:ComputeVpnTunnelConfigLabels to apply to this VpnTunnel.**Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_vpn_tunnel#labels ComputeVpnTunnel#labels}
- Specified by:
getLabelsin interfaceComputeVpnTunnelConfig
-
getLocalTrafficSelector
public final List<String> getLocalTrafficSelector()
Description copied from interface:ComputeVpnTunnelConfigLocal traffic selector to use when establishing the VPN tunnel with peer VPN gateway.The value should be a CIDR formatted string, for example '192.168.0.0/16'. The ranges should be disjoint. Only IPv4 is supported. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_vpn_tunnel#local_traffic_selector ComputeVpnTunnel#local_traffic_selector}
- Specified by:
getLocalTrafficSelectorin interfaceComputeVpnTunnelConfig
-
getPeerExternalGateway
public final String getPeerExternalGateway()
Description copied from interface:ComputeVpnTunnelConfigURL of the peer side external VPN gateway to which this VPN tunnel is connected.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_vpn_tunnel#peer_external_gateway ComputeVpnTunnel#peer_external_gateway}
- Specified by:
getPeerExternalGatewayin interfaceComputeVpnTunnelConfig
-
getPeerExternalGatewayInterface
public final Number getPeerExternalGatewayInterface()
Description copied from interface:ComputeVpnTunnelConfigThe interface ID of the external VPN gateway to which this VPN tunnel is connected.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_vpn_tunnel#peer_external_gateway_interface ComputeVpnTunnel#peer_external_gateway_interface}
- Specified by:
getPeerExternalGatewayInterfacein interfaceComputeVpnTunnelConfig
-
getPeerGcpGateway
public final String getPeerGcpGateway()
Description copied from interface:ComputeVpnTunnelConfigURL of the peer side HA GCP VPN gateway to which this VPN tunnel is connected.If provided, the VPN tunnel will automatically use the same vpn_gateway_interface ID in the peer GCP VPN gateway. This field must reference a 'google_compute_ha_vpn_gateway' resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_vpn_tunnel#peer_gcp_gateway ComputeVpnTunnel#peer_gcp_gateway}
- Specified by:
getPeerGcpGatewayin interfaceComputeVpnTunnelConfig
-
getPeerIp
public final String getPeerIp()
Description copied from interface:ComputeVpnTunnelConfigIP address of the peer VPN gateway. Only IPv4 is supported.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_vpn_tunnel#peer_ip ComputeVpnTunnel#peer_ip}
- Specified by:
getPeerIpin interfaceComputeVpnTunnelConfig
-
getProject
public final String getProject()
Description copied from interface:ComputeVpnTunnelConfigDocs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_vpn_tunnel#project ComputeVpnTunnel#project}.- Specified by:
getProjectin interfaceComputeVpnTunnelConfig
-
getRegion
public final String getRegion()
Description copied from interface:ComputeVpnTunnelConfigThe region where the tunnel is located. If unset, is set to the region of 'target_vpn_gateway'.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_vpn_tunnel#region ComputeVpnTunnel#region}
- Specified by:
getRegionin interfaceComputeVpnTunnelConfig
-
getRemoteTrafficSelector
public final List<String> getRemoteTrafficSelector()
Description copied from interface:ComputeVpnTunnelConfigRemote traffic selector to use when establishing the VPN tunnel with peer VPN gateway.The value should be a CIDR formatted string, for example '192.168.0.0/16'. The ranges should be disjoint. Only IPv4 is supported. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_vpn_tunnel#remote_traffic_selector ComputeVpnTunnel#remote_traffic_selector}
- Specified by:
getRemoteTrafficSelectorin interfaceComputeVpnTunnelConfig
-
getRouter
public final String getRouter()
Description copied from interface:ComputeVpnTunnelConfigURL of router resource to be used for dynamic routing.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_vpn_tunnel#router ComputeVpnTunnel#router}
- Specified by:
getRouterin interfaceComputeVpnTunnelConfig
-
getTargetVpnGateway
public final String getTargetVpnGateway()
Description copied from interface:ComputeVpnTunnelConfigURL of the Target VPN gateway with which this VPN tunnel is associated.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_vpn_tunnel#target_vpn_gateway ComputeVpnTunnel#target_vpn_gateway}
- Specified by:
getTargetVpnGatewayin interfaceComputeVpnTunnelConfig
-
getTimeouts
public final ComputeVpnTunnelTimeouts getTimeouts()
Description copied from interface:ComputeVpnTunnelConfigtimeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_vpn_tunnel#timeouts ComputeVpnTunnel#timeouts}
- Specified by:
getTimeoutsin interfaceComputeVpnTunnelConfig
-
getVpnGateway
public final String getVpnGateway()
Description copied from interface:ComputeVpnTunnelConfigURL of the VPN gateway with which this VPN tunnel is associated.This must be used if a High Availability VPN gateway resource is created. This field must reference a 'google_compute_ha_vpn_gateway' resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_vpn_tunnel#vpn_gateway ComputeVpnTunnel#vpn_gateway}
- Specified by:
getVpnGatewayin interfaceComputeVpnTunnelConfig
-
getVpnGatewayInterface
public final Number getVpnGatewayInterface()
Description copied from interface:ComputeVpnTunnelConfigThe interface ID of the VPN gateway with which this VPN tunnel is associated.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_vpn_tunnel#vpn_gateway_interface ComputeVpnTunnel#vpn_gateway_interface}
- Specified by:
getVpnGatewayInterfacein interfaceComputeVpnTunnelConfig
-
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
-
-