Struct aws_sdk_ec2::model::ModifyTransitGatewayOptions
source · [−]#[non_exhaustive]pub struct ModifyTransitGatewayOptions {
pub add_transit_gateway_cidr_blocks: Option<Vec<String>>,
pub remove_transit_gateway_cidr_blocks: Option<Vec<String>>,
pub vpn_ecmp_support: Option<VpnEcmpSupportValue>,
pub dns_support: Option<DnsSupportValue>,
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>,
}
Expand description
The transit gateway options.
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.add_transit_gateway_cidr_blocks: Option<Vec<String>>
Adds 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.
remove_transit_gateway_cidr_blocks: Option<Vec<String>>
Removes CIDR blocks for the transit gateway.
vpn_ecmp_support: Option<VpnEcmpSupportValue>
Enable or disable Equal Cost Multipath Protocol support.
dns_support: Option<DnsSupportValue>
Enable or disable DNS support.
Enable or disable automatic acceptance of attachment requests.
default_route_table_association: Option<DefaultRouteTableAssociationValue>
Enable or disable automatic association 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>
Enable or disable automatic propagation of routes to the default propagation route table.
propagation_default_route_table_id: Option<String>
The ID of the default propagation route table.
Implementations
sourceimpl ModifyTransitGatewayOptions
impl ModifyTransitGatewayOptions
sourcepub fn add_transit_gateway_cidr_blocks(&self) -> Option<&[String]>
pub fn add_transit_gateway_cidr_blocks(&self) -> Option<&[String]>
Adds 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.
sourcepub fn remove_transit_gateway_cidr_blocks(&self) -> Option<&[String]>
pub fn remove_transit_gateway_cidr_blocks(&self) -> Option<&[String]>
Removes CIDR blocks for the transit gateway.
sourcepub fn vpn_ecmp_support(&self) -> Option<&VpnEcmpSupportValue>
pub fn vpn_ecmp_support(&self) -> Option<&VpnEcmpSupportValue>
Enable or disable Equal Cost Multipath Protocol support.
sourcepub fn dns_support(&self) -> Option<&DnsSupportValue>
pub fn dns_support(&self) -> Option<&DnsSupportValue>
Enable or disable DNS support.
Enable or disable automatic acceptance of attachment requests.
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.
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>
Enable or disable automatic propagation of 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.
sourceimpl ModifyTransitGatewayOptions
impl ModifyTransitGatewayOptions
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ModifyTransitGatewayOptions
.
Trait Implementations
sourceimpl Clone for ModifyTransitGatewayOptions
impl Clone for ModifyTransitGatewayOptions
sourcefn clone(&self) -> ModifyTransitGatewayOptions
fn clone(&self) -> ModifyTransitGatewayOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ModifyTransitGatewayOptions
impl Debug for ModifyTransitGatewayOptions
sourceimpl PartialEq<ModifyTransitGatewayOptions> for ModifyTransitGatewayOptions
impl PartialEq<ModifyTransitGatewayOptions> for ModifyTransitGatewayOptions
sourcefn eq(&self, other: &ModifyTransitGatewayOptions) -> bool
fn eq(&self, other: &ModifyTransitGatewayOptions) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ModifyTransitGatewayOptions) -> bool
fn ne(&self, other: &ModifyTransitGatewayOptions) -> bool
This method tests for !=
.
impl StructuralPartialEq for ModifyTransitGatewayOptions
Auto Trait Implementations
impl RefUnwindSafe for ModifyTransitGatewayOptions
impl Send for ModifyTransitGatewayOptions
impl Sync for ModifyTransitGatewayOptions
impl Unpin for ModifyTransitGatewayOptions
impl UnwindSafe for ModifyTransitGatewayOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more