pub struct RouteArgs {Show 14 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 local_gateway_id: Output<Option<String>>,
pub nat_gateway_id: Output<Option<String>>,
pub network_interface_id: Output<Option<String>>,
pub route_table_id: 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.
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<Option<String>>
Identifier of an EC2 network interface.
route_table_id: Output<String>
The ID of the routing table.
One of the following destination arguments must be supplied:
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.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RouteArgs
impl RefUnwindSafe for RouteArgs
impl Send for RouteArgs
impl Sync for RouteArgs
impl Unpin for RouteArgs
impl UnwindSafe for RouteArgs
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)