#[non_exhaustive]pub struct VpcInfoPeeringOptionsDetails {
pub allow_dns_resolution_from_remote_vpc: bool,
pub allow_egress_from_local_classic_link_to_remote_vpc: bool,
pub allow_egress_from_local_vpc_to_remote_classic_link: bool,
}
Expand description
Provides information about the VPC peering connection options for the accepter or requester VPC.
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.allow_dns_resolution_from_remote_vpc: bool
Indicates whether a local VPC can resolve public DNS hostnames to private IP addresses when queried from instances in a peer VPC.
allow_egress_from_local_classic_link_to_remote_vpc: bool
Indicates whether a local ClassicLink connection can communicate with the peer VPC over the VPC peering connection.
allow_egress_from_local_vpc_to_remote_classic_link: bool
Indicates whether a local VPC can communicate with a ClassicLink connection in the peer VPC over the VPC peering connection.
Implementations§
source§impl VpcInfoPeeringOptionsDetails
impl VpcInfoPeeringOptionsDetails
sourcepub fn allow_dns_resolution_from_remote_vpc(&self) -> bool
pub fn allow_dns_resolution_from_remote_vpc(&self) -> 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) -> bool
pub fn allow_egress_from_local_classic_link_to_remote_vpc(&self) -> 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) -> bool
pub fn allow_egress_from_local_vpc_to_remote_classic_link(&self) -> bool
Indicates whether a local VPC can communicate with a ClassicLink connection in the peer VPC over the VPC peering connection.
source§impl VpcInfoPeeringOptionsDetails
impl VpcInfoPeeringOptionsDetails
sourcepub fn builder() -> VpcInfoPeeringOptionsDetailsBuilder
pub fn builder() -> VpcInfoPeeringOptionsDetailsBuilder
Creates a new builder-style object to manufacture VpcInfoPeeringOptionsDetails
.
Trait Implementations§
source§impl Clone for VpcInfoPeeringOptionsDetails
impl Clone for VpcInfoPeeringOptionsDetails
source§fn clone(&self) -> VpcInfoPeeringOptionsDetails
fn clone(&self) -> VpcInfoPeeringOptionsDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VpcInfoPeeringOptionsDetails
impl Debug for VpcInfoPeeringOptionsDetails
source§impl PartialEq<VpcInfoPeeringOptionsDetails> for VpcInfoPeeringOptionsDetails
impl PartialEq<VpcInfoPeeringOptionsDetails> for VpcInfoPeeringOptionsDetails
source§fn eq(&self, other: &VpcInfoPeeringOptionsDetails) -> bool
fn eq(&self, other: &VpcInfoPeeringOptionsDetails) -> bool
self
and other
values to be equal, and is used
by ==
.