Struct aws_sdk_ec2::types::Vpc
source · #[non_exhaustive]pub struct Vpc {
pub cidr_block: Option<String>,
pub dhcp_options_id: Option<String>,
pub state: Option<VpcState>,
pub vpc_id: Option<String>,
pub owner_id: Option<String>,
pub instance_tenancy: Option<Tenancy>,
pub ipv6_cidr_block_association_set: Option<Vec<VpcIpv6CidrBlockAssociation>>,
pub cidr_block_association_set: Option<Vec<VpcCidrBlockAssociation>>,
pub is_default: Option<bool>,
pub tags: Option<Vec<Tag>>,
}
Expand description
Describes a 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.cidr_block: Option<String>
The primary IPv4 CIDR block for the VPC.
dhcp_options_id: Option<String>
The ID of the set of DHCP options you've associated with the VPC.
state: Option<VpcState>
The current state of the VPC.
vpc_id: Option<String>
The ID of the VPC.
owner_id: Option<String>
The ID of the Amazon Web Services account that owns the VPC.
instance_tenancy: Option<Tenancy>
The allowed tenancy of instances launched into the VPC.
ipv6_cidr_block_association_set: Option<Vec<VpcIpv6CidrBlockAssociation>>
Information about the IPv6 CIDR blocks associated with the VPC.
cidr_block_association_set: Option<Vec<VpcCidrBlockAssociation>>
Information about the IPv4 CIDR blocks associated with the VPC.
is_default: Option<bool>
Indicates whether the VPC is the default VPC.
Any tags assigned to the 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.