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

com.pulumi.awsnative.emrserverless.kotlin.inputs.ApplicationS3MonitoringConfigurationArgs.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: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.emrserverless.kotlin.inputs

import com.pulumi.awsnative.emrserverless.inputs.ApplicationS3MonitoringConfigurationArgs.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 encryptionKeyArn KMS key ARN to encrypt the logs stored in given s3
 * @property logUri
 */
public data class ApplicationS3MonitoringConfigurationArgs(
    public val encryptionKeyArn: Output? = null,
    public val logUri: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.emrserverless.inputs.ApplicationS3MonitoringConfigurationArgs =
        com.pulumi.awsnative.emrserverless.inputs.ApplicationS3MonitoringConfigurationArgs.builder()
            .encryptionKeyArn(encryptionKeyArn?.applyValue({ args0 -> args0 }))
            .logUri(logUri?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ApplicationS3MonitoringConfigurationArgs].
 */
@PulumiTagMarker
public class ApplicationS3MonitoringConfigurationArgsBuilder internal constructor() {
    private var encryptionKeyArn: Output? = null

    private var logUri: Output? = null

    /**
     * @param value KMS key ARN to encrypt the logs stored in given s3
     */
    @JvmName("okmqxabmeflkgaqp")
    public suspend fun encryptionKeyArn(`value`: Output) {
        this.encryptionKeyArn = value
    }

    /**
     * @param value
     */
    @JvmName("quviqjqxkwcoxtij")
    public suspend fun logUri(`value`: Output) {
        this.logUri = value
    }

    /**
     * @param value KMS key ARN to encrypt the logs stored in given s3
     */
    @JvmName("uplhiqnrvnknbkbf")
    public suspend fun encryptionKeyArn(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.encryptionKeyArn = mapped
    }

    /**
     * @param value
     */
    @JvmName("plyplrggnrowpvjk")
    public suspend fun logUri(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.logUri = mapped
    }

    internal fun build(): ApplicationS3MonitoringConfigurationArgs =
        ApplicationS3MonitoringConfigurationArgs(
            encryptionKeyArn = encryptionKeyArn,
            logUri = logUri,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy