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

com.pulumi.awsnative.iot.kotlin.outputs.MitigationActionEnableIoTLoggingParams.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.iot.kotlin.outputs

import com.pulumi.awsnative.iot.kotlin.enums.MitigationActionEnableIoTLoggingParamsLogLevel
import kotlin.String
import kotlin.Suppress

/**
 * Parameters to define a mitigation action that enables AWS IoT logging at a specified level of detail.
 * @property logLevel  Specifies which types of information are logged.
 * @property roleArnForLogging  The ARN of the IAM role used for logging.
 */
public data class MitigationActionEnableIoTLoggingParams(
    public val logLevel: MitigationActionEnableIoTLoggingParamsLogLevel,
    public val roleArnForLogging: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.iot.outputs.MitigationActionEnableIoTLoggingParams): MitigationActionEnableIoTLoggingParams = MitigationActionEnableIoTLoggingParams(
            logLevel = javaType.logLevel().let({ args0 ->
                com.pulumi.awsnative.iot.kotlin.enums.MitigationActionEnableIoTLoggingParamsLogLevel.Companion.toKotlin(args0)
            }),
            roleArnForLogging = javaType.roleArnForLogging(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy