getMap

suspend fun getMap(argument: GetMapPlainArgs): GetMapResult

Retrieve information about a Location Service Map.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.location.LocationFunctions;
import com.pulumi.aws.location.inputs.GetMapArgs;
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 example = LocationFunctions.getMap(GetMapArgs.builder()
.mapName("example")
.build());
}
}

Return

A collection of values returned by getMap.

Parameters

argument

A collection of arguments for invoking getMap.


suspend fun getMap(mapName: String, tags: Map<String, String>? = null): GetMapResult

Return

A collection of values returned by getMap.

Parameters

mapName

Name of the map resource.

tags

Key-value map of resource tags for the map.

See also


suspend fun getMap(argument: suspend GetMapPlainArgsBuilder.() -> Unit): GetMapResult

Return

A collection of values returned by getMap.

Parameters

argument

Builder for com.pulumi.aws.location.kotlin.inputs.GetMapPlainArgs.

See also