Struct rusoto_ec2::CreateSubnetRequest [−][src]
pub struct CreateSubnetRequest { pub availability_zone: Option<String>, pub cidr_block: String, pub dry_run: Option<bool>, pub ipv_6_cidr_block: Option<String>, pub vpc_id: String, }
Contains the parameters for CreateSubnet.
Fields
availability_zone: Option<String>
The Availability Zone for the subnet.
Default: AWS selects one for you. If you create more than one subnet in your VPC, we may not necessarily select a different zone for each subnet.
cidr_block: String
The IPv4 network range for the subnet, in CIDR notation. For example, 10.0.0.0/24
.
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
.
ipv_6_cidr_block: Option<String>
The IPv6 network range for the subnet, in CIDR notation. The subnet size must use a /64 prefix length.
vpc_id: String
The ID of the VPC.
Trait Implementations
impl Default for CreateSubnetRequest
[src]
impl Default for CreateSubnetRequest
fn default() -> CreateSubnetRequest
[src]
fn default() -> CreateSubnetRequest
Returns the "default value" for a type. Read more
impl Debug for CreateSubnetRequest
[src]
impl Debug for CreateSubnetRequest
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 CreateSubnetRequest
[src]
impl Clone for CreateSubnetRequest
fn clone(&self) -> CreateSubnetRequest
[src]
fn clone(&self) -> CreateSubnetRequest
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 CreateSubnetRequest
[src]
impl PartialEq for CreateSubnetRequest
fn eq(&self, other: &CreateSubnetRequest) -> bool
[src]
fn eq(&self, other: &CreateSubnetRequest) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &CreateSubnetRequest) -> bool
[src]
fn ne(&self, other: &CreateSubnetRequest) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for CreateSubnetRequest
impl Send for CreateSubnetRequest
impl Sync for CreateSubnetRequest
impl Sync for CreateSubnetRequest