Struct aws_sdk_ec2::model::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.