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
destination_cidr_block: Option<String>
The IPv4 CIDR address block used for the destination match. Routing decisions are based on the most specific match.
destination_ipv_6_cidr_block: Option<String>
The IPv6 CIDR block used for the destination match. Routing decisions are based on the most specific match.
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
.
egress_only_internet_gateway_id: Option<String>
[IPv6 traffic only] The ID of an egress-only Internet gateway.
gateway_id: Option<String>
The ID of an Internet gateway or virtual private gateway attached to your VPC.
instance_id: Option<String>
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.
nat_gateway_id: Option<String>
[IPv4 traffic only] The ID of a NAT gateway.
network_interface_id: Option<String>
The ID of a network interface.
route_table_id: String
The ID of the route table for the route.
vpc_peering_connection_id: Option<String>
The ID of a VPC peering connection.
Trait Implementations
impl Default for CreateRouteRequest
[src]
impl Default for CreateRouteRequest
fn default() -> CreateRouteRequest
[src]
fn default() -> CreateRouteRequest
Returns the "default value" for a type. Read more
impl Debug for CreateRouteRequest
[src]
impl Debug for CreateRouteRequest
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 CreateRouteRequest
[src]
impl Clone for CreateRouteRequest
fn clone(&self) -> CreateRouteRequest
[src]
fn clone(&self) -> CreateRouteRequest
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 CreateRouteRequest
[src]
impl PartialEq for CreateRouteRequest
fn eq(&self, other: &CreateRouteRequest) -> bool
[src]
fn eq(&self, other: &CreateRouteRequest) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &CreateRouteRequest) -> bool
[src]
fn ne(&self, other: &CreateRouteRequest) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for CreateRouteRequest
impl Send for CreateRouteRequest
impl Sync for CreateRouteRequest
impl Sync for CreateRouteRequest