Struct aws_sdk_ec2::types::VpcPeeringConnection
source · #[non_exhaustive]pub struct VpcPeeringConnection {
pub accepter_vpc_info: Option<VpcPeeringConnectionVpcInfo>,
pub expiration_time: Option<DateTime>,
pub requester_vpc_info: Option<VpcPeeringConnectionVpcInfo>,
pub status: Option<VpcPeeringConnectionStateReason>,
pub tags: Option<Vec<Tag>>,
pub vpc_peering_connection_id: Option<String>,
}
Expand description
Describes a VPC peering connection.
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.accepter_vpc_info: Option<VpcPeeringConnectionVpcInfo>
Information about the accepter VPC. CIDR block information is only returned when describing an active VPC peering connection.
expiration_time: Option<DateTime>
The time that an unaccepted VPC peering connection will expire.
requester_vpc_info: Option<VpcPeeringConnectionVpcInfo>
Information about the requester VPC. CIDR block information is only returned when describing an active VPC peering connection.
status: Option<VpcPeeringConnectionStateReason>
The status of the VPC peering connection.
Any tags assigned to the resource.
vpc_peering_connection_id: Option<String>
The ID of the VPC peering connection.
Implementations§
source§impl VpcPeeringConnection
impl VpcPeeringConnection
sourcepub fn accepter_vpc_info(&self) -> Option<&VpcPeeringConnectionVpcInfo>
pub fn accepter_vpc_info(&self) -> Option<&VpcPeeringConnectionVpcInfo>
Information about the accepter VPC. CIDR block information is only returned when describing an active VPC peering connection.
sourcepub fn expiration_time(&self) -> Option<&DateTime>
pub fn expiration_time(&self) -> Option<&DateTime>
The time that an unaccepted VPC peering connection will expire.
sourcepub fn requester_vpc_info(&self) -> Option<&VpcPeeringConnectionVpcInfo>
pub fn requester_vpc_info(&self) -> Option<&VpcPeeringConnectionVpcInfo>
Information about the requester VPC. CIDR block information is only returned when describing an active VPC peering connection.
sourcepub fn status(&self) -> Option<&VpcPeeringConnectionStateReason>
pub fn status(&self) -> Option<&VpcPeeringConnectionStateReason>
The status of the VPC peering connection.
Any tags assigned to the resource.
sourcepub fn vpc_peering_connection_id(&self) -> Option<&str>
pub fn vpc_peering_connection_id(&self) -> Option<&str>
The ID of the VPC peering connection.
source§impl VpcPeeringConnection
impl VpcPeeringConnection
sourcepub fn builder() -> VpcPeeringConnectionBuilder
pub fn builder() -> VpcPeeringConnectionBuilder
Creates a new builder-style object to manufacture VpcPeeringConnection
.
Trait Implementations§
source§impl Clone for VpcPeeringConnection
impl Clone for VpcPeeringConnection
source§fn clone(&self) -> VpcPeeringConnection
fn clone(&self) -> VpcPeeringConnection
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VpcPeeringConnection
impl Debug for VpcPeeringConnection
source§impl PartialEq<VpcPeeringConnection> for VpcPeeringConnection
impl PartialEq<VpcPeeringConnection> for VpcPeeringConnection
source§fn eq(&self, other: &VpcPeeringConnection) -> bool
fn eq(&self, other: &VpcPeeringConnection) -> bool
self
and other
values to be equal, and is used
by ==
.