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

com.pulumi.awsnative.forecast.kotlin.outputs.EncryptionConfigProperties.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: 1.11.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.forecast.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * A Key Management Service (KMS) key and the Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key.
 * @property kmsKeyArn The Amazon Resource Name (ARN) of the KMS key.
 * @property roleArn The ARN of the IAM role that Amazon Forecast can assume to access the AWS KMS key.
 * Passing a role across AWS accounts is not allowed. If you pass a role that isn't in your account, you get an `InvalidInputException` error.
 */
public data class EncryptionConfigProperties(
    public val kmsKeyArn: String? = null,
    public val roleArn: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.forecast.outputs.EncryptionConfigProperties): EncryptionConfigProperties = EncryptionConfigProperties(
            kmsKeyArn = javaType.kmsKeyArn().map({ args0 -> args0 }).orElse(null),
            roleArn = javaType.roleArn().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy