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

com.pulumi.awsnative.kms.kotlin.inputs.GetReplicaKeyPlainArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.kms.kotlin.inputs

import com.pulumi.awsnative.kms.inputs.GetReplicaKeyPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property keyId The key ID of the replica key, such as `mrk-1234abcd12ab34cd56ef1234567890ab` .
 * Related multi-Region keys have the same key ID. For information about the key IDs of multi-Region keys, see [How multi-Region keys work](https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-overview.html#mrk-how-it-works) in the *AWS Key Management Service Developer Guide* .
 */
public data class GetReplicaKeyPlainArgs(
    public val keyId: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.kms.inputs.GetReplicaKeyPlainArgs =
        com.pulumi.awsnative.kms.inputs.GetReplicaKeyPlainArgs.builder()
            .keyId(keyId.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetReplicaKeyPlainArgs].
 */
@PulumiTagMarker
public class GetReplicaKeyPlainArgsBuilder internal constructor() {
    private var keyId: String? = null

    /**
     * @param value The key ID of the replica key, such as `mrk-1234abcd12ab34cd56ef1234567890ab` .
     * Related multi-Region keys have the same key ID. For information about the key IDs of multi-Region keys, see [How multi-Region keys work](https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-overview.html#mrk-how-it-works) in the *AWS Key Management Service Developer Guide* .
     */
    @JvmName("cateiuawnhhxcuxs")
    public suspend fun keyId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.keyId = mapped
    }

    internal fun build(): GetReplicaKeyPlainArgs = GetReplicaKeyPlainArgs(
        keyId = keyId ?: throw PulumiNullFieldException("keyId"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy