Interface CfnPrivateVirtualInterface.BgpPeerProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPrivateVirtualInterface.BgpPeerProperty.Jsii$Proxy
- Enclosing class:
CfnPrivateVirtualInterface
@Stability(Stable)
public static interface CfnPrivateVirtualInterface.BgpPeerProperty
extends software.amazon.jsii.JsiiSerializable
Information about a BGP peer.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.directconnect.*;
BgpPeerProperty bgpPeerProperty = BgpPeerProperty.builder()
.addressFamily("addressFamily")
.asn("asn")
// the properties below are optional
.amazonAddress("amazonAddress")
.authKey("authKey")
.bgpPeerId("bgpPeerId")
.customerAddress("customerAddress")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPrivateVirtualInterface.BgpPeerPropertystatic final classAn implementation forCfnPrivateVirtualInterface.BgpPeerProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The address family for the BGP peer.default StringThe IP address assigned to the Amazon interface.getAsn()The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.default StringThe authentication key for BGP configuration.default Stringdefault StringThe IP address assigned to the customer interface.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAddressFamily
The address family for the BGP peer.- See Also:
-
getAsn
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.- See Also:
-
getAmazonAddress
The IP address assigned to the Amazon interface.- See Also:
-
getAuthKey
The authentication key for BGP configuration.This string has a minimum length of 6 characters and and a maximum length of 80 characters.
- See Also:
-
getBgpPeerId
- See Also:
-
getCustomerAddress
The IP address assigned to the customer interface.- See Also:
-
builder
-