#[non_exhaustive]pub struct TransitGatewayVpcAttachmentOptions {
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 VPC attachment 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.dns_support: Option<DnsSupportValue>
Indicates whether DNS support is enabled.
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>
Indicates whether IPv6 support is disabled.
appliance_mode_support: Option<ApplianceModeSupportValue>
Indicates whether appliance mode support is enabled.
Implementations§
source§impl TransitGatewayVpcAttachmentOptions
impl TransitGatewayVpcAttachmentOptions
sourcepub fn dns_support(&self) -> Option<&DnsSupportValue>
pub fn dns_support(&self) -> Option<&DnsSupportValue>
Indicates whether DNS support is enabled.
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>
Indicates whether IPv6 support is disabled.
sourcepub fn appliance_mode_support(&self) -> Option<&ApplianceModeSupportValue>
pub fn appliance_mode_support(&self) -> Option<&ApplianceModeSupportValue>
Indicates whether appliance mode support is enabled.
source§impl TransitGatewayVpcAttachmentOptions
impl TransitGatewayVpcAttachmentOptions
sourcepub fn builder() -> TransitGatewayVpcAttachmentOptionsBuilder
pub fn builder() -> TransitGatewayVpcAttachmentOptionsBuilder
Creates a new builder-style object to manufacture TransitGatewayVpcAttachmentOptions
.
Trait Implementations§
source§impl Clone for TransitGatewayVpcAttachmentOptions
impl Clone for TransitGatewayVpcAttachmentOptions
source§fn clone(&self) -> TransitGatewayVpcAttachmentOptions
fn clone(&self) -> TransitGatewayVpcAttachmentOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for TransitGatewayVpcAttachmentOptions
impl PartialEq for TransitGatewayVpcAttachmentOptions
source§fn eq(&self, other: &TransitGatewayVpcAttachmentOptions) -> bool
fn eq(&self, other: &TransitGatewayVpcAttachmentOptions) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TransitGatewayVpcAttachmentOptions
Auto Trait Implementations§
impl Freeze for TransitGatewayVpcAttachmentOptions
impl RefUnwindSafe for TransitGatewayVpcAttachmentOptions
impl Send for TransitGatewayVpcAttachmentOptions
impl Sync for TransitGatewayVpcAttachmentOptions
impl Unpin for TransitGatewayVpcAttachmentOptions
impl UnwindSafe for TransitGatewayVpcAttachmentOptions
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