Struct k8s_cluster_api::v1beta1::infrastructure::aws::VPCSpec
source · [−]pub struct VPCSpec {
pub id: Option<String>,
pub cidr_block: Option<String>,
pub internet_gateway_id: Option<String>,
pub tags: Tags,
pub availability_zone_usage_limit: Option<i64>,
pub availability_zone_selection: Option<AZSelectionScheme>,
}
Expand description
VPCSpec configures an AWS VPC.
Fields
id: Option<String>
ID is the vpc-id of the VPC this provider should use to create resources.
cidr_block: Option<String>
CidrBlock is the CIDR block to be used when the provider creates a managed VPC. Defaults to 10.0.0.0/16.
internet_gateway_id: Option<String>
InternetGatewayID is the id of the internet gateway associated with the VPC.
Tags is a collection of tags describing the resource.
availability_zone_usage_limit: Option<i64>
availability_zone_selection: Option<AZSelectionScheme>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for VPCSpec
impl<'de> Deserialize<'de> for VPCSpec
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for VPCSpec
impl Send for VPCSpec
impl Sync for VPCSpec
impl Unpin for VPCSpec
impl UnwindSafe for VPCSpec
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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