#[non_exhaustive]pub struct ModifyTransitGatewayVpcAttachmentRequestOptions {
pub dns_support: Option<DnsSupportValue>,
pub security_group_referencing_support: Option<SecurityGroupReferencingSupportValue>,
pub ipv6_support: Option<Ipv6SupportValue>,
pub appliance_mode_support: Option<ApplianceModeSupportValue>,
}
Expand description
Describes the options for a VPC attachment.
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.dns_support: Option<DnsSupportValue>
Enable or disable DNS support. The default is enable
.
security_group_referencing_support: Option<SecurityGroupReferencingSupportValue>
This parameter is in preview and may not be available for your account.
Enables you to reference a security group across VPCs attached to a transit gateway. Use this option to simplify security group management and control of instance-to-instance traffic across VPCs that are connected by transit gateway. You can also use this option to migrate from VPC peering (which was the only option that supported security group referencing) to transit gateways (which now also support security group referencing). This option is disabled by default and there are no additional costs to use this feature.
ipv6_support: Option<Ipv6SupportValue>
Enable or disable IPv6 support. The default is enable
.
appliance_mode_support: Option<ApplianceModeSupportValue>
Enable or disable support for appliance mode. If enabled, a traffic flow between a source and destination uses the same Availability Zone for the VPC attachment for the lifetime of that flow. The default is disable
.
Implementations§
source§impl ModifyTransitGatewayVpcAttachmentRequestOptions
impl ModifyTransitGatewayVpcAttachmentRequestOptions
sourcepub fn dns_support(&self) -> Option<&DnsSupportValue>
pub fn dns_support(&self) -> Option<&DnsSupportValue>
Enable or disable DNS support. The default is enable
.
sourcepub fn security_group_referencing_support(
&self,
) -> Option<&SecurityGroupReferencingSupportValue>
pub fn security_group_referencing_support( &self, ) -> Option<&SecurityGroupReferencingSupportValue>
This parameter is in preview and may not be available for your account.
Enables you to reference a security group across VPCs attached to a transit gateway. Use this option to simplify security group management and control of instance-to-instance traffic across VPCs that are connected by transit gateway. You can also use this option to migrate from VPC peering (which was the only option that supported security group referencing) to transit gateways (which now also support security group referencing). This option is disabled by default and there are no additional costs to use this feature.
sourcepub fn ipv6_support(&self) -> Option<&Ipv6SupportValue>
pub fn ipv6_support(&self) -> Option<&Ipv6SupportValue>
Enable or disable IPv6 support. The default is enable
.
sourcepub fn appliance_mode_support(&self) -> Option<&ApplianceModeSupportValue>
pub fn appliance_mode_support(&self) -> Option<&ApplianceModeSupportValue>
Enable or disable support for appliance mode. If enabled, a traffic flow between a source and destination uses the same Availability Zone for the VPC attachment for the lifetime of that flow. The default is disable
.
source§impl ModifyTransitGatewayVpcAttachmentRequestOptions
impl ModifyTransitGatewayVpcAttachmentRequestOptions
sourcepub fn builder() -> ModifyTransitGatewayVpcAttachmentRequestOptionsBuilder
pub fn builder() -> ModifyTransitGatewayVpcAttachmentRequestOptionsBuilder
Creates a new builder-style object to manufacture ModifyTransitGatewayVpcAttachmentRequestOptions
.
Trait Implementations§
source§impl Clone for ModifyTransitGatewayVpcAttachmentRequestOptions
impl Clone for ModifyTransitGatewayVpcAttachmentRequestOptions
source§fn clone(&self) -> ModifyTransitGatewayVpcAttachmentRequestOptions
fn clone(&self) -> ModifyTransitGatewayVpcAttachmentRequestOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for ModifyTransitGatewayVpcAttachmentRequestOptions
impl PartialEq for ModifyTransitGatewayVpcAttachmentRequestOptions
source§fn eq(&self, other: &ModifyTransitGatewayVpcAttachmentRequestOptions) -> bool
fn eq(&self, other: &ModifyTransitGatewayVpcAttachmentRequestOptions) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ModifyTransitGatewayVpcAttachmentRequestOptions
Auto Trait Implementations§
impl Freeze for ModifyTransitGatewayVpcAttachmentRequestOptions
impl RefUnwindSafe for ModifyTransitGatewayVpcAttachmentRequestOptions
impl Send for ModifyTransitGatewayVpcAttachmentRequestOptions
impl Sync for ModifyTransitGatewayVpcAttachmentRequestOptions
impl Unpin for ModifyTransitGatewayVpcAttachmentRequestOptions
impl UnwindSafe for ModifyTransitGatewayVpcAttachmentRequestOptions
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