#[non_exhaustive]
pub struct DirectConnectGatewayAssociation { pub direct_connect_gateway_id: Option<String>, pub direct_connect_gateway_owner_account: Option<String>, pub association_state: Option<DirectConnectGatewayAssociationState>, pub state_change_error: Option<String>, pub associated_gateway: Option<AssociatedGateway>, pub association_id: Option<String>, pub allowed_prefixes_to_direct_connect_gateway: Option<Vec<RouteFilterPrefix>>, pub virtual_gateway_id: Option<String>, pub virtual_gateway_region: Option<String>, pub virtual_gateway_owner_account: Option<String>, }
Expand description

Information about an association between a Direct Connect gateway and a virtual private gateway or transit gateway.

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional 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.

direct_connect_gateway_owner_account: Option<String>

The ID of the Amazon Web Services account that owns the associated gateway.

association_state: Option<DirectConnectGatewayAssociationState>

The state of the association. The following are the possible values:

  • associating: The initial state after calling CreateDirectConnectGatewayAssociation.

  • 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 calling DeleteDirectConnectGatewayAssociation.

  • 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.

state_change_error: Option<String>

The error message if the state of an object failed to advance.

associated_gateway: Option<AssociatedGateway>

Information about the associated gateway.

association_id: Option<String>

The ID of the Direct Connect gateway association.

allowed_prefixes_to_direct_connect_gateway: Option<Vec<RouteFilterPrefix>>

The Amazon VPC prefixes to advertise to the Direct Connect gateway.

virtual_gateway_id: Option<String>

The ID of the virtual private gateway. Applies only to private virtual interfaces.

virtual_gateway_region: Option<String>

The Amazon Web Services Region where the virtual private gateway is located.

virtual_gateway_owner_account: Option<String>

The ID of the Amazon Web Services account that owns the virtual private gateway.

Implementations

The ID of the Direct Connect gateway.

The ID of the Amazon Web Services account that owns the associated gateway.

The state of the association. The following are the possible values:

  • associating: The initial state after calling CreateDirectConnectGatewayAssociation.

  • 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 calling DeleteDirectConnectGatewayAssociation.

  • 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.

The error message if the state of an object failed to advance.

Information about the associated gateway.

The ID of the Direct Connect gateway association.

The Amazon VPC prefixes to advertise to the Direct Connect gateway.

The ID of the virtual private gateway. Applies only to private virtual interfaces.

The Amazon Web Services Region where the virtual private gateway is located.

The ID of the Amazon Web Services account that owns the virtual private gateway.

Creates a new builder-style object to manufacture DirectConnectGatewayAssociation

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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