Struct aws_sdk_ec2::types::TransitGatewayRequestOptions
source · #[non_exhaustive]pub struct TransitGatewayRequestOptions {
pub amazon_side_asn: Option<i64>,
pub auto_accept_shared_attachments: Option<AutoAcceptSharedAttachmentsValue>,
pub default_route_table_association: Option<DefaultRouteTableAssociationValue>,
pub default_route_table_propagation: Option<DefaultRouteTablePropagationValue>,
pub vpn_ecmp_support: Option<VpnEcmpSupportValue>,
pub dns_support: Option<DnsSupportValue>,
pub multicast_support: Option<MulticastSupportValue>,
pub transit_gateway_cidr_blocks: Option<Vec<String>>,
}
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. The default is 64512
.
Enable or disable automatic acceptance of attachment requests. Disabled by default.
default_route_table_association: Option<DefaultRouteTableAssociationValue>
Enable or disable automatic association with the default association route table. Enabled by default.
default_route_table_propagation: Option<DefaultRouteTablePropagationValue>
Enable or disable automatic propagation of routes to the default propagation route table. Enabled by default.
vpn_ecmp_support: Option<VpnEcmpSupportValue>
Enable or disable Equal Cost Multipath Protocol support. Enabled by default.
dns_support: Option<DnsSupportValue>
Enable or disable DNS support. Enabled by default.
multicast_support: Option<MulticastSupportValue>
Indicates whether multicast is enabled on the transit gateway
transit_gateway_cidr_blocks: Option<Vec<String>>
One or more IPv4 or IPv6 CIDR blocks for the transit gateway. Must be a size /24 CIDR block or larger for IPv4, or a size /64 CIDR block or larger for IPv6.
Implementations§
source§impl TransitGatewayRequestOptions
impl TransitGatewayRequestOptions
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. The default is 64512
.
Enable or disable automatic acceptance of attachment requests. Disabled by default.
sourcepub fn default_route_table_association(
&self
) -> Option<&DefaultRouteTableAssociationValue>
pub fn default_route_table_association( &self ) -> Option<&DefaultRouteTableAssociationValue>
Enable or disable automatic association with the default association route table. Enabled by default.
sourcepub fn default_route_table_propagation(
&self
) -> Option<&DefaultRouteTablePropagationValue>
pub fn default_route_table_propagation( &self ) -> Option<&DefaultRouteTablePropagationValue>
Enable or disable automatic propagation of routes to the default propagation route table. Enabled by default.
sourcepub fn vpn_ecmp_support(&self) -> Option<&VpnEcmpSupportValue>
pub fn vpn_ecmp_support(&self) -> Option<&VpnEcmpSupportValue>
Enable or disable Equal Cost Multipath Protocol support. Enabled by default.
sourcepub fn dns_support(&self) -> Option<&DnsSupportValue>
pub fn dns_support(&self) -> Option<&DnsSupportValue>
Enable or disable DNS support. Enabled by default.
sourcepub fn multicast_support(&self) -> Option<&MulticastSupportValue>
pub fn multicast_support(&self) -> Option<&MulticastSupportValue>
Indicates whether multicast is enabled on the transit gateway
sourcepub fn transit_gateway_cidr_blocks(&self) -> Option<&[String]>
pub fn transit_gateway_cidr_blocks(&self) -> Option<&[String]>
One or more IPv4 or IPv6 CIDR blocks for the transit gateway. Must be a size /24 CIDR block or larger for IPv4, or a size /64 CIDR block or larger for IPv6.
source§impl TransitGatewayRequestOptions
impl TransitGatewayRequestOptions
sourcepub fn builder() -> TransitGatewayRequestOptionsBuilder
pub fn builder() -> TransitGatewayRequestOptionsBuilder
Creates a new builder-style object to manufacture TransitGatewayRequestOptions
.
Trait Implementations§
source§impl Clone for TransitGatewayRequestOptions
impl Clone for TransitGatewayRequestOptions
source§fn clone(&self) -> TransitGatewayRequestOptions
fn clone(&self) -> TransitGatewayRequestOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TransitGatewayRequestOptions
impl Debug for TransitGatewayRequestOptions
source§impl PartialEq<TransitGatewayRequestOptions> for TransitGatewayRequestOptions
impl PartialEq<TransitGatewayRequestOptions> for TransitGatewayRequestOptions
source§fn eq(&self, other: &TransitGatewayRequestOptions) -> bool
fn eq(&self, other: &TransitGatewayRequestOptions) -> bool
self
and other
values to be equal, and is used
by ==
.