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

com.pulumi.aws.ecr.kotlin.outputs.GetRepositoryEncryptionConfiguration.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.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