pulumi_wasm_providers_aws_mini::functions::ec2::get_route

Struct GetRouteArgsBuilder

source
pub struct GetRouteArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description

Use builder syntax to set the inputs and finish with build_struct().

Implementations§

source§

impl<S: State> GetRouteArgsBuilder<S>

source

pub fn build_struct(self) -> GetRouteArgs
where S: IsComplete,

Finish building and return the requested object

source

pub fn carrier_gateway_id( self, value: impl Into<Output<Option<String>>>, ) -> GetRouteArgsBuilder<SetCarrierGatewayId<S>>
where S::CarrierGatewayId: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

EC2 Carrier Gateway ID of the Route belonging to the Route Table.

source

pub fn maybe_carrier_gateway_id( self, value: Option<impl Into<Output<Option<String>>>>, ) -> GetRouteArgsBuilder<SetCarrierGatewayId<S>>
where S::CarrierGatewayId: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

EC2 Carrier Gateway ID of the Route belonging to the Route Table.

source

pub fn core_network_arn( self, value: impl Into<Output<Option<String>>>, ) -> GetRouteArgsBuilder<SetCoreNetworkArn<S>>
where S::CoreNetworkArn: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

Core network ARN of the Route belonging to the Route Table.

source

pub fn maybe_core_network_arn( self, value: Option<impl Into<Output<Option<String>>>>, ) -> GetRouteArgsBuilder<SetCoreNetworkArn<S>>
where S::CoreNetworkArn: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

Core network ARN of the Route belonging to the Route Table.

source

pub fn destination_cidr_block( self, value: impl Into<Output<Option<String>>>, ) -> GetRouteArgsBuilder<SetDestinationCidrBlock<S>>
where S::DestinationCidrBlock: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

CIDR block of the Route belonging to the Route Table.

source

pub fn maybe_destination_cidr_block( self, value: Option<impl Into<Output<Option<String>>>>, ) -> GetRouteArgsBuilder<SetDestinationCidrBlock<S>>
where S::DestinationCidrBlock: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

CIDR block of the Route belonging to the Route Table.

source

pub fn destination_ipv6_cidr_block( self, value: impl Into<Output<Option<String>>>, ) -> GetRouteArgsBuilder<SetDestinationIpv6CidrBlock<S>>
where S::DestinationIpv6CidrBlock: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

IPv6 CIDR block of the Route belonging to the Route Table.

source

pub fn maybe_destination_ipv6_cidr_block( self, value: Option<impl Into<Output<Option<String>>>>, ) -> GetRouteArgsBuilder<SetDestinationIpv6CidrBlock<S>>
where S::DestinationIpv6CidrBlock: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

IPv6 CIDR block of the Route belonging to the Route Table.

source

pub fn destination_prefix_list_id( self, value: impl Into<Output<Option<String>>>, ) -> GetRouteArgsBuilder<SetDestinationPrefixListId<S>>
where S::DestinationPrefixListId: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

ID of a managed prefix list destination of the Route belonging to the Route Table.

source

pub fn maybe_destination_prefix_list_id( self, value: Option<impl Into<Output<Option<String>>>>, ) -> GetRouteArgsBuilder<SetDestinationPrefixListId<S>>
where S::DestinationPrefixListId: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

ID of a managed prefix list destination of the Route belonging to the Route Table.

source

pub fn egress_only_gateway_id( self, value: impl Into<Output<Option<String>>>, ) -> GetRouteArgsBuilder<SetEgressOnlyGatewayId<S>>
where S::EgressOnlyGatewayId: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

Egress Only Gateway ID of the Route belonging to the Route Table.

source

pub fn maybe_egress_only_gateway_id( self, value: Option<impl Into<Output<Option<String>>>>, ) -> GetRouteArgsBuilder<SetEgressOnlyGatewayId<S>>
where S::EgressOnlyGatewayId: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

Egress Only Gateway ID of the Route belonging to the Route Table.

source

pub fn gateway_id( self, value: impl Into<Output<Option<String>>>, ) -> GetRouteArgsBuilder<SetGatewayId<S>>
where S::GatewayId: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

Gateway ID of the Route belonging to the Route Table.

source

pub fn maybe_gateway_id( self, value: Option<impl Into<Output<Option<String>>>>, ) -> GetRouteArgsBuilder<SetGatewayId<S>>
where S::GatewayId: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

Gateway ID of the Route belonging to the Route Table.

source

pub fn instance_id( self, value: impl Into<Output<Option<String>>>, ) -> GetRouteArgsBuilder<SetInstanceId<S>>
where S::InstanceId: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

Instance ID of the Route belonging to the Route Table.

source

pub fn maybe_instance_id( self, value: Option<impl Into<Output<Option<String>>>>, ) -> GetRouteArgsBuilder<SetInstanceId<S>>
where S::InstanceId: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

Instance ID of the Route belonging to the Route Table.

source

pub fn local_gateway_id( self, value: impl Into<Output<Option<String>>>, ) -> GetRouteArgsBuilder<SetLocalGatewayId<S>>
where S::LocalGatewayId: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

Local Gateway ID of the Route belonging to the Route Table.

source

pub fn maybe_local_gateway_id( self, value: Option<impl Into<Output<Option<String>>>>, ) -> GetRouteArgsBuilder<SetLocalGatewayId<S>>
where S::LocalGatewayId: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

Local Gateway ID of the Route belonging to the Route Table.

source

pub fn nat_gateway_id( self, value: impl Into<Output<Option<String>>>, ) -> GetRouteArgsBuilder<SetNatGatewayId<S>>
where S::NatGatewayId: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

NAT Gateway ID of the Route belonging to the Route Table.

source

pub fn maybe_nat_gateway_id( self, value: Option<impl Into<Output<Option<String>>>>, ) -> GetRouteArgsBuilder<SetNatGatewayId<S>>
where S::NatGatewayId: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

NAT Gateway ID of the Route belonging to the Route Table.

source

pub fn network_interface_id( self, value: impl Into<Output<Option<String>>>, ) -> GetRouteArgsBuilder<SetNetworkInterfaceId<S>>
where S::NetworkInterfaceId: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

Network Interface ID of the Route belonging to the Route Table.

source

pub fn maybe_network_interface_id( self, value: Option<impl Into<Output<Option<String>>>>, ) -> GetRouteArgsBuilder<SetNetworkInterfaceId<S>>
where S::NetworkInterfaceId: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

Network Interface ID of the Route belonging to the Route Table.

source

pub fn route_table_id( self, value: impl Into<Output<String>>, ) -> GetRouteArgsBuilder<SetRouteTableId<S>>
where S::RouteTableId: IsUnset,

Required.

ID of the specific Route Table containing the Route entry.

The following arguments are optional:

source

pub fn transit_gateway_id( self, value: impl Into<Output<Option<String>>>, ) -> GetRouteArgsBuilder<SetTransitGatewayId<S>>
where S::TransitGatewayId: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

EC2 Transit Gateway ID of the Route belonging to the Route Table.

source

pub fn maybe_transit_gateway_id( self, value: Option<impl Into<Output<Option<String>>>>, ) -> GetRouteArgsBuilder<SetTransitGatewayId<S>>
where S::TransitGatewayId: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

EC2 Transit Gateway ID of the Route belonging to the Route Table.

source

pub fn vpc_peering_connection_id( self, value: impl Into<Output<Option<String>>>, ) -> GetRouteArgsBuilder<SetVpcPeeringConnectionId<S>>
where S::VpcPeeringConnectionId: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

VPC Peering Connection ID of the Route belonging to the Route Table.

source

pub fn maybe_vpc_peering_connection_id( self, value: Option<impl Into<Output<Option<String>>>>, ) -> GetRouteArgsBuilder<SetVpcPeeringConnectionId<S>>
where S::VpcPeeringConnectionId: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

VPC Peering Connection ID of the Route belonging to the Route Table.

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> 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, 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.