Struct aws_sdk_directconnect::operation::create_direct_connect_gateway_association::CreateDirectConnectGatewayAssociationInput
source · #[non_exhaustive]pub struct CreateDirectConnectGatewayAssociationInput {
pub direct_connect_gateway_id: Option<String>,
pub gateway_id: Option<String>,
pub add_allowed_prefixes_to_direct_connect_gateway: Option<Vec<RouteFilterPrefix>>,
pub virtual_gateway_id: Option<String>,
}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.
gateway_id: Option<String>The ID of the virtual private gateway or transit gateway.
add_allowed_prefixes_to_direct_connect_gateway: Option<Vec<RouteFilterPrefix>>The Amazon VPC prefixes to advertise to the Direct Connect gateway
This parameter is required when you create an association to a transit gateway.
For information about how to set the prefixes, see Allowed Prefixes in the Direct Connect User Guide.
virtual_gateway_id: Option<String>The ID of the virtual private gateway.
Implementations§
source§impl CreateDirectConnectGatewayAssociationInput
impl CreateDirectConnectGatewayAssociationInput
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 gateway_id(&self) -> Option<&str>
pub fn gateway_id(&self) -> Option<&str>
The ID of the virtual private gateway or transit gateway.
sourcepub fn add_allowed_prefixes_to_direct_connect_gateway(
&self
) -> Option<&[RouteFilterPrefix]>
pub fn add_allowed_prefixes_to_direct_connect_gateway( &self ) -> Option<&[RouteFilterPrefix]>
The Amazon VPC prefixes to advertise to the Direct Connect gateway
This parameter is required when you create an association to a transit gateway.
For information about how to set the prefixes, see Allowed Prefixes in the Direct Connect User Guide.
sourcepub fn virtual_gateway_id(&self) -> Option<&str>
pub fn virtual_gateway_id(&self) -> Option<&str>
The ID of the virtual private gateway.
source§impl CreateDirectConnectGatewayAssociationInput
impl CreateDirectConnectGatewayAssociationInput
sourcepub fn builder() -> CreateDirectConnectGatewayAssociationInputBuilder
pub fn builder() -> CreateDirectConnectGatewayAssociationInputBuilder
Creates a new builder-style object to manufacture CreateDirectConnectGatewayAssociationInput.
Trait Implementations§
source§impl Clone for CreateDirectConnectGatewayAssociationInput
impl Clone for CreateDirectConnectGatewayAssociationInput
source§fn clone(&self) -> CreateDirectConnectGatewayAssociationInput
fn clone(&self) -> CreateDirectConnectGatewayAssociationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq<CreateDirectConnectGatewayAssociationInput> for CreateDirectConnectGatewayAssociationInput
impl PartialEq<CreateDirectConnectGatewayAssociationInput> for CreateDirectConnectGatewayAssociationInput
source§fn eq(&self, other: &CreateDirectConnectGatewayAssociationInput) -> bool
fn eq(&self, other: &CreateDirectConnectGatewayAssociationInput) -> bool
self and other values to be equal, and is used
by ==.