[][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 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 PartialEq<CreateSubnetRequest> for CreateSubnetRequest[src]

impl Debug for CreateSubnetRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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

impl<T> Erased for T

impl<T> Same<T> for T

type Output = T

Should always be Self