Map
Provides a Location Service Map.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.location.Map("example", {
configuration: {
style: "VectorHereBerlin",
},
mapName: "example",
});
Content copied to clipboard
import pulumi
import pulumi_aws as aws
example = aws.location.Map("example",
configuration={
"style": "VectorHereBerlin",
},
map_name="example")
Content copied to clipboard
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Location.Map("example", new()
{
Configuration = new Aws.Location.Inputs.MapConfigurationArgs
{
Style = "VectorHereBerlin",
},
MapName = "example",
});
});
Content copied to clipboard
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/location"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := location.NewMap(ctx, "example", &location.MapArgs{
Configuration: &location.MapConfigurationArgs{
Style: pulumi.String("VectorHereBerlin"),
},
MapName: pulumi.String("example"),
})
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
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());
}
}
Content copied to clipboard
resources:
example:
type: aws:location:Map
properties:
configuration:
style: VectorHereBerlin
mapName: example
Content copied to clipboard
Import
Using pulumi import
, import aws_location_map
resources using the map name. For example:
$ pulumi import aws:location/map:Map example example
Content copied to clipboard
Properties
Link copied to clipboard
Configuration block with the map style selected from an available data provider. Detailed below.
Link copied to clipboard
The timestamp for when the map resource was created in ISO 8601 format.
Link copied to clipboard
An optional description for the map resource.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The timestamp for when the map resource was last updated in ISO 8601 format.