MapArgs

data class MapArgs(val configuration: Output<MapConfigurationArgs>? = null, val description: Output<String>? = null, val mapName: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<MapArgs>

Provides 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.Map;
import com.pulumi.aws.location.MapArgs;
import com.pulumi.aws.location.inputs.MapConfigurationArgs;
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) {
var example = new Map("example", MapArgs.builder()
.configuration(MapConfigurationArgs.builder()
.style("VectorHereBerlin")
.build())
.mapName("example")
.build());
}
}

Import

aws_location_map resources can be imported using the map name, e.g.

$ pulumi import aws:location/map:Map example example

Constructors

Link copied to clipboard
constructor(configuration: Output<MapConfigurationArgs>? = null, description: Output<String>? = null, mapName: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard
val configuration: Output<MapConfigurationArgs>? = null

Configuration block with the map style selected from an available data provider. Detailed below.

Link copied to clipboard
val description: Output<String>? = null

An optional description for the map resource.

Link copied to clipboard
val mapName: Output<String>? = null

The name for the map resource. The following arguments are optional:

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Key-value tags for the map. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Functions

Link copied to clipboard
open override fun toJava(): MapArgs