Class ComputeRouterPeerConfig.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.compute_router_peer.ComputeRouterPeerConfig.Jsii$Proxy
-
- All Implemented Interfaces:
ComputeRouterPeerConfig,com.hashicorp.cdktf.TerraformMetaArguments,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ComputeRouterPeerConfig
@Stability(Stable) @Internal public static final class ComputeRouterPeerConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ComputeRouterPeerConfig
An implementation forComputeRouterPeerConfig
-
-
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_peer.ComputeRouterPeerConfig
ComputeRouterPeerConfig.Builder, ComputeRouterPeerConfig.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ComputeRouterPeerConfig.Builder builder)Constructor that initializes the object based on literal property values passed by theComputeRouterPeerConfig.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)List<String>getAdvertisedGroups()User-specified list of prefix groups to advertise in custom mode, which currently supports the following option:.ObjectgetAdvertisedIpRanges()advertised_ip_ranges block.NumbergetAdvertisedRoutePriority()The priority of routes advertised to this BGP peer.StringgetAdvertiseMode()User-specified flag to indicate which mode to use for advertisement.ComputeRouterPeerBfdgetBfd()bfd block.ObjectgetConnection()ObjectgetCount()ObjectgetCustomLearnedIpRanges()custom_learned_ip_ranges block.NumbergetCustomLearnedRoutePriority()The user-defined custom learned route priority for a BGP session.List<com.hashicorp.cdktf.ITerraformDependable>getDependsOn()ObjectgetEnable()The status of the BGP peer connection.ObjectgetEnableIpv4()Enable IPv4 traffic over BGP Peer.ObjectgetEnableIpv6()Enable IPv6 traffic over BGP Peer.com.hashicorp.cdktf.ITerraformIteratorgetForEach()StringgetId()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_peer#id ComputeRouterPeer#id}.StringgetInterfaceValue()Name of the interface the BGP peer is associated with.StringgetIpAddress()IP address of the interface inside Google Cloud Platform.StringgetIpv4NexthopAddress()IPv4 address of the interface inside Google Cloud Platform.StringgetIpv6NexthopAddress()IPv6 address of the interface inside Google Cloud Platform.com.hashicorp.cdktf.TerraformResourceLifecyclegetLifecycle()ComputeRouterPeerMd5AuthenticationKeygetMd5AuthenticationKey()md5_authentication_key block.StringgetName()Name of this BGP peer.NumbergetPeerAsn()Peer BGP Autonomous System Number (ASN).StringgetPeerIpAddress()IP address of the BGP interface outside Google Cloud Platform.StringgetPeerIpv4NexthopAddress()IPv4 address of the BGP interface outside Google Cloud Platform.StringgetPeerIpv6NexthopAddress()IPv6 address of the BGP interface outside Google Cloud Platform.StringgetProject()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_peer#project ComputeRouterPeer#project}.com.hashicorp.cdktf.TerraformProvidergetProvider()List<Object>getProvisioners()StringgetRegion()Region where the router and BgpPeer reside.StringgetRouter()The name of the Cloud Router in which this BgpPeer will be configured.StringgetRouterApplianceInstance()The URI of the VM instance that is used as third-party router appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances.ComputeRouterPeerTimeoutsgetTimeouts()timeouts block.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(ComputeRouterPeerConfig.Builder builder)
Constructor that initializes the object based on literal property values passed by theComputeRouterPeerConfig.Builder.
-
-
Method Detail
-
getInterfaceValue
public final String getInterfaceValue()
Description copied from interface:ComputeRouterPeerConfigName 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:
getInterfaceValuein interfaceComputeRouterPeerConfig
-
getName
public final String getName()
Description copied from interface:ComputeRouterPeerConfigName 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:
getNamein interfaceComputeRouterPeerConfig
-
getPeerAsn
public final Number getPeerAsn()
Description copied from interface:ComputeRouterPeerConfigPeer 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:
getPeerAsnin interfaceComputeRouterPeerConfig
-
getRouter
public final String getRouter()
Description copied from interface:ComputeRouterPeerConfigThe 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:
getRouterin interfaceComputeRouterPeerConfig
-
getAdvertisedGroups
public final List<String> getAdvertisedGroups()
Description copied from interface:ComputeRouterPeerConfigUser-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:
getAdvertisedGroupsin interfaceComputeRouterPeerConfig
-
getAdvertisedIpRanges
public final Object getAdvertisedIpRanges()
Description copied from interface:ComputeRouterPeerConfigadvertised_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:
getAdvertisedIpRangesin interfaceComputeRouterPeerConfig
-
getAdvertisedRoutePriority
public final Number getAdvertisedRoutePriority()
Description copied from interface:ComputeRouterPeerConfigThe 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:
getAdvertisedRoutePriorityin interfaceComputeRouterPeerConfig
-
getAdvertiseMode
public final String getAdvertiseMode()
Description copied from interface:ComputeRouterPeerConfigUser-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:
getAdvertiseModein interfaceComputeRouterPeerConfig
-
getBfd
public final ComputeRouterPeerBfd getBfd()
Description copied from interface:ComputeRouterPeerConfigbfd block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_peer#bfd ComputeRouterPeer#bfd}
- Specified by:
getBfdin interfaceComputeRouterPeerConfig
-
getCustomLearnedIpRanges
public final Object getCustomLearnedIpRanges()
Description copied from interface:ComputeRouterPeerConfigcustom_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:
getCustomLearnedIpRangesin interfaceComputeRouterPeerConfig
-
getCustomLearnedRoutePriority
public final Number getCustomLearnedRoutePriority()
Description copied from interface:ComputeRouterPeerConfigThe 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:
getCustomLearnedRoutePriorityin interfaceComputeRouterPeerConfig
-
getEnable
public final Object getEnable()
Description copied from interface:ComputeRouterPeerConfigThe 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:
getEnablein interfaceComputeRouterPeerConfig
-
getEnableIpv4
public final Object getEnableIpv4()
Description copied from interface:ComputeRouterPeerConfigEnable 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:
getEnableIpv4in interfaceComputeRouterPeerConfig
-
getEnableIpv6
public final Object getEnableIpv6()
Description copied from interface:ComputeRouterPeerConfigEnable 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:
getEnableIpv6in interfaceComputeRouterPeerConfig
-
getId
public final String getId()
Description copied from interface:ComputeRouterPeerConfigDocs 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:
getIdin interfaceComputeRouterPeerConfig
-
getIpAddress
public final String getIpAddress()
Description copied from interface:ComputeRouterPeerConfigIP 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:
getIpAddressin interfaceComputeRouterPeerConfig
-
getIpv4NexthopAddress
public final String getIpv4NexthopAddress()
Description copied from interface:ComputeRouterPeerConfigIPv4 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:
getIpv4NexthopAddressin interfaceComputeRouterPeerConfig
-
getIpv6NexthopAddress
public final String getIpv6NexthopAddress()
Description copied from interface:ComputeRouterPeerConfigIPv6 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:
getIpv6NexthopAddressin interfaceComputeRouterPeerConfig
-
getMd5AuthenticationKey
public final ComputeRouterPeerMd5AuthenticationKey getMd5AuthenticationKey()
Description copied from interface:ComputeRouterPeerConfigmd5_authentication_key block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_peer#md5_authentication_key ComputeRouterPeer#md5_authentication_key}
- Specified by:
getMd5AuthenticationKeyin interfaceComputeRouterPeerConfig
-
getPeerIpAddress
public final String getPeerIpAddress()
Description copied from interface:ComputeRouterPeerConfigIP 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:
getPeerIpAddressin interfaceComputeRouterPeerConfig
-
getPeerIpv4NexthopAddress
public final String getPeerIpv4NexthopAddress()
Description copied from interface:ComputeRouterPeerConfigIPv4 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:
getPeerIpv4NexthopAddressin interfaceComputeRouterPeerConfig
-
getPeerIpv6NexthopAddress
public final String getPeerIpv6NexthopAddress()
Description copied from interface:ComputeRouterPeerConfigIPv6 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:
getPeerIpv6NexthopAddressin interfaceComputeRouterPeerConfig
-
getProject
public final String getProject()
Description copied from interface:ComputeRouterPeerConfigDocs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_peer#project ComputeRouterPeer#project}.- Specified by:
getProjectin interfaceComputeRouterPeerConfig
-
getRegion
public final String getRegion()
Description copied from interface:ComputeRouterPeerConfigRegion 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:
getRegionin interfaceComputeRouterPeerConfig
-
getRouterApplianceInstance
public final String getRouterApplianceInstance()
Description copied from interface:ComputeRouterPeerConfigThe 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:
getRouterApplianceInstancein interfaceComputeRouterPeerConfig
-
getTimeouts
public final ComputeRouterPeerTimeouts getTimeouts()
Description copied from interface:ComputeRouterPeerConfigtimeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_peer#timeouts ComputeRouterPeer#timeouts}
- Specified by:
getTimeoutsin interfaceComputeRouterPeerConfig
-
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
-
-