Struct aws_sdk_ec2::types::TransitGatewayOptions
source · #[non_exhaustive]pub struct TransitGatewayOptions {
pub amazon_side_asn: Option<i64>,
pub transit_gateway_cidr_blocks: Option<Vec<String>>,
pub auto_accept_shared_attachments: Option<AutoAcceptSharedAttachmentsValue>,
pub default_route_table_association: Option<DefaultRouteTableAssociationValue>,
pub association_default_route_table_id: Option<String>,
pub default_route_table_propagation: Option<DefaultRouteTablePropagationValue>,
pub propagation_default_route_table_id: Option<String>,
pub vpn_ecmp_support: Option<VpnEcmpSupportValue>,
pub dns_support: Option<DnsSupportValue>,
pub multicast_support: Option<MulticastSupportValue>,
}
Expand description
Describes the options for a transit gateway.
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.amazon_side_asn: Option<i64>
A private Autonomous System Number (ASN) for the Amazon side of a BGP session. The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to 4294967294 for 32-bit ASNs.
transit_gateway_cidr_blocks: Option<Vec<String>>
The transit gateway CIDR blocks.
Indicates whether attachment requests are automatically accepted.
default_route_table_association: Option<DefaultRouteTableAssociationValue>
Indicates whether resource attachments are automatically associated with the default association route table.
association_default_route_table_id: Option<String>
The ID of the default association route table.
default_route_table_propagation: Option<DefaultRouteTablePropagationValue>
Indicates whether resource attachments automatically propagate routes to the default propagation route table.
propagation_default_route_table_id: Option<String>
The ID of the default propagation route table.
vpn_ecmp_support: Option<VpnEcmpSupportValue>
Indicates whether Equal Cost Multipath Protocol support is enabled.
dns_support: Option<DnsSupportValue>
Indicates whether DNS support is enabled.
multicast_support: Option<MulticastSupportValue>
Indicates whether multicast is enabled on the transit gateway
Implementations§
source§impl TransitGatewayOptions
impl TransitGatewayOptions
sourcepub fn amazon_side_asn(&self) -> Option<i64>
pub fn amazon_side_asn(&self) -> Option<i64>
A private Autonomous System Number (ASN) for the Amazon side of a BGP session. The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to 4294967294 for 32-bit ASNs.
sourcepub fn transit_gateway_cidr_blocks(&self) -> Option<&[String]>
pub fn transit_gateway_cidr_blocks(&self) -> Option<&[String]>
The transit gateway CIDR blocks.
Indicates whether attachment requests are automatically accepted.
sourcepub fn default_route_table_association(
&self
) -> Option<&DefaultRouteTableAssociationValue>
pub fn default_route_table_association( &self ) -> Option<&DefaultRouteTableAssociationValue>
Indicates whether resource attachments are automatically associated with the default association route table.
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 default_route_table_propagation(
&self
) -> Option<&DefaultRouteTablePropagationValue>
pub fn default_route_table_propagation( &self ) -> Option<&DefaultRouteTablePropagationValue>
Indicates whether resource attachments automatically propagate routes to the default propagation 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<&VpnEcmpSupportValue>
pub fn vpn_ecmp_support(&self) -> Option<&VpnEcmpSupportValue>
Indicates whether Equal Cost Multipath Protocol support is enabled.
sourcepub fn dns_support(&self) -> Option<&DnsSupportValue>
pub fn dns_support(&self) -> Option<&DnsSupportValue>
Indicates whether DNS support is enabled.
sourcepub fn multicast_support(&self) -> Option<&MulticastSupportValue>
pub fn multicast_support(&self) -> Option<&MulticastSupportValue>
Indicates whether multicast is enabled on the transit gateway
source§impl TransitGatewayOptions
impl TransitGatewayOptions
sourcepub fn builder() -> TransitGatewayOptionsBuilder
pub fn builder() -> TransitGatewayOptionsBuilder
Creates a new builder-style object to manufacture TransitGatewayOptions
.
Trait Implementations§
source§impl Clone for TransitGatewayOptions
impl Clone for TransitGatewayOptions
source§fn clone(&self) -> TransitGatewayOptions
fn clone(&self) -> TransitGatewayOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TransitGatewayOptions
impl Debug for TransitGatewayOptions
source§impl PartialEq<TransitGatewayOptions> for TransitGatewayOptions
impl PartialEq<TransitGatewayOptions> for TransitGatewayOptions
source§fn eq(&self, other: &TransitGatewayOptions) -> bool
fn eq(&self, other: &TransitGatewayOptions) -> bool
self
and other
values to be equal, and is used
by ==
.