Struct aws_sdk_directconnect::model::NewBgpPeer
source · [−]#[non_exhaustive]pub struct NewBgpPeer {
pub asn: i32,
pub auth_key: Option<String>,
pub address_family: Option<AddressFamily>,
pub amazon_address: Option<String>,
pub customer_address: Option<String>,
}Expand description
Information about a new BGP peer.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.asn: i32The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
auth_key: Option<String>The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a maximun lenth of 80 characters.
address_family: Option<AddressFamily>The address family for the BGP peer.
amazon_address: Option<String>The IP address assigned to the Amazon interface.
customer_address: Option<String>The IP address assigned to the customer interface.
Implementations
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a maximun lenth of 80 characters.
The address family for the BGP peer.
The IP address assigned to the Amazon interface.
The IP address assigned to the customer interface.
Creates a new builder-style object to manufacture NewBgpPeer
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for NewBgpPeer
impl Send for NewBgpPeer
impl Sync for NewBgpPeer
impl Unpin for NewBgpPeer
impl UnwindSafe for NewBgpPeer
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more