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

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.

The IPv4 network range for the subnet, in CIDR notation. For example, 10.0.0.0/24.

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.

The IPv6 network range for the subnet, in CIDR notation. The subnet size must use a /64 prefix length.

The ID of the VPC.

Trait Implementations

impl Default for CreateSubnetRequest
[src]

Returns the "default value" for a type. Read more

impl Debug for CreateSubnetRequest
[src]

Formats the value using the given formatter. Read more

impl Clone for CreateSubnetRequest
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for CreateSubnetRequest
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations