pulumi_wasm_providers_aws_mini::ec2::route

Struct RouteArgs

source
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§

source§

impl RouteArgs

source

pub fn builder() -> RouteArgsBuilder

Create an instance of RouteArgs using the builder syntax

Trait Implementations§

source§

impl Clone for RouteArgs

source§

fn clone(&self) -> RouteArgs

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.