#[non_exhaustive]pub struct CreateLocalGatewayRouteInput {
pub destination_cidr_block: Option<String>,
pub local_gateway_route_table_id: Option<String>,
pub local_gateway_virtual_interface_group_id: Option<String>,
pub dry_run: Option<bool>,
pub network_interface_id: Option<String>,
pub destination_prefix_list_id: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.destination_cidr_block: Option<String>
The CIDR range used for destination matches. Routing decisions are based on the most specific match.
local_gateway_route_table_id: Option<String>
The ID of the local gateway route table.
local_gateway_virtual_interface_group_id: Option<String>
The ID of the virtual interface group.
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
.
network_interface_id: Option<String>
The ID of the network interface.
destination_prefix_list_id: Option<String>
The ID of the prefix list. Use a prefix list in place of DestinationCidrBlock
. You cannot use DestinationPrefixListId
and DestinationCidrBlock
in the same request.
Implementations§
source§impl CreateLocalGatewayRouteInput
impl CreateLocalGatewayRouteInput
sourcepub fn destination_cidr_block(&self) -> Option<&str>
pub fn destination_cidr_block(&self) -> Option<&str>
The CIDR range used for destination matches. Routing decisions are based on the most specific match.
sourcepub fn local_gateway_route_table_id(&self) -> Option<&str>
pub fn local_gateway_route_table_id(&self) -> Option<&str>
The ID of the local gateway route table.
sourcepub fn local_gateway_virtual_interface_group_id(&self) -> Option<&str>
pub fn local_gateway_virtual_interface_group_id(&self) -> Option<&str>
The ID of the virtual interface group.
sourcepub fn dry_run(&self) -> Option<bool>
pub fn dry_run(&self) -> 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
.
sourcepub fn network_interface_id(&self) -> Option<&str>
pub fn network_interface_id(&self) -> Option<&str>
The ID of the network interface.
sourcepub fn destination_prefix_list_id(&self) -> Option<&str>
pub fn destination_prefix_list_id(&self) -> Option<&str>
The ID of the prefix list. Use a prefix list in place of DestinationCidrBlock
. You cannot use DestinationPrefixListId
and DestinationCidrBlock
in the same request.
source§impl CreateLocalGatewayRouteInput
impl CreateLocalGatewayRouteInput
sourcepub fn builder() -> CreateLocalGatewayRouteInputBuilder
pub fn builder() -> CreateLocalGatewayRouteInputBuilder
Creates a new builder-style object to manufacture CreateLocalGatewayRouteInput
.
Trait Implementations§
source§impl Clone for CreateLocalGatewayRouteInput
impl Clone for CreateLocalGatewayRouteInput
source§fn clone(&self) -> CreateLocalGatewayRouteInput
fn clone(&self) -> CreateLocalGatewayRouteInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateLocalGatewayRouteInput
impl Debug for CreateLocalGatewayRouteInput
source§impl PartialEq for CreateLocalGatewayRouteInput
impl PartialEq for CreateLocalGatewayRouteInput
source§fn eq(&self, other: &CreateLocalGatewayRouteInput) -> bool
fn eq(&self, other: &CreateLocalGatewayRouteInput) -> bool
self
and other
values to be equal, and is used
by ==
.