Struct rusoto_ec2::CreateRouteRequest [] [src]

pub struct CreateRouteRequest {
    pub destination_cidr_block: Option<String>,
    pub destination_ipv_6_cidr_block: Option<String>,
    pub dry_run: Option<bool>,
    pub egress_only_internet_gateway_id: Option<String>,
    pub gateway_id: Option<String>,
    pub instance_id: Option<String>,
    pub nat_gateway_id: Option<String>,
    pub network_interface_id: Option<String>,
    pub route_table_id: String,
    pub vpc_peering_connection_id: Option<String>,
}

Contains the parameters for CreateRoute.

Fields

The IPv4 CIDR address block used for the destination match. Routing decisions are based on the most specific match.

The IPv6 CIDR block used for the destination match. Routing decisions are based on the most specific match.

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.

[IPv6 traffic only] The ID of an egress-only Internet gateway.

The ID of an Internet gateway or virtual private gateway attached to your VPC.

The ID of a NAT instance in your VPC. The operation fails if you specify an instance ID unless exactly one network interface is attached.

[IPv4 traffic only] The ID of a NAT gateway.

The ID of a network interface.

The ID of the route table for the route.

The ID of a VPC peering connection.

Trait Implementations

impl Default for CreateRouteRequest
[src]

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

impl Debug for CreateRouteRequest
[src]

Formats the value using the given formatter.

impl Clone for CreateRouteRequest
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more