All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.location.kotlin.outputs.GetPlaceIndexResult.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.PlaceIndexPricingPlan
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property arn The Amazon Resource Name (ARN) for the place index resource. Used to specify a resource across AWS .
 * - Format example: `arn:aws:geo:region:account-id:place-index/ExamplePlaceIndex`
 * @property createTime The timestamp for when the place index 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 dataSourceConfiguration Specifies the data storage option requesting Places.
 * @property description The optional description for the place index resource.
 * @property indexArn Synonym for `Arn` . The Amazon Resource Name (ARN) for the place index resource. Used to specify a resource across AWS .
 * - Format example: `arn:aws:geo:region:account-id:place-index/ExamplePlaceIndex`
 * @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 place index 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 GetPlaceIndexResult(
    public val arn: String? = null,
    public val createTime: String? = null,
    public val dataSourceConfiguration: PlaceIndexDataSourceConfiguration? = null,
    public val description: String? = null,
    public val indexArn: String? = null,
    public val pricingPlan: PlaceIndexPricingPlan? = null,
    public val tags: List? = null,
    public val updateTime: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.location.outputs.GetPlaceIndexResult): GetPlaceIndexResult = GetPlaceIndexResult(
            arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
            createTime = javaType.createTime().map({ args0 -> args0 }).orElse(null),
            dataSourceConfiguration = javaType.dataSourceConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.location.kotlin.outputs.PlaceIndexDataSourceConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
            description = javaType.description().map({ args0 -> args0 }).orElse(null),
            indexArn = javaType.indexArn().map({ args0 -> args0 }).orElse(null),
            pricingPlan = javaType.pricingPlan().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.location.kotlin.enums.PlaceIndexPricingPlan.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