Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.location.kotlin
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.location.MapArgs.builder
import com.pulumi.awsnative.location.kotlin.enums.MapPricingPlan
import com.pulumi.awsnative.location.kotlin.inputs.MapConfigurationArgs
import com.pulumi.awsnative.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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Definition of AWS::Location::Map Resource Type
* @property configuration Specifies the `MapConfiguration` , including the map style, for the map resource that you create. The map style defines the look of maps and the data provider for your map resource.
* @property description An optional description for the map resource.
* @property mapName The name for the map resource.
* Requirements:
* - Must contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_).
* - Must be a unique map resource name.
* - No spaces allowed. For example, `ExampleMap` .
* @property pricingPlan No longer used. If included, the only allowed value is `RequestBasedUsage` .
* *Allowed Values* : `RequestBasedUsage`
* @property tags An array of key-value pairs to apply to this resource.
*/
public data class MapArgs(
public val configuration: Output? = null,
public val description: Output? = null,
public val mapName: Output? = null,
public val pricingPlan: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.location.MapArgs =
com.pulumi.awsnative.location.MapArgs.builder()
.configuration(configuration?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.description(description?.applyValue({ args0 -> args0 }))
.mapName(mapName?.applyValue({ args0 -> args0 }))
.pricingPlan(pricingPlan?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [MapArgs].
*/
@PulumiTagMarker
public class MapArgsBuilder internal constructor() {
private var configuration: Output? = null
private var description: Output? = null
private var mapName: Output? = null
private var pricingPlan: Output? = null
private var tags: Output>? = null
/**
* @param value Specifies the `MapConfiguration` , including the map style, for the map resource that you create. The map style defines the look of maps and the data provider for your map resource.
*/
@JvmName("kmjesbhvvnwggbiq")
public suspend fun configuration(`value`: Output) {
this.configuration = value
}
/**
* @param value An optional description for the map resource.
*/
@JvmName("fcioqpyapgrsjuik")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The name for the map resource.
* Requirements:
* - Must contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_).
* - Must be a unique map resource name.
* - No spaces allowed. For example, `ExampleMap` .
*/
@JvmName("lflgrkjpkmbkhvvl")
public suspend fun mapName(`value`: Output) {
this.mapName = value
}
/**
* @param value No longer used. If included, the only allowed value is `RequestBasedUsage` .
* *Allowed Values* : `RequestBasedUsage`
*/
@JvmName("prcifsxuieomcyfj")
public suspend fun pricingPlan(`value`: Output) {
this.pricingPlan = value
}
/**
* @param value An array of key-value pairs to apply to this resource.
*/
@JvmName("aphsvjkiyrqkwscm")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("hiivaaippsrmcuwj")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values An array of key-value pairs to apply to this resource.
*/
@JvmName("xkjiujlpitsemqnr")
public suspend fun tags(values: List