Struct aws_sdk_ec2::model::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
sourceimpl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more