getMesh

suspend fun getMesh(argument: GetMeshPlainArgs): GetMeshResult

The App Mesh Mesh data source allows details of an App Mesh Mesh to be retrieved by its 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.GetMeshArgs;
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 simple = AppmeshFunctions.getMesh(GetMeshArgs.builder()
.name("simpleapp")
.build());
}
}

Return

A collection of values returned by getMesh.

Parameters

argument

A collection of arguments for invoking getMesh.


suspend fun getMesh(meshOwner: String? = null, name: String, tags: Map<String, String>? = null): GetMeshResult

Return

A collection of values returned by getMesh.

Parameters

meshOwner

AWS account ID of the service mesh's owner.

name

Name of the service mesh.

tags

Map of tags.

See also


suspend fun getMesh(argument: suspend GetMeshPlainArgsBuilder.() -> Unit): GetMeshResult

Return

A collection of values returned by getMesh.

Parameters

argument

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

See also