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§
Source§impl<'de> Deserialize<'de> for VPCSpec
impl<'de> Deserialize<'de> for VPCSpec
Source§fn 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 Freeze for VPCSpec
impl RefUnwindSafe for VPCSpec
impl Send for VPCSpec
impl Sync for VPCSpec
impl Unpin for VPCSpec
impl UnwindSafe for VPCSpec
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