#[non_exhaustive]pub struct AwsEc2TransitGatewayDetails {
pub id: Option<String>,
pub description: Option<String>,
pub default_route_table_propagation: Option<String>,
pub auto_accept_shared_attachments: Option<String>,
pub default_route_table_association: Option<String>,
pub transit_gateway_cidr_blocks: Option<Vec<String>>,
pub association_default_route_table_id: Option<String>,
pub propagation_default_route_table_id: Option<String>,
pub vpn_ecmp_support: Option<String>,
pub dns_support: Option<String>,
pub multicast_support: Option<String>,
pub amazon_side_asn: Option<i32>,
}
Expand description
Information about an Amazon Web Services Amazon EC2 Transit Gateway that interconnects virtual private clouds (VPCs) and on-premises networks.
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.id: Option<String>
The ID of the transit gateway.
description: Option<String>
The description of the transit gateway.
default_route_table_propagation: Option<String>
Turn on or turn off automatic propagation of routes to the default propagation route table.
Turn on or turn off automatic acceptance of attachment requests.
default_route_table_association: Option<String>
Turn on or turn off automatic association with the default association route table.
transit_gateway_cidr_blocks: Option<Vec<String>>
The transit gateway Classless Inter-Domain Routing (CIDR) blocks.
association_default_route_table_id: Option<String>
The ID of the default association route table.
propagation_default_route_table_id: Option<String>
The ID of the default propagation route table.
vpn_ecmp_support: Option<String>
Turn on or turn off Equal Cost Multipath Protocol (ECMP) support.
dns_support: Option<String>
Turn on or turn off DNS support.
multicast_support: Option<String>
Indicates whether multicast is supported on the transit gateway.
amazon_side_asn: Option<i32>
A private Autonomous System Number (ASN) for the Amazon side of a BGP session.
Implementations§
source§impl AwsEc2TransitGatewayDetails
impl AwsEc2TransitGatewayDetails
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the transit gateway.
sourcepub fn default_route_table_propagation(&self) -> Option<&str>
pub fn default_route_table_propagation(&self) -> Option<&str>
Turn on or turn off automatic propagation of routes to the default propagation route table.
Turn on or turn off automatic acceptance of attachment requests.
sourcepub fn default_route_table_association(&self) -> Option<&str>
pub fn default_route_table_association(&self) -> Option<&str>
Turn on or turn off automatic association with the default association route table.
sourcepub fn transit_gateway_cidr_blocks(&self) -> &[String]
pub fn transit_gateway_cidr_blocks(&self) -> &[String]
The transit gateway Classless Inter-Domain Routing (CIDR) blocks.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .transit_gateway_cidr_blocks.is_none()
.
sourcepub fn association_default_route_table_id(&self) -> Option<&str>
pub fn association_default_route_table_id(&self) -> Option<&str>
The ID of the default association route table.
sourcepub fn propagation_default_route_table_id(&self) -> Option<&str>
pub fn propagation_default_route_table_id(&self) -> Option<&str>
The ID of the default propagation route table.
sourcepub fn vpn_ecmp_support(&self) -> Option<&str>
pub fn vpn_ecmp_support(&self) -> Option<&str>
Turn on or turn off Equal Cost Multipath Protocol (ECMP) support.
sourcepub fn dns_support(&self) -> Option<&str>
pub fn dns_support(&self) -> Option<&str>
Turn on or turn off DNS support.
sourcepub fn multicast_support(&self) -> Option<&str>
pub fn multicast_support(&self) -> Option<&str>
Indicates whether multicast is supported on the transit gateway.
sourcepub fn amazon_side_asn(&self) -> Option<i32>
pub fn amazon_side_asn(&self) -> Option<i32>
A private Autonomous System Number (ASN) for the Amazon side of a BGP session.
source§impl AwsEc2TransitGatewayDetails
impl AwsEc2TransitGatewayDetails
sourcepub fn builder() -> AwsEc2TransitGatewayDetailsBuilder
pub fn builder() -> AwsEc2TransitGatewayDetailsBuilder
Creates a new builder-style object to manufacture AwsEc2TransitGatewayDetails
.
Trait Implementations§
source§impl Clone for AwsEc2TransitGatewayDetails
impl Clone for AwsEc2TransitGatewayDetails
source§fn clone(&self) -> AwsEc2TransitGatewayDetails
fn clone(&self) -> AwsEc2TransitGatewayDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AwsEc2TransitGatewayDetails
impl Debug for AwsEc2TransitGatewayDetails
source§impl PartialEq for AwsEc2TransitGatewayDetails
impl PartialEq for AwsEc2TransitGatewayDetails
source§fn eq(&self, other: &AwsEc2TransitGatewayDetails) -> bool
fn eq(&self, other: &AwsEc2TransitGatewayDetails) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsEc2TransitGatewayDetails
Auto Trait Implementations§
impl Freeze for AwsEc2TransitGatewayDetails
impl RefUnwindSafe for AwsEc2TransitGatewayDetails
impl Send for AwsEc2TransitGatewayDetails
impl Sync for AwsEc2TransitGatewayDetails
impl Unpin for AwsEc2TransitGatewayDetails
impl UnwindSafe for AwsEc2TransitGatewayDetails
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more