com.pulumi.aws.iot.kotlin.inputs.TopicRuleErrorActionStepFunctionsArgs.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.iot.kotlin.inputs
import com.pulumi.aws.iot.inputs.TopicRuleErrorActionStepFunctionsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property executionNamePrefix The prefix used to generate, along with a UUID, the unique state machine execution name.
* @property roleArn The ARN of the IAM role that grants access to start execution of the state machine.
* @property stateMachineName The name of the Step Functions state machine whose execution will be started.
*/
public data class TopicRuleErrorActionStepFunctionsArgs(
public val executionNamePrefix: Output? = null,
public val roleArn: Output,
public val stateMachineName: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.iot.inputs.TopicRuleErrorActionStepFunctionsArgs =
com.pulumi.aws.iot.inputs.TopicRuleErrorActionStepFunctionsArgs.builder()
.executionNamePrefix(executionNamePrefix?.applyValue({ args0 -> args0 }))
.roleArn(roleArn.applyValue({ args0 -> args0 }))
.stateMachineName(stateMachineName.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [TopicRuleErrorActionStepFunctionsArgs].
*/
@PulumiTagMarker
public class TopicRuleErrorActionStepFunctionsArgsBuilder internal constructor() {
private var executionNamePrefix: Output? = null
private var roleArn: Output? = null
private var stateMachineName: Output? = null
/**
* @param value The prefix used to generate, along with a UUID, the unique state machine execution name.
*/
@JvmName("syadwsxdrqdpaske")
public suspend fun executionNamePrefix(`value`: Output) {
this.executionNamePrefix = value
}
/**
* @param value The ARN of the IAM role that grants access to start execution of the state machine.
*/
@JvmName("ntrpcularuhlsnpq")
public suspend fun roleArn(`value`: Output) {
this.roleArn = value
}
/**
* @param value The name of the Step Functions state machine whose execution will be started.
*/
@JvmName("nuohwknahegjaymo")
public suspend fun stateMachineName(`value`: Output) {
this.stateMachineName = value
}
/**
* @param value The prefix used to generate, along with a UUID, the unique state machine execution name.
*/
@JvmName("dnpebvinurhuvjmw")
public suspend fun executionNamePrefix(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.executionNamePrefix = mapped
}
/**
* @param value The ARN of the IAM role that grants access to start execution of the state machine.
*/
@JvmName("sqwpktgbvtamuilc")
public suspend fun roleArn(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.roleArn = mapped
}
/**
* @param value The name of the Step Functions state machine whose execution will be started.
*/
@JvmName("qgkxvgbsqgghyufm")
public suspend fun stateMachineName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.stateMachineName = mapped
}
internal fun build(): TopicRuleErrorActionStepFunctionsArgs =
TopicRuleErrorActionStepFunctionsArgs(
executionNamePrefix = executionNamePrefix,
roleArn = roleArn ?: throw PulumiNullFieldException("roleArn"),
stateMachineName = stateMachineName ?: throw PulumiNullFieldException("stateMachineName"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy