#[non_exhaustive]pub struct DirectConnectGatewayAttachment {
pub direct_connect_gateway_id: Option<String>,
pub virtual_interface_id: Option<String>,
pub virtual_interface_region: Option<String>,
pub virtual_interface_owner_account: Option<String>,
pub attachment_state: Option<DirectConnectGatewayAttachmentState>,
pub attachment_type: Option<DirectConnectGatewayAttachmentType>,
pub state_change_error: Option<String>,
}Expand description
Information about an attachment between a Direct Connect gateway and a virtual interface.
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.direct_connect_gateway_id: Option<String>The ID of the Direct Connect gateway.
virtual_interface_id: Option<String>The ID of the virtual interface.
virtual_interface_region: Option<String>The Amazon Web Services Region where the virtual interface is located.
virtual_interface_owner_account: Option<String>The ID of the Amazon Web Services account that owns the virtual interface.
attachment_state: Option<DirectConnectGatewayAttachmentState>The state of the attachment. The following are the possible values:
-
attaching: The initial state after a virtual interface is created using the Direct Connect gateway. -
attached: The Direct Connect gateway and virtual interface are attached and ready to pass traffic. -
detaching: The initial state after callingDeleteVirtualInterface. -
detached: The virtual interface is detached from the Direct Connect gateway. Traffic flow between the Direct Connect gateway and virtual interface is stopped.
attachment_type: Option<DirectConnectGatewayAttachmentType>The type of attachment.
state_change_error: Option<String>The error message if the state of an object failed to advance.
Implementations
The ID of the Direct Connect gateway.
The ID of the virtual interface.
The Amazon Web Services Region where the virtual interface is located.
The ID of the Amazon Web Services account that owns the virtual interface.
The state of the attachment. The following are the possible values:
-
attaching: The initial state after a virtual interface is created using the Direct Connect gateway. -
attached: The Direct Connect gateway and virtual interface are attached and ready to pass traffic. -
detaching: The initial state after callingDeleteVirtualInterface. -
detached: The virtual interface is detached from the Direct Connect gateway. Traffic flow between the Direct Connect gateway and virtual interface is stopped.
The type of attachment.
The error message if the state of an object failed to advance.
Creates a new builder-style object to manufacture DirectConnectGatewayAttachment
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 Send for DirectConnectGatewayAttachment
impl Sync for DirectConnectGatewayAttachment
impl Unpin for DirectConnectGatewayAttachment
impl UnwindSafe for DirectConnectGatewayAttachment
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