
com.pulumi.awsnative.transfer.kotlin.inputs.WorkflowStepCustomStepDetailsPropertiesArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.transfer.kotlin.inputs
import com.pulumi.awsnative.transfer.inputs.WorkflowStepCustomStepDetailsPropertiesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Details for a step that invokes a lambda function.
* @property name The name of the step, used as an identifier.
* @property sourceFileLocation Specifies which file to use as input to the workflow step.
* @property target The ARN for the lambda function that is being called.
* @property timeoutSeconds Timeout, in seconds, for the step.
*/
public data class WorkflowStepCustomStepDetailsPropertiesArgs(
public val name: Output? = null,
public val sourceFileLocation: Output? = null,
public val target: Output? = null,
public val timeoutSeconds: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.transfer.inputs.WorkflowStepCustomStepDetailsPropertiesArgs =
com.pulumi.awsnative.transfer.inputs.WorkflowStepCustomStepDetailsPropertiesArgs.builder()
.name(name?.applyValue({ args0 -> args0 }))
.sourceFileLocation(sourceFileLocation?.applyValue({ args0 -> args0 }))
.target(target?.applyValue({ args0 -> args0 }))
.timeoutSeconds(timeoutSeconds?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [WorkflowStepCustomStepDetailsPropertiesArgs].
*/
@PulumiTagMarker
public class WorkflowStepCustomStepDetailsPropertiesArgsBuilder internal constructor() {
private var name: Output? = null
private var sourceFileLocation: Output? = null
private var target: Output? = null
private var timeoutSeconds: Output? = null
/**
* @param value The name of the step, used as an identifier.
*/
@JvmName("ahvivnfqshctulws")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Specifies which file to use as input to the workflow step.
*/
@JvmName("oplpnavhatkopdym")
public suspend fun sourceFileLocation(`value`: Output) {
this.sourceFileLocation = value
}
/**
* @param value The ARN for the lambda function that is being called.
*/
@JvmName("isaigimjgclcyctm")
public suspend fun target(`value`: Output) {
this.target = value
}
/**
* @param value Timeout, in seconds, for the step.
*/
@JvmName("gvqmlfygijiylcua")
public suspend fun timeoutSeconds(`value`: Output) {
this.timeoutSeconds = value
}
/**
* @param value The name of the step, used as an identifier.
*/
@JvmName("jlfpydfhcmepeate")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value Specifies which file to use as input to the workflow step.
*/
@JvmName("pmpksfichomjfwmh")
public suspend fun sourceFileLocation(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.sourceFileLocation = mapped
}
/**
* @param value The ARN for the lambda function that is being called.
*/
@JvmName("fiehauvmtcfebdnw")
public suspend fun target(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.target = mapped
}
/**
* @param value Timeout, in seconds, for the step.
*/
@JvmName("genrftmvftjqusxi")
public suspend fun timeoutSeconds(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.timeoutSeconds = mapped
}
internal fun build(): WorkflowStepCustomStepDetailsPropertiesArgs =
WorkflowStepCustomStepDetailsPropertiesArgs(
name = name,
sourceFileLocation = sourceFileLocation,
target = target,
timeoutSeconds = timeoutSeconds,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy