Class ComputeRouterPeerConfig.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

      • getInterfaceValue

        public final String getInterfaceValue()
        Description copied from interface: ComputeRouterPeerConfig
        Name of the interface the BGP peer is associated with.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_peer#interface ComputeRouterPeer#interface}

        Specified by:
        getInterfaceValue in interface ComputeRouterPeerConfig
      • getName

        public final String getName()
        Description copied from interface: ComputeRouterPeerConfig
        Name of this BGP peer.

        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_router_peer#name ComputeRouterPeer#name}

        Specified by:
        getName in interface ComputeRouterPeerConfig
      • getPeerAsn

        public final Number getPeerAsn()
        Description copied from interface: ComputeRouterPeerConfig
        Peer BGP Autonomous System Number (ASN). Each BGP interface may use a different value.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_peer#peer_asn ComputeRouterPeer#peer_asn}

        Specified by:
        getPeerAsn in interface ComputeRouterPeerConfig
      • getRouter

        public final String getRouter()
        Description copied from interface: ComputeRouterPeerConfig
        The name of the Cloud Router in which this BgpPeer will be configured.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_peer#router ComputeRouterPeer#router}

        Specified by:
        getRouter in interface ComputeRouterPeerConfig
      • getAdvertisedGroups

        public final List<String> getAdvertisedGroups()
        Description copied from interface: ComputeRouterPeerConfig
        User-specified list of prefix groups to advertise in custom mode, which currently supports the following option:.

        * 'ALL_SUBNETS': Advertises all of the router's own VPC subnets. This excludes any routes learned for subnets that use VPC Network Peering. Note that this field can only be populated if advertiseMode is 'CUSTOM' and overrides the list defined for the router (in the "bgp" message). These groups are advertised in addition to any specified prefixes. Leave this field blank to advertise no custom groups. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_peer#advertised_groups ComputeRouterPeer#advertised_groups}

        Specified by:
        getAdvertisedGroups in interface ComputeRouterPeerConfig
      • getAdvertisedIpRanges

        public final Object getAdvertisedIpRanges()
        Description copied from interface: ComputeRouterPeerConfig
        advertised_ip_ranges block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_peer#advertised_ip_ranges ComputeRouterPeer#advertised_ip_ranges}

        Specified by:
        getAdvertisedIpRanges in interface ComputeRouterPeerConfig
      • getAdvertisedRoutePriority

        public final Number getAdvertisedRoutePriority()
        Description copied from interface: ComputeRouterPeerConfig
        The priority of routes advertised to this BGP peer.

        Where there is more than one matching route of maximum length, the routes with the lowest priority value win. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_peer#advertised_route_priority ComputeRouterPeer#advertised_route_priority}

        Specified by:
        getAdvertisedRoutePriority in interface ComputeRouterPeerConfig
      • getAdvertiseMode

        public final String getAdvertiseMode()
        Description copied from interface: ComputeRouterPeerConfig
        User-specified flag to indicate which mode to use for advertisement.

        Valid values of this enum field are: 'DEFAULT', 'CUSTOM' Default value: "DEFAULT" Possible values: ["DEFAULT", "CUSTOM"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_peer#advertise_mode ComputeRouterPeer#advertise_mode}

        Specified by:
        getAdvertiseMode in interface ComputeRouterPeerConfig
      • getCustomLearnedIpRanges

        public final Object getCustomLearnedIpRanges()
        Description copied from interface: ComputeRouterPeerConfig
        custom_learned_ip_ranges block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_peer#custom_learned_ip_ranges ComputeRouterPeer#custom_learned_ip_ranges}

        Specified by:
        getCustomLearnedIpRanges in interface ComputeRouterPeerConfig
      • getCustomLearnedRoutePriority

        public final Number getCustomLearnedRoutePriority()
        Description copied from interface: ComputeRouterPeerConfig
        The user-defined custom learned route priority for a BGP session.

        This value is applied to all custom learned route ranges for the session. You can choose a value from 0 to 65335. If you don't provide a value, Google Cloud assigns a priority of 100 to the ranges. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_peer#custom_learned_route_priority ComputeRouterPeer#custom_learned_route_priority}

        Specified by:
        getCustomLearnedRoutePriority in interface ComputeRouterPeerConfig
      • getEnable

        public final Object getEnable()
        Description copied from interface: ComputeRouterPeerConfig
        The status of the BGP peer connection.

        If set to false, any active session with the peer is terminated and all associated routing information is removed. If set to true, the peer connection can be established with routing information. The default is true. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_peer#enable ComputeRouterPeer#enable}

        Specified by:
        getEnable in interface ComputeRouterPeerConfig
      • getEnableIpv4

        public final Object getEnableIpv4()
        Description copied from interface: ComputeRouterPeerConfig
        Enable IPv4 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 4.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_peer#enable_ipv4 ComputeRouterPeer#enable_ipv4}

        Specified by:
        getEnableIpv4 in interface ComputeRouterPeerConfig
      • getEnableIpv6

        public final Object getEnableIpv6()
        Description copied from interface: ComputeRouterPeerConfig
        Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_peer#enable_ipv6 ComputeRouterPeer#enable_ipv6}

        Specified by:
        getEnableIpv6 in interface ComputeRouterPeerConfig
      • getId

        public final String getId()
        Description copied from interface: ComputeRouterPeerConfig
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_peer#id ComputeRouterPeer#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 ComputeRouterPeerConfig
      • getIpAddress

        public final String getIpAddress()
        Description copied from interface: ComputeRouterPeerConfig
        IP address of the interface inside Google Cloud Platform. Only IPv4 is supported.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_peer#ip_address ComputeRouterPeer#ip_address}

        Specified by:
        getIpAddress in interface ComputeRouterPeerConfig
      • getIpv4NexthopAddress

        public final String getIpv4NexthopAddress()
        Description copied from interface: ComputeRouterPeerConfig
        IPv4 address of the interface inside Google Cloud Platform.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_peer#ipv4_nexthop_address ComputeRouterPeer#ipv4_nexthop_address}

        Specified by:
        getIpv4NexthopAddress in interface ComputeRouterPeerConfig
      • getIpv6NexthopAddress

        public final String getIpv6NexthopAddress()
        Description copied from interface: ComputeRouterPeerConfig
        IPv6 address of the interface inside Google Cloud Platform.

        The address must be in the range 2600:2d00:0:2::/64 or 2600:2d00:0:3::/64. If you do not specify the next hop addresses, Google Cloud automatically assigns unused addresses from the 2600:2d00:0:2::/64 or 2600:2d00:0:3::/64 range for you. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_peer#ipv6_nexthop_address ComputeRouterPeer#ipv6_nexthop_address}

        Specified by:
        getIpv6NexthopAddress in interface ComputeRouterPeerConfig
      • getPeerIpAddress

        public final String getPeerIpAddress()
        Description copied from interface: ComputeRouterPeerConfig
        IP address of the BGP interface outside Google Cloud Platform. Only IPv4 is supported. Required if 'ip_address' is set.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_peer#peer_ip_address ComputeRouterPeer#peer_ip_address}

        Specified by:
        getPeerIpAddress in interface ComputeRouterPeerConfig
      • getPeerIpv4NexthopAddress

        public final String getPeerIpv4NexthopAddress()
        Description copied from interface: ComputeRouterPeerConfig
        IPv4 address of the BGP interface outside Google Cloud Platform.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_peer#peer_ipv4_nexthop_address ComputeRouterPeer#peer_ipv4_nexthop_address}

        Specified by:
        getPeerIpv4NexthopAddress in interface ComputeRouterPeerConfig
      • getPeerIpv6NexthopAddress

        public final String getPeerIpv6NexthopAddress()
        Description copied from interface: ComputeRouterPeerConfig
        IPv6 address of the BGP interface outside Google Cloud Platform.

        The address must be in the range 2600:2d00:0:2::/64 or 2600:2d00:0:3::/64. If you do not specify the next hop addresses, Google Cloud automatically assigns unused addresses from the 2600:2d00:0:2::/64 or 2600:2d00:0:3::/64 range for you. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_peer#peer_ipv6_nexthop_address ComputeRouterPeer#peer_ipv6_nexthop_address}

        Specified by:
        getPeerIpv6NexthopAddress in interface ComputeRouterPeerConfig
      • getProject

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

        public final String getRegion()
        Description copied from interface: ComputeRouterPeerConfig
        Region where the router and BgpPeer reside. If it is not provided, the provider region is used.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_peer#region ComputeRouterPeer#region}

        Specified by:
        getRegion in interface ComputeRouterPeerConfig
      • getRouterApplianceInstance

        public final String getRouterApplianceInstance()
        Description copied from interface: ComputeRouterPeerConfig
        The URI of the VM instance that is used as third-party router appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances.

        The VM instance must be located in zones contained in the same region as this Cloud Router. The VM instance is the peer side of the BGP session. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_peer#router_appliance_instance ComputeRouterPeer#router_appliance_instance}

        Specified by:
        getRouterApplianceInstance in interface ComputeRouterPeerConfig
      • 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