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

com.pulumi.aws.codegurureviewer.kotlin.outputs.RepositoryAssociationKmsKeyDetails.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.codegurureviewer.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property encryptionOption The encryption option for a repository association. It is either owned by AWS Key Management Service (KMS) (`AWS_OWNED_CMK`) or customer managed (`CUSTOMER_MANAGED_CMK`).
 * @property kmsKeyId The ID of the AWS KMS key that is associated with a repository association.
 */
public data class RepositoryAssociationKmsKeyDetails(
    public val encryptionOption: String? = null,
    public val kmsKeyId: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.codegurureviewer.outputs.RepositoryAssociationKmsKeyDetails): RepositoryAssociationKmsKeyDetails = RepositoryAssociationKmsKeyDetails(
            encryptionOption = javaType.encryptionOption().map({ args0 -> args0 }).orElse(null),
            kmsKeyId = javaType.kmsKeyId().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy