Struct aws_sdk_ec2::model::peering_connection_options::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for PeeringConnectionOptions
Implementations
If true, the public DNS hostnames of instances in the specified VPC resolve to private IP addresses when queried from instances in the peer VPC.
If true, the public DNS hostnames of instances in the specified VPC resolve to private IP addresses when queried from instances in the peer VPC.
If true, enables outbound communication from an EC2-Classic instance that's linked to a local VPC using ClassicLink to instances in a peer VPC.
pub fn set_allow_egress_from_local_classic_link_to_remote_vpc(
self,
input: Option<bool>
) -> Self
pub fn set_allow_egress_from_local_classic_link_to_remote_vpc(
self,
input: Option<bool>
) -> Self
If true, enables outbound communication from an EC2-Classic instance that's linked to a local VPC using ClassicLink to instances in a peer VPC.
If true, enables outbound communication from instances in a local VPC to an EC2-Classic instance that's linked to a peer VPC using ClassicLink.
pub fn set_allow_egress_from_local_vpc_to_remote_classic_link(
self,
input: Option<bool>
) -> Self
pub fn set_allow_egress_from_local_vpc_to_remote_classic_link(
self,
input: Option<bool>
) -> Self
If true, enables outbound communication from instances in a local VPC to an EC2-Classic instance that's linked to a peer VPC using ClassicLink.
Consumes the builder and constructs a PeeringConnectionOptions
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more