Class ComputeVpnTunnelConfig.Jsii$Proxy

    • 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.
    • Method Detail

      • getName

        public final String getName()
        Description copied from interface: ComputeVpnTunnelConfig
        Name 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:
        getName in interface ComputeVpnTunnelConfig
      • getSharedSecret

        public final String getSharedSecret()
        Description copied from interface: ComputeVpnTunnelConfig
        Shared 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:
        getSharedSecret in interface ComputeVpnTunnelConfig
      • getDescription

        public final String getDescription()
        Description copied from interface: ComputeVpnTunnelConfig
        An 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:
        getDescription in interface ComputeVpnTunnelConfig
      • getId

        public final String getId()
        Description copied from interface: ComputeVpnTunnelConfig
        Docs 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:
        getId in interface ComputeVpnTunnelConfig
      • getIkeVersion

        public final Number getIkeVersion()
        Description copied from interface: ComputeVpnTunnelConfig
        IKE 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:
        getIkeVersion in interface ComputeVpnTunnelConfig
      • getLabels

        public final Map<String,​String> getLabels()
        Description copied from interface: ComputeVpnTunnelConfig
        Labels 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:
        getLabels in interface ComputeVpnTunnelConfig
      • getLocalTrafficSelector

        public final List<String> getLocalTrafficSelector()
        Description copied from interface: ComputeVpnTunnelConfig
        Local 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:
        getLocalTrafficSelector in interface ComputeVpnTunnelConfig
      • getPeerExternalGateway

        public final String getPeerExternalGateway()
        Description copied from interface: ComputeVpnTunnelConfig
        URL 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:
        getPeerExternalGateway in interface ComputeVpnTunnelConfig
      • getPeerExternalGatewayInterface

        public final Number getPeerExternalGatewayInterface()
        Description copied from interface: ComputeVpnTunnelConfig
        The 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:
        getPeerExternalGatewayInterface in interface ComputeVpnTunnelConfig
      • getPeerGcpGateway

        public final String getPeerGcpGateway()
        Description copied from interface: ComputeVpnTunnelConfig
        URL 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:
        getPeerGcpGateway in interface ComputeVpnTunnelConfig
      • getPeerIp

        public final String getPeerIp()
        Description copied from interface: ComputeVpnTunnelConfig
        IP 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:
        getPeerIp in interface ComputeVpnTunnelConfig
      • getProject

        public final String getProject()
        Description copied from interface: ComputeVpnTunnelConfig
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_vpn_tunnel#project ComputeVpnTunnel#project}.
        Specified by:
        getProject in interface ComputeVpnTunnelConfig
      • getRegion

        public final String getRegion()
        Description copied from interface: ComputeVpnTunnelConfig
        The 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:
        getRegion in interface ComputeVpnTunnelConfig
      • getRemoteTrafficSelector

        public final List<String> getRemoteTrafficSelector()
        Description copied from interface: ComputeVpnTunnelConfig
        Remote 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:
        getRemoteTrafficSelector in interface ComputeVpnTunnelConfig
      • getRouter

        public final String getRouter()
        Description copied from interface: ComputeVpnTunnelConfig
        URL 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:
        getRouter in interface ComputeVpnTunnelConfig
      • getTargetVpnGateway

        public final String getTargetVpnGateway()
        Description copied from interface: ComputeVpnTunnelConfig
        URL 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:
        getTargetVpnGateway in interface ComputeVpnTunnelConfig
      • getVpnGateway

        public final String getVpnGateway()
        Description copied from interface: ComputeVpnTunnelConfig
        URL 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:
        getVpnGateway in interface ComputeVpnTunnelConfig
      • getVpnGatewayInterface

        public final Number getVpnGatewayInterface()
        Description copied from interface: ComputeVpnTunnelConfig
        The 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:
        getVpnGatewayInterface in interface ComputeVpnTunnelConfig
      • getConnection

        public final Object getConnection()
        Specified by:
        getConnection in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getCount

        public final Object getCount()
        Specified by:
        getCount in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getDependsOn

        public final List<com.hashicorp.cdktf.ITerraformDependable> getDependsOn()
        Specified by:
        getDependsOn in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getForEach

        public final com.hashicorp.cdktf.ITerraformIterator getForEach()
        Specified by:
        getForEach in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getLifecycle

        public final com.hashicorp.cdktf.TerraformResourceLifecycle getLifecycle()
        Specified by:
        getLifecycle in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getProvider

        public final com.hashicorp.cdktf.TerraformProvider getProvider()
        Specified by:
        getProvider in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getProvisioners

        public final List<Object> getProvisioners()
        Specified by:
        getProvisioners in interface com.hashicorp.cdktf.TerraformMetaArguments
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object