com.pulumi.awsnative.iot.kotlin.outputs.MitigationActionEnableIoTLoggingParams.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@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(),
)
}
}