Struct aws_sdk_ec2::types::Vpc
source · #[non_exhaustive]pub struct Vpc { /* private fields */ }
Expand description
Describes a VPC.
Implementations§
source§impl Vpc
impl Vpc
sourcepub fn cidr_block(&self) -> Option<&str>
pub fn cidr_block(&self) -> Option<&str>
The primary IPv4 CIDR block for the VPC.
sourcepub fn dhcp_options_id(&self) -> Option<&str>
pub fn dhcp_options_id(&self) -> Option<&str>
The ID of the set of DHCP options you've associated with the VPC.
sourcepub fn owner_id(&self) -> Option<&str>
pub fn owner_id(&self) -> Option<&str>
The ID of the Amazon Web Services account that owns the VPC.
sourcepub fn instance_tenancy(&self) -> Option<&Tenancy>
pub fn instance_tenancy(&self) -> Option<&Tenancy>
The allowed tenancy of instances launched into the VPC.
sourcepub fn ipv6_cidr_block_association_set(
&self
) -> Option<&[VpcIpv6CidrBlockAssociation]>
pub fn ipv6_cidr_block_association_set( &self ) -> Option<&[VpcIpv6CidrBlockAssociation]>
Information about the IPv6 CIDR blocks associated with the VPC.
sourcepub fn cidr_block_association_set(&self) -> Option<&[VpcCidrBlockAssociation]>
pub fn cidr_block_association_set(&self) -> Option<&[VpcCidrBlockAssociation]>
Information about the IPv4 CIDR blocks associated with the VPC.
sourcepub fn is_default(&self) -> Option<bool>
pub fn is_default(&self) -> Option<bool>
Indicates whether the VPC is the default VPC.
Any tags assigned to the VPC.
Trait Implementations§
impl StructuralPartialEq for Vpc
Auto Trait Implementations§
impl RefUnwindSafe for Vpc
impl Send for Vpc
impl Sync for Vpc
impl Unpin for Vpc
impl UnwindSafe for Vpc
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
Mutably borrows from an owned value. Read more