com.pulumi.gcp.kms.kotlin.outputs.CryptoKeyVersionAttestation.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.kms.kotlin.outputs
import kotlin.Deprecated
import kotlin.String
import kotlin.Suppress
/**
*
* @property certChains The certificate chains needed to validate the attestation
* Structure is documented below.
* @property content (Output)
* The attestation data provided by the HSM when the key operation was performed.
* @property externalProtectionLevelOptions ExternalProtectionLevelOptions stores a group of additional fields for configuring a CryptoKeyVersion that are specific to the EXTERNAL protection level and EXTERNAL_VPC protection levels.
* Structure is documented below.
* @property format (Output)
* The format of the attestation data.
*/
public data class CryptoKeyVersionAttestation(
public val certChains: CryptoKeyVersionAttestationCertChains? = null,
public val content: String? = null,
@Deprecated(
message = """
`externalProtectionLevelOptions` is being un-nested from the `attestation` field. Please use the
top level `externalProtectionLevelOptions` field instead.
""",
)
public val externalProtectionLevelOptions: CryptoKeyVersionAttestationExternalProtectionLevelOptions? = null,
public val format: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.kms.outputs.CryptoKeyVersionAttestation): CryptoKeyVersionAttestation = CryptoKeyVersionAttestation(
certChains = javaType.certChains().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.kms.kotlin.outputs.CryptoKeyVersionAttestationCertChains.Companion.toKotlin(args0)
})
}).orElse(null),
content = javaType.content().map({ args0 -> args0 }).orElse(null),
externalProtectionLevelOptions = javaType.externalProtectionLevelOptions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.kms.kotlin.outputs.CryptoKeyVersionAttestationExternalProtectionLevelOptions.Companion.toKotlin(args0)
})
}).orElse(null),
format = javaType.format().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy