Struct rusoto_ec2::CreateVpcRequest [−][src]
pub struct CreateVpcRequest { pub amazon_provided_ipv_6_cidr_block: Option<bool>, pub cidr_block: String, pub dry_run: Option<bool>, pub instance_tenancy: Option<String>, }
Contains the parameters for CreateVpc.
Fields
amazon_provided_ipv_6_cidr_block: Option<bool>
Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. You cannot specify the range of IP addresses, or the size of the CIDR block.
cidr_block: String
The IPv4 network range for the VPC, in CIDR notation. For example, 10.0.0.0/16
.
dry_run: Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
instance_tenancy: Option<String>
The tenancy options for instances launched into the VPC. For default
, instances are launched with shared tenancy by default. You can launch instances with any tenancy into a shared tenancy VPC. For dedicated
, instances are launched as dedicated tenancy instances by default. You can only launch instances with a tenancy of dedicated
or host
into a dedicated tenancy VPC.
Important: The host
value cannot be used with this parameter. Use the default
or dedicated
values only.
Default: default
Trait Implementations
impl Default for CreateVpcRequest
[src]
impl Default for CreateVpcRequest
fn default() -> CreateVpcRequest
[src]
fn default() -> CreateVpcRequest
Returns the "default value" for a type. Read more
impl Debug for CreateVpcRequest
[src]
impl Debug for CreateVpcRequest
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for CreateVpcRequest
[src]
impl Clone for CreateVpcRequest
fn clone(&self) -> CreateVpcRequest
[src]
fn clone(&self) -> CreateVpcRequest
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for CreateVpcRequest
[src]
impl PartialEq for CreateVpcRequest
fn eq(&self, other: &CreateVpcRequest) -> bool
[src]
fn eq(&self, other: &CreateVpcRequest) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &CreateVpcRequest) -> bool
[src]
fn ne(&self, other: &CreateVpcRequest) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for CreateVpcRequest
impl Send for CreateVpcRequest
impl Sync for CreateVpcRequest
impl Sync for CreateVpcRequest