![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.location.kotlin.outputs.GetMapResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.location.kotlin.outputs
import com.pulumi.awsnative.kotlin.outputs.Tag
import com.pulumi.awsnative.location.kotlin.enums.MapPricingPlan
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property arn The Amazon Resource Name (ARN) for the map resource. Used to specify a resource across all AWS .
* - Format example: `arn:aws:geo:region:account-id:maps/ExampleMap`
* @property createTime The timestamp for when the map resource was created in [ISO 8601](https://docs.aws.amazon.com/https://www.iso.org/iso-8601-date-and-time-format.html) format: `YYYY-MM-DDThh:mm:ss.sssZ` .
* @property description An optional description for the map resource.
* @property mapArn Synonym for `Arn` . The Amazon Resource Name (ARN) for the map resource. Used to specify a resource across all AWS .
* - Format example: `arn:aws:geo:region:account-id:maps/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.
* @property updateTime The timestamp for when the map resource was last updated in [ISO 8601](https://docs.aws.amazon.com/https://www.iso.org/iso-8601-date-and-time-format.html) format: `YYYY-MM-DDThh:mm:ss.sssZ` .
*/
public data class GetMapResult(
public val arn: String? = null,
public val createTime: String? = null,
public val description: String? = null,
public val mapArn: String? = null,
public val pricingPlan: MapPricingPlan? = null,
public val tags: List? = null,
public val updateTime: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.location.outputs.GetMapResult): GetMapResult = GetMapResult(
arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
createTime = javaType.createTime().map({ args0 -> args0 }).orElse(null),
description = javaType.description().map({ args0 -> args0 }).orElse(null),
mapArn = javaType.mapArn().map({ args0 -> args0 }).orElse(null),
pricingPlan = javaType.pricingPlan().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.location.kotlin.enums.MapPricingPlan.Companion.toKotlin(args0)
})
}).orElse(null),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
updateTime = javaType.updateTime().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy