getGatewayRoute

The App Mesh Gateway Route data source allows details of an App Mesh Gateway Route to be retrieved by its name, mesh_name, virtual_gateway_name, and optionally the mesh_owner.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.appmesh.AppmeshFunctions;
import com.pulumi.aws.appmesh.inputs.GetGatewayRouteArgs;
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 = AppmeshFunctions.getGatewayRoute(GetGatewayRouteArgs.builder()
.meshName("test-mesh")
.name("test-route")
.virtualGatewayName("test-gateway")
.build());
}
}

Return

A collection of values returned by getGatewayRoute.

Parameters

argument

A collection of arguments for invoking getGatewayRoute.


suspend fun getGatewayRoute(meshName: String, meshOwner: String? = null, name: String, tags: Map<String, String>? = null, virtualGatewayName: String): GetGatewayRouteResult

Return

A collection of values returned by getGatewayRoute.

Parameters

meshName

Name of the service mesh in which the virtual gateway exists.

meshOwner

AWS account ID of the service mesh's owner.

name

Name of the gateway route.

tags

Map of tags.

virtualGatewayName

Name of the virtual gateway in which the route exists.

See also


Return

A collection of values returned by getGatewayRoute.

Parameters

argument

Builder for com.pulumi.aws.appmesh.kotlin.inputs.GetGatewayRoutePlainArgs.

See also