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

com.pulumi.aws.glue.kotlin.inputs.SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionArgs.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.glue.kotlin.inputs

import com.pulumi.aws.glue.inputs.SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property cloudwatchEncryptionMode Encryption mode to use for CloudWatch data. Valid values: `DISABLED`, `SSE-KMS`. Default value: `DISABLED`.
 * @property kmsKeyArn Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
 */
public data class SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionArgs(
    public val cloudwatchEncryptionMode: Output? = null,
    public val kmsKeyArn: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.glue.inputs.SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionArgs =
        com.pulumi.aws.glue.inputs.SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionArgs.builder()
            .cloudwatchEncryptionMode(cloudwatchEncryptionMode?.applyValue({ args0 -> args0 }))
            .kmsKeyArn(kmsKeyArn?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionArgs].
 */
@PulumiTagMarker
public class SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionArgsBuilder internal constructor() {
    private var cloudwatchEncryptionMode: Output? = null

    private var kmsKeyArn: Output? = null

    /**
     * @param value Encryption mode to use for CloudWatch data. Valid values: `DISABLED`, `SSE-KMS`. Default value: `DISABLED`.
     */
    @JvmName("tvbkxgtbttfdydju")
    public suspend fun cloudwatchEncryptionMode(`value`: Output) {
        this.cloudwatchEncryptionMode = value
    }

    /**
     * @param value Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
     */
    @JvmName("ygqaciaekidarrhm")
    public suspend fun kmsKeyArn(`value`: Output) {
        this.kmsKeyArn = value
    }

    /**
     * @param value Encryption mode to use for CloudWatch data. Valid values: `DISABLED`, `SSE-KMS`. Default value: `DISABLED`.
     */
    @JvmName("jdllrpkrkpelsmdi")
    public suspend fun cloudwatchEncryptionMode(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.cloudwatchEncryptionMode = mapped
    }

    /**
     * @param value Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
     */
    @JvmName("krvdosmxvvjrudil")
    public suspend fun kmsKeyArn(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.kmsKeyArn = mapped
    }

    internal fun build(): SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionArgs =
        SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionArgs(
            cloudwatchEncryptionMode = cloudwatchEncryptionMode,
            kmsKeyArn = kmsKeyArn,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy