#[non_exhaustive]pub struct CreateTransitGatewayVpcAttachmentRequestOptionsBuilder { /* private fields */ }
Expand description
A builder for CreateTransitGatewayVpcAttachmentRequestOptions
.
Implementations§
source§impl CreateTransitGatewayVpcAttachmentRequestOptionsBuilder
impl CreateTransitGatewayVpcAttachmentRequestOptionsBuilder
sourcepub fn dns_support(self, input: DnsSupportValue) -> Self
pub fn dns_support(self, input: DnsSupportValue) -> Self
Enable or disable DNS support. The default is enable
.
sourcepub fn set_dns_support(self, input: Option<DnsSupportValue>) -> Self
pub fn set_dns_support(self, input: Option<DnsSupportValue>) -> Self
Enable or disable DNS support. The default is enable
.
sourcepub fn get_dns_support(&self) -> &Option<DnsSupportValue>
pub fn get_dns_support(&self) -> &Option<DnsSupportValue>
Enable or disable DNS support. The default is enable
.
sourcepub fn security_group_referencing_support(
self,
input: SecurityGroupReferencingSupportValue,
) -> Self
pub fn security_group_referencing_support( self, input: SecurityGroupReferencingSupportValue, ) -> Self
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.
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.
sourcepub fn set_security_group_referencing_support(
self,
input: Option<SecurityGroupReferencingSupportValue>,
) -> Self
pub fn set_security_group_referencing_support( self, input: Option<SecurityGroupReferencingSupportValue>, ) -> Self
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.
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.
sourcepub fn get_security_group_referencing_support(
&self,
) -> &Option<SecurityGroupReferencingSupportValue>
pub fn get_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.
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.
sourcepub fn ipv6_support(self, input: Ipv6SupportValue) -> Self
pub fn ipv6_support(self, input: Ipv6SupportValue) -> Self
Enable or disable IPv6 support. The default is disable
.
sourcepub fn set_ipv6_support(self, input: Option<Ipv6SupportValue>) -> Self
pub fn set_ipv6_support(self, input: Option<Ipv6SupportValue>) -> Self
Enable or disable IPv6 support. The default is disable
.
sourcepub fn get_ipv6_support(&self) -> &Option<Ipv6SupportValue>
pub fn get_ipv6_support(&self) -> &Option<Ipv6SupportValue>
Enable or disable IPv6 support. The default is disable
.
sourcepub fn appliance_mode_support(self, input: ApplianceModeSupportValue) -> Self
pub fn appliance_mode_support(self, input: ApplianceModeSupportValue) -> Self
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
.
sourcepub fn set_appliance_mode_support(
self,
input: Option<ApplianceModeSupportValue>,
) -> Self
pub fn set_appliance_mode_support( self, input: Option<ApplianceModeSupportValue>, ) -> Self
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
.
sourcepub fn get_appliance_mode_support(&self) -> &Option<ApplianceModeSupportValue>
pub fn get_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
.
sourcepub fn build(self) -> CreateTransitGatewayVpcAttachmentRequestOptions
pub fn build(self) -> CreateTransitGatewayVpcAttachmentRequestOptions
Consumes the builder and constructs a CreateTransitGatewayVpcAttachmentRequestOptions
.
Trait Implementations§
source§impl Clone for CreateTransitGatewayVpcAttachmentRequestOptionsBuilder
impl Clone for CreateTransitGatewayVpcAttachmentRequestOptionsBuilder
source§fn clone(&self) -> CreateTransitGatewayVpcAttachmentRequestOptionsBuilder
fn clone(&self) -> CreateTransitGatewayVpcAttachmentRequestOptionsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateTransitGatewayVpcAttachmentRequestOptionsBuilder
impl Default for CreateTransitGatewayVpcAttachmentRequestOptionsBuilder
source§fn default() -> CreateTransitGatewayVpcAttachmentRequestOptionsBuilder
fn default() -> CreateTransitGatewayVpcAttachmentRequestOptionsBuilder
source§impl PartialEq for CreateTransitGatewayVpcAttachmentRequestOptionsBuilder
impl PartialEq for CreateTransitGatewayVpcAttachmentRequestOptionsBuilder
source§fn eq(
&self,
other: &CreateTransitGatewayVpcAttachmentRequestOptionsBuilder,
) -> bool
fn eq( &self, other: &CreateTransitGatewayVpcAttachmentRequestOptionsBuilder, ) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateTransitGatewayVpcAttachmentRequestOptionsBuilder
Auto Trait Implementations§
impl Freeze for CreateTransitGatewayVpcAttachmentRequestOptionsBuilder
impl RefUnwindSafe for CreateTransitGatewayVpcAttachmentRequestOptionsBuilder
impl Send for CreateTransitGatewayVpcAttachmentRequestOptionsBuilder
impl Sync for CreateTransitGatewayVpcAttachmentRequestOptionsBuilder
impl Unpin for CreateTransitGatewayVpcAttachmentRequestOptionsBuilder
impl UnwindSafe for CreateTransitGatewayVpcAttachmentRequestOptionsBuilder
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