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

com.pulumi.awsnative.healthimaging.kotlin.DatastoreArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.11.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.healthimaging.kotlin

import com.pulumi.awsnative.healthimaging.DatastoreArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
import kotlin.jvm.JvmName

/**
 * Definition of AWS::HealthImaging::Datastore Resource Type
 * @property datastoreName The data store name.
 * @property kmsKeyArn The Amazon Resource Name (ARN) assigned to the Key Management Service (KMS) key for accessing encrypted data.
 * @property tags The tags provided when creating a data store.
 */
public data class DatastoreArgs(
    public val datastoreName: Output? = null,
    public val kmsKeyArn: Output? = null,
    public val tags: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.healthimaging.DatastoreArgs =
        com.pulumi.awsnative.healthimaging.DatastoreArgs.builder()
            .datastoreName(datastoreName?.applyValue({ args0 -> args0 }))
            .kmsKeyArn(kmsKeyArn?.applyValue({ args0 -> args0 }))
            .tags(
                tags?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(args0.value)
                    }).toMap()
                }),
            ).build()
}

/**
 * Builder for [DatastoreArgs].
 */
@PulumiTagMarker
public class DatastoreArgsBuilder internal constructor() {
    private var datastoreName: Output? = null

    private var kmsKeyArn: Output? = null

    private var tags: Output>? = null

    /**
     * @param value The data store name.
     */
    @JvmName("qneeojvnoxatxvdd")
    public suspend fun datastoreName(`value`: Output) {
        this.datastoreName = value
    }

    /**
     * @param value The Amazon Resource Name (ARN) assigned to the Key Management Service (KMS) key for accessing encrypted data.
     */
    @JvmName("ggbfkaglrmfsxxfl")
    public suspend fun kmsKeyArn(`value`: Output) {
        this.kmsKeyArn = value
    }

    /**
     * @param value The tags provided when creating a data store.
     */
    @JvmName("egunshrvpkactagd")
    public suspend fun tags(`value`: Output>) {
        this.tags = value
    }

    /**
     * @param value The data store name.
     */
    @JvmName("jvkiymbtcusvcnnc")
    public suspend fun datastoreName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.datastoreName = mapped
    }

    /**
     * @param value The Amazon Resource Name (ARN) assigned to the Key Management Service (KMS) key for accessing encrypted data.
     */
    @JvmName("ajovgpnccxybkwrt")
    public suspend fun kmsKeyArn(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.kmsKeyArn = mapped
    }

    /**
     * @param value The tags provided when creating a data store.
     */
    @JvmName("raunomtmjhuosfsn")
    public suspend fun tags(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param values The tags provided when creating a data store.
     */
    @JvmName("vfvtchensysutxda")
    public fun tags(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    internal fun build(): DatastoreArgs = DatastoreArgs(
        datastoreName = datastoreName,
        kmsKeyArn = kmsKeyArn,
        tags = tags,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy