getRouteTableRoutes

Provides informations for routes of a specific transit gateway, such as state, type, cidr

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ec2transitgateway.Ec2transitgatewayFunctions;
import com.pulumi.aws.ec2transitgateway.inputs.GetRouteTableRoutesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var test = Ec2transitgatewayFunctions.getRouteTableRoutes(GetRouteTableRoutesArgs.builder()
.filters(GetRouteTableRoutesFilterArgs.builder()
.name("type")
.values("propagated")
.build())
.transitGatewayRouteTableId(aws_ec2_transit_gateway_route_table.example().id())
.build());
}
}

Return

A collection of values returned by getRouteTableRoutes.

Parameters

argument

A collection of arguments for invoking getRouteTableRoutes.


suspend fun getRouteTableRoutes(filters: List<GetRouteTableRoutesFilter>, transitGatewayRouteTableId: String): GetRouteTableRoutesResult

Return

A collection of values returned by getRouteTableRoutes.

See also

Parameters

filters

Custom filter block as described below.

transitGatewayRouteTableId

Identifier of EC2 Transit Gateway Route Table. More complex filters can be expressed using one or more filter sub-blocks, which take the following arguments:


Return

A collection of values returned by getRouteTableRoutes.

See also

Parameters

argument

Builder for com.pulumi.aws.ec2transitgateway.kotlin.inputs.GetRouteTableRoutesPlainArgs.