com.pulumi.aws.sfn.kotlin.inputs.StateMachineLoggingConfigurationArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.sfn.kotlin.inputs
import com.pulumi.aws.sfn.inputs.StateMachineLoggingConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property includeExecutionData Determines whether execution data is included in your log. When set to `false`, data is excluded.
* @property level Defines which category of execution history events are logged. Valid values: `ALL`, `ERROR`, `FATAL`, `OFF`
* @property logDestination Amazon Resource Name (ARN) of a CloudWatch log group. Make sure the State Machine has the correct IAM policies for logging. The ARN must end with `:*`
*/
public data class StateMachineLoggingConfigurationArgs(
public val includeExecutionData: Output? = null,
public val level: Output? = null,
public val logDestination: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.sfn.inputs.StateMachineLoggingConfigurationArgs =
com.pulumi.aws.sfn.inputs.StateMachineLoggingConfigurationArgs.builder()
.includeExecutionData(includeExecutionData?.applyValue({ args0 -> args0 }))
.level(level?.applyValue({ args0 -> args0 }))
.logDestination(logDestination?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [StateMachineLoggingConfigurationArgs].
*/
@PulumiTagMarker
public class StateMachineLoggingConfigurationArgsBuilder internal constructor() {
private var includeExecutionData: Output? = null
private var level: Output? = null
private var logDestination: Output? = null
/**
* @param value Determines whether execution data is included in your log. When set to `false`, data is excluded.
*/
@JvmName("owxvvjefokaubhpn")
public suspend fun includeExecutionData(`value`: Output) {
this.includeExecutionData = value
}
/**
* @param value Defines which category of execution history events are logged. Valid values: `ALL`, `ERROR`, `FATAL`, `OFF`
*/
@JvmName("ijbulhtrtkdfgvjd")
public suspend fun level(`value`: Output) {
this.level = value
}
/**
* @param value Amazon Resource Name (ARN) of a CloudWatch log group. Make sure the State Machine has the correct IAM policies for logging. The ARN must end with `:*`
*/
@JvmName("ororttvcxvyplxwg")
public suspend fun logDestination(`value`: Output) {
this.logDestination = value
}
/**
* @param value Determines whether execution data is included in your log. When set to `false`, data is excluded.
*/
@JvmName("yqqdboxetlnyvooa")
public suspend fun includeExecutionData(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.includeExecutionData = mapped
}
/**
* @param value Defines which category of execution history events are logged. Valid values: `ALL`, `ERROR`, `FATAL`, `OFF`
*/
@JvmName("qdovnwuymkwnwvfx")
public suspend fun level(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.level = mapped
}
/**
* @param value Amazon Resource Name (ARN) of a CloudWatch log group. Make sure the State Machine has the correct IAM policies for logging. The ARN must end with `:*`
*/
@JvmName("pyxlwglhtooctpyb")
public suspend fun logDestination(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.logDestination = mapped
}
internal fun build(): StateMachineLoggingConfigurationArgs = StateMachineLoggingConfigurationArgs(
includeExecutionData = includeExecutionData,
level = level,
logDestination = logDestination,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy