#[non_exhaustive]pub struct VpcPeeringConnectionOptionsDescription { /* private fields */ }
Expand description
We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see Migrate from EC2-Classic to a VPC in the Amazon Elastic Compute Cloud User Guide.
Describes the VPC peering connection options.
Implementations§
source§impl VpcPeeringConnectionOptionsDescription
impl VpcPeeringConnectionOptionsDescription
sourcepub fn allow_dns_resolution_from_remote_vpc(&self) -> Option<bool>
pub fn allow_dns_resolution_from_remote_vpc(&self) -> Option<bool>
Indicates whether a local VPC can resolve public DNS hostnames to private IP addresses when queried from instances in a peer VPC.
sourcepub fn allow_egress_from_local_classic_link_to_remote_vpc(&self) -> Option<bool>
pub fn allow_egress_from_local_classic_link_to_remote_vpc(&self) -> Option<bool>
Indicates whether a local ClassicLink connection can communicate with the peer VPC over the VPC peering connection.
sourcepub fn allow_egress_from_local_vpc_to_remote_classic_link(&self) -> Option<bool>
pub fn allow_egress_from_local_vpc_to_remote_classic_link(&self) -> Option<bool>
Indicates whether a local VPC can communicate with a ClassicLink connection in the peer VPC over the VPC peering connection.
source§impl VpcPeeringConnectionOptionsDescription
impl VpcPeeringConnectionOptionsDescription
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture VpcPeeringConnectionOptionsDescription
.
Trait Implementations§
source§impl Clone for VpcPeeringConnectionOptionsDescription
impl Clone for VpcPeeringConnectionOptionsDescription
source§fn clone(&self) -> VpcPeeringConnectionOptionsDescription
fn clone(&self) -> VpcPeeringConnectionOptionsDescription
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq<VpcPeeringConnectionOptionsDescription> for VpcPeeringConnectionOptionsDescription
impl PartialEq<VpcPeeringConnectionOptionsDescription> for VpcPeeringConnectionOptionsDescription
source§fn eq(&self, other: &VpcPeeringConnectionOptionsDescription) -> bool
fn eq(&self, other: &VpcPeeringConnectionOptionsDescription) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.