pub struct RouteResult {Show 18 fields
pub carrier_gateway_id: Output<Option<String>>,
pub core_network_arn: Output<Option<String>>,
pub destination_cidr_block: Output<Option<String>>,
pub destination_ipv6_cidr_block: Output<Option<String>>,
pub destination_prefix_list_id: Output<Option<String>>,
pub egress_only_gateway_id: Output<Option<String>>,
pub gateway_id: Output<Option<String>>,
pub instance_id: Output<String>,
pub instance_owner_id: Output<String>,
pub local_gateway_id: Output<Option<String>>,
pub nat_gateway_id: Output<Option<String>>,
pub network_interface_id: Output<String>,
pub origin: Output<String>,
pub route_table_id: Output<String>,
pub state: Output<String>,
pub transit_gateway_id: Output<Option<String>>,
pub vpc_endpoint_id: Output<Option<String>>,
pub vpc_peering_connection_id: Output<Option<String>>,
}
Fields§
§carrier_gateway_id: Output<Option<String>>
Identifier of a carrier gateway. This attribute can only be used when the VPC contains a subnet which is associated with a Wavelength Zone.
core_network_arn: Output<Option<String>>
The Amazon Resource Name (ARN) of a core network.
destination_cidr_block: Output<Option<String>>
The destination CIDR block.
destination_ipv6_cidr_block: Output<Option<String>>
The destination IPv6 CIDR block.
destination_prefix_list_id: Output<Option<String>>
The ID of a managed prefix list destination.
One of the following target arguments must be supplied:
egress_only_gateway_id: Output<Option<String>>
Identifier of a VPC Egress Only Internet Gateway.
gateway_id: Output<Option<String>>
Identifier of a VPC internet gateway or a virtual private gateway. Specify local
when updating a previously imported local route.
instance_id: Output<String>
Identifier of an EC2 instance.
instance_owner_id: Output<String>
The AWS account ID of the owner of the EC2 instance.
local_gateway_id: Output<Option<String>>
Identifier of a Outpost local gateway.
nat_gateway_id: Output<Option<String>>
Identifier of a VPC NAT gateway.
network_interface_id: Output<String>
Identifier of an EC2 network interface.
origin: Output<String>
How the route was created - CreateRouteTable
, CreateRoute
or EnableVgwRoutePropagation
.
route_table_id: Output<String>
The ID of the routing table.
One of the following destination arguments must be supplied:
state: Output<String>
The state of the route - active
or blackhole
.
transit_gateway_id: Output<Option<String>>
Identifier of an EC2 Transit Gateway.
vpc_endpoint_id: Output<Option<String>>
Identifier of a VPC Endpoint.
vpc_peering_connection_id: Output<Option<String>>
Identifier of a VPC peering connection.
Note that the default route, mapping the VPC’s CIDR block to “local”, is created implicitly and cannot be specified.