com.pulumi.aws.ecr.kotlin.outputs.GetRepositoryEncryptionConfiguration.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.ecr.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property encryptionType Encryption type to use for the repository, either `AES256` or `KMS`.
* @property kmsKey If `encryption_type` is `KMS`, the ARN of the KMS key used.
*/
public data class GetRepositoryEncryptionConfiguration(
public val encryptionType: String,
public val kmsKey: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.ecr.outputs.GetRepositoryEncryptionConfiguration): GetRepositoryEncryptionConfiguration = GetRepositoryEncryptionConfiguration(
encryptionType = javaType.encryptionType(),
kmsKey = javaType.kmsKey(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy