#[non_exhaustive]pub struct DirectConnectGatewayAssociation { /* private fields */ }Expand description
Information about an association between a Direct Connect gateway and a virtual private gateway or transit gateway.
Implementations§
source§impl DirectConnectGatewayAssociation
impl DirectConnectGatewayAssociation
sourcepub fn direct_connect_gateway_id(&self) -> Option<&str>
pub fn direct_connect_gateway_id(&self) -> Option<&str>
The ID of the Direct Connect gateway.
sourcepub fn direct_connect_gateway_owner_account(&self) -> Option<&str>
pub fn direct_connect_gateway_owner_account(&self) -> Option<&str>
The ID of the Amazon Web Services account that owns the associated gateway.
sourcepub fn association_state(&self) -> Option<&DirectConnectGatewayAssociationState>
pub fn association_state(&self) -> Option<&DirectConnectGatewayAssociationState>
The state of the association. The following are the possible values:
-
associating: The initial state after callingCreateDirectConnectGatewayAssociation. -
associated: The Direct Connect gateway and virtual private gateway or transit gateway are successfully associated and ready to pass traffic. -
disassociating: The initial state after callingDeleteDirectConnectGatewayAssociation. -
disassociated: The virtual private gateway or transit gateway is disassociated from the Direct Connect gateway. Traffic flow between the Direct Connect gateway and virtual private gateway or transit gateway is stopped.
sourcepub fn state_change_error(&self) -> Option<&str>
pub fn state_change_error(&self) -> Option<&str>
The error message if the state of an object failed to advance.
sourcepub fn associated_gateway(&self) -> Option<&AssociatedGateway>
pub fn associated_gateway(&self) -> Option<&AssociatedGateway>
Information about the associated gateway.
sourcepub fn association_id(&self) -> Option<&str>
pub fn association_id(&self) -> Option<&str>
The ID of the Direct Connect gateway association.
sourcepub fn allowed_prefixes_to_direct_connect_gateway(
&self
) -> Option<&[RouteFilterPrefix]>
pub fn allowed_prefixes_to_direct_connect_gateway(
&self
) -> Option<&[RouteFilterPrefix]>
The Amazon VPC prefixes to advertise to the Direct Connect gateway.
sourcepub fn virtual_gateway_id(&self) -> Option<&str>
pub fn virtual_gateway_id(&self) -> Option<&str>
The ID of the virtual private gateway. Applies only to private virtual interfaces.
sourcepub fn virtual_gateway_region(&self) -> Option<&str>
pub fn virtual_gateway_region(&self) -> Option<&str>
The Amazon Web Services Region where the virtual private gateway is located.
sourcepub fn virtual_gateway_owner_account(&self) -> Option<&str>
pub fn virtual_gateway_owner_account(&self) -> Option<&str>
The ID of the Amazon Web Services account that owns the virtual private gateway.
source§impl DirectConnectGatewayAssociation
impl DirectConnectGatewayAssociation
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DirectConnectGatewayAssociation.
Trait Implementations§
source§impl Clone for DirectConnectGatewayAssociation
impl Clone for DirectConnectGatewayAssociation
source§fn clone(&self) -> DirectConnectGatewayAssociation
fn clone(&self) -> DirectConnectGatewayAssociation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq<DirectConnectGatewayAssociation> for DirectConnectGatewayAssociation
impl PartialEq<DirectConnectGatewayAssociation> for DirectConnectGatewayAssociation
source§fn eq(&self, other: &DirectConnectGatewayAssociation) -> bool
fn eq(&self, other: &DirectConnectGatewayAssociation) -> bool
self and other values to be equal, and is used
by ==.