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

com.pulumi.aws.kms.kotlin.outputs.GetCipherTextResult.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.kms.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map

/**
 * A collection of values returned by getCipherText.
 * @property ciphertextBlob Base64 encoded ciphertext
 * @property context
 * @property id The provider-assigned unique ID for this managed resource.
 * @property keyId
 * @property plaintext
 */
public data class GetCipherTextResult(
    public val ciphertextBlob: String,
    public val context: Map? = null,
    public val id: String,
    public val keyId: String,
    public val plaintext: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.kms.outputs.GetCipherTextResult): GetCipherTextResult = GetCipherTextResult(
            ciphertextBlob = javaType.ciphertextBlob(),
            context = javaType.context().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            id = javaType.id(),
            keyId = javaType.keyId(),
            plaintext = javaType.plaintext(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy