![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.aws.location.kotlin.MapArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.location.kotlin
import com.pulumi.aws.location.MapArgs.builder
import com.pulumi.aws.location.kotlin.inputs.MapConfigurationArgs
import com.pulumi.aws.location.kotlin.inputs.MapConfigurationArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.Map
import kotlin.jvm.JvmName
/**
* Provides a Location Service Map.
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
* const example = new aws.location.Map("example", {
* configuration: {
* style: "VectorHereBerlin",
* },
* mapName: "example",
* });
* ```
* ```python
* import pulumi
* import pulumi_aws as aws
* example = aws.location.Map("example",
* configuration={
* "style": "VectorHereBerlin",
* },
* map_name="example")
* ```
* ```csharp
* 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",
* });
* });
* ```
* ```go
* 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
* })
* }
* ```
* ```java
* 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());
* }
* }
* ```
* ```yaml
* resources:
* example:
* type: aws:location:Map
* properties:
* configuration:
* style: VectorHereBerlin
* mapName: example
* ```
*
* ## Import
* Using `pulumi import`, import `aws_location_map` resources using the map name. For example:
* ```sh
* $ pulumi import aws:location/map:Map example example
* ```
* @property configuration Configuration block with the map style selected from an available data provider. Detailed below.
* @property description An optional description for the map resource.
* @property mapName The name for the map resource.
* The following arguments are optional:
* @property tags 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.
*/
public data class MapArgs(
public val configuration: Output? = null,
public val description: Output? = null,
public val mapName: Output? = null,
public val tags: Output
© 2015 - 2025 Weber Informatics LLC | Privacy Policy