[][src]Struct rusoto_ec2::CreateSubnetRequest

pub struct CreateSubnetRequest {
    pub availability_zone: Option<String>,
    pub availability_zone_id: Option<String>,
    pub cidr_block: String,
    pub dry_run: Option<bool>,
    pub ipv_6_cidr_block: Option<String>,
    pub vpc_id: String,
}

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.

availability_zone_id: Option<String>

The AZ ID of the 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 PartialEq<CreateSubnetRequest> for CreateSubnetRequest[src]

impl Default for CreateSubnetRequest[src]

impl Clone for CreateSubnetRequest[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for CreateSubnetRequest[src]

Auto Trait Implementations

impl Send for CreateSubnetRequest

impl Sync for CreateSubnetRequest

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self