pub struct CreateTransitGatewayRouteRequest {
pub blackhole: Option<bool>,
pub destination_cidr_block: String,
pub dry_run: Option<bool>,
pub transit_gateway_attachment_id: Option<String>,
pub transit_gateway_route_table_id: String,
}
Fields§
§blackhole: Option<bool>
Indicates whether to drop traffic that matches this route.
destination_cidr_block: String
The CIDR range used for destination matches. 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
.
transit_gateway_attachment_id: Option<String>
The ID of the attachment.
transit_gateway_route_table_id: String
The ID of the transit gateway route table.
Trait Implementations§
Source§impl Clone for CreateTransitGatewayRouteRequest
impl Clone for CreateTransitGatewayRouteRequest
Source§fn clone(&self) -> CreateTransitGatewayRouteRequest
fn clone(&self) -> CreateTransitGatewayRouteRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for CreateTransitGatewayRouteRequest
impl Default for CreateTransitGatewayRouteRequest
Source§fn default() -> CreateTransitGatewayRouteRequest
fn default() -> CreateTransitGatewayRouteRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for CreateTransitGatewayRouteRequest
impl PartialEq for CreateTransitGatewayRouteRequest
Source§fn eq(&self, other: &CreateTransitGatewayRouteRequest) -> bool
fn eq(&self, other: &CreateTransitGatewayRouteRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CreateTransitGatewayRouteRequest
Auto Trait Implementations§
impl Freeze for CreateTransitGatewayRouteRequest
impl RefUnwindSafe for CreateTransitGatewayRouteRequest
impl Send for CreateTransitGatewayRouteRequest
impl Sync for CreateTransitGatewayRouteRequest
impl Unpin for CreateTransitGatewayRouteRequest
impl UnwindSafe for CreateTransitGatewayRouteRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more