#[non_exhaustive]pub struct CreateTransitGatewayVpcAttachmentRequestOptions {
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>
Enables you to reference a security group across VPCs attached to a transit gateway (TGW). 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.
If you don't enable or disable SecurityGroupReferencingSupport in the request, the attachment will inherit the security group referencing support setting on the transit gateway.
For important information about this feature, see Create a transit gateway attachment to a VPC in the Amazon Web Services Transit Gateway Guide.
ipv6_support: Option<Ipv6SupportValue>
Enable or disable IPv6 support. The default is disable
.
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 CreateTransitGatewayVpcAttachmentRequestOptions
impl CreateTransitGatewayVpcAttachmentRequestOptions
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>
Enables you to reference a security group across VPCs attached to a transit gateway (TGW). 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.
If you don't enable or disable SecurityGroupReferencingSupport in the request, the attachment will inherit the security group referencing support setting on the transit gateway.
For important information about this feature, see Create a transit gateway attachment to a VPC in the Amazon Web Services Transit Gateway Guide.
sourcepub fn ipv6_support(&self) -> Option<&Ipv6SupportValue>
pub fn ipv6_support(&self) -> Option<&Ipv6SupportValue>
Enable or disable IPv6 support. The default is disable
.
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 CreateTransitGatewayVpcAttachmentRequestOptions
impl CreateTransitGatewayVpcAttachmentRequestOptions
sourcepub fn builder() -> CreateTransitGatewayVpcAttachmentRequestOptionsBuilder
pub fn builder() -> CreateTransitGatewayVpcAttachmentRequestOptionsBuilder
Creates a new builder-style object to manufacture CreateTransitGatewayVpcAttachmentRequestOptions
.
Trait Implementations§
source§impl Clone for CreateTransitGatewayVpcAttachmentRequestOptions
impl Clone for CreateTransitGatewayVpcAttachmentRequestOptions
source§fn clone(&self) -> CreateTransitGatewayVpcAttachmentRequestOptions
fn clone(&self) -> CreateTransitGatewayVpcAttachmentRequestOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for CreateTransitGatewayVpcAttachmentRequestOptions
impl PartialEq for CreateTransitGatewayVpcAttachmentRequestOptions
source§fn eq(&self, other: &CreateTransitGatewayVpcAttachmentRequestOptions) -> bool
fn eq(&self, other: &CreateTransitGatewayVpcAttachmentRequestOptions) -> bool
self
and other
values to be equal, and is used
by ==
.