Struct aws_sdk_ec2::types::AnalysisRouteTableRoute
source · #[non_exhaustive]pub struct AnalysisRouteTableRoute {Show 14 fields
pub destination_cidr: Option<String>,
pub destination_prefix_list_id: Option<String>,
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 origin: Option<String>,
pub transit_gateway_id: Option<String>,
pub vpc_peering_connection_id: Option<String>,
pub state: Option<String>,
pub carrier_gateway_id: Option<String>,
pub core_network_arn: Option<String>,
pub local_gateway_id: Option<String>,
}
Expand description
Describes a route table route.
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: Option<String>
The destination IPv4 address, in CIDR notation.
destination_prefix_list_id: Option<String>
The prefix of the Amazon Web Service.
egress_only_internet_gateway_id: Option<String>
The ID of an egress-only internet gateway.
gateway_id: Option<String>
The ID of the gateway, such as an internet gateway or virtual private gateway.
instance_id: Option<String>
The ID of the instance, such as a NAT instance.
nat_gateway_id: Option<String>
The ID of a NAT gateway.
network_interface_id: Option<String>
The ID of a network interface.
origin: Option<String>
Describes how the route was created. The following are the possible values:
-
CreateRouteTable - The route was automatically created when the route table was created.
-
CreateRoute - The route was manually added to the route table.
-
EnableVgwRoutePropagation - The route was propagated by route propagation.
transit_gateway_id: Option<String>
The ID of a transit gateway.
vpc_peering_connection_id: Option<String>
The ID of a VPC peering connection.
state: Option<String>
The state. The following are the possible values:
-
active
-
blackhole
carrier_gateway_id: Option<String>
The ID of a carrier gateway.
core_network_arn: Option<String>
The Amazon Resource Name (ARN) of a core network.
local_gateway_id: Option<String>
The ID of a local gateway.
Implementations§
source§impl AnalysisRouteTableRoute
impl AnalysisRouteTableRoute
sourcepub fn destination_cidr(&self) -> Option<&str>
pub fn destination_cidr(&self) -> Option<&str>
The destination IPv4 address, in CIDR notation.
sourcepub fn destination_prefix_list_id(&self) -> Option<&str>
pub fn destination_prefix_list_id(&self) -> Option<&str>
The prefix of the Amazon Web Service.
sourcepub fn egress_only_internet_gateway_id(&self) -> Option<&str>
pub fn egress_only_internet_gateway_id(&self) -> Option<&str>
The ID of an egress-only internet gateway.
sourcepub fn gateway_id(&self) -> Option<&str>
pub fn gateway_id(&self) -> Option<&str>
The ID of the gateway, such as an internet gateway or virtual private gateway.
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The ID of the instance, such as a NAT instance.
sourcepub fn nat_gateway_id(&self) -> Option<&str>
pub fn nat_gateway_id(&self) -> Option<&str>
The ID of a NAT gateway.
sourcepub fn network_interface_id(&self) -> Option<&str>
pub fn network_interface_id(&self) -> Option<&str>
The ID of a network interface.
sourcepub fn origin(&self) -> Option<&str>
pub fn origin(&self) -> Option<&str>
Describes how the route was created. The following are the possible values:
-
CreateRouteTable - The route was automatically created when the route table was created.
-
CreateRoute - The route was manually added to the route table.
-
EnableVgwRoutePropagation - The route was propagated by route propagation.
sourcepub fn transit_gateway_id(&self) -> Option<&str>
pub fn transit_gateway_id(&self) -> Option<&str>
The ID of a transit gateway.
sourcepub fn vpc_peering_connection_id(&self) -> Option<&str>
pub fn vpc_peering_connection_id(&self) -> Option<&str>
The ID of a VPC peering connection.
sourcepub fn state(&self) -> Option<&str>
pub fn state(&self) -> Option<&str>
The state. The following are the possible values:
-
active
-
blackhole
sourcepub fn carrier_gateway_id(&self) -> Option<&str>
pub fn carrier_gateway_id(&self) -> Option<&str>
The ID of a carrier gateway.
sourcepub fn core_network_arn(&self) -> Option<&str>
pub fn core_network_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of a core network.
sourcepub fn local_gateway_id(&self) -> Option<&str>
pub fn local_gateway_id(&self) -> Option<&str>
The ID of a local gateway.
source§impl AnalysisRouteTableRoute
impl AnalysisRouteTableRoute
sourcepub fn builder() -> AnalysisRouteTableRouteBuilder
pub fn builder() -> AnalysisRouteTableRouteBuilder
Creates a new builder-style object to manufacture AnalysisRouteTableRoute
.
Trait Implementations§
source§impl Clone for AnalysisRouteTableRoute
impl Clone for AnalysisRouteTableRoute
source§fn clone(&self) -> AnalysisRouteTableRoute
fn clone(&self) -> AnalysisRouteTableRoute
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AnalysisRouteTableRoute
impl Debug for AnalysisRouteTableRoute
source§impl PartialEq<AnalysisRouteTableRoute> for AnalysisRouteTableRoute
impl PartialEq<AnalysisRouteTableRoute> for AnalysisRouteTableRoute
source§fn eq(&self, other: &AnalysisRouteTableRoute) -> bool
fn eq(&self, other: &AnalysisRouteTableRoute) -> bool
self
and other
values to be equal, and is used
by ==
.