Interface ComputeRouterBgp
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ComputeRouterBgp.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:18.925Z") @Stability(Stable) public interface ComputeRouterBgp extends software.amazon.jsii.JsiiSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classComputeRouterBgp.BuilderA builder forComputeRouterBgpstatic classComputeRouterBgp.Jsii$ProxyAn implementation forComputeRouterBgp
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static ComputeRouterBgp.Builderbuilder()default List<String>getAdvertisedGroups()User-specified list of prefix groups to advertise in custom mode.default ObjectgetAdvertisedIpRanges()advertised_ip_ranges block.default StringgetAdvertiseMode()User-specified flag to indicate which mode to use for advertisement.NumbergetAsn()Local BGP Autonomous System Number (ASN).default StringgetIdentifierRange()Explicitly specifies a range of valid BGP Identifiers for this Router.default NumbergetKeepaliveInterval()The interval in seconds between BGP keepalive messages that are sent to the peer.
-
-
-
Method Detail
-
getAsn
@Stability(Stable) @NotNull Number getAsn()
Local BGP Autonomous System Number (ASN).Must be an RFC6996 private ASN, either 16-bit or 32-bit. The value will be fixed for this router resource. All VPN tunnels that link to this router will have the same local ASN. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router#asn ComputeRouter#asn}
-
getAdvertisedGroups
@Stability(Stable) @Nullable default List<String> getAdvertisedGroups()
User-specified list of prefix groups to advertise in custom mode.This field can only be populated if advertiseMode is CUSTOM and is advertised to all peers of the router. These groups will be advertised in addition to any specified prefixes. Leave this field blank to advertise no custom groups. This enum field has the one valid value: ALL_SUBNETS Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router#advertised_groups ComputeRouter#advertised_groups}
-
getAdvertisedIpRanges
@Stability(Stable) @Nullable default Object getAdvertisedIpRanges()
advertised_ip_ranges block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router#advertised_ip_ranges ComputeRouter#advertised_ip_ranges}
-
getAdvertiseMode
@Stability(Stable) @Nullable default String getAdvertiseMode()
User-specified flag to indicate which mode to use for advertisement. 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#advertise_mode ComputeRouter#advertise_mode}
-
getIdentifierRange
@Stability(Stable) @Nullable default String getIdentifierRange()
Explicitly specifies a range of valid BGP Identifiers for this Router.It is provided as a link-local IPv4 range (from 169.254.0.0/16), of size at least /30, even if the BGP sessions are over IPv6. It must not overlap with any IPv4 BGP session ranges. Other vendors commonly call this router ID. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router#identifier_range ComputeRouter#identifier_range}
-
getKeepaliveInterval
@Stability(Stable) @Nullable default Number getKeepaliveInterval()
The interval in seconds between BGP keepalive messages that are sent to the peer.Hold time is three times the interval at which keepalive messages are sent, and the hold time is the maximum number of seconds allowed to elapse between successive keepalive messages that BGP receives from a peer. BGP will use the smaller of either the local hold time value or the peer's hold time value as the hold time for the BGP connection between the two peers. If set, this value must be between 20 and 60. The default is 20. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router#keepalive_interval ComputeRouter#keepalive_interval}
-
builder
@Stability(Stable) static ComputeRouterBgp.Builder builder()
- Returns:
- a
ComputeRouterBgp.BuilderofComputeRouterBgp
-
-