Fail Activity Args
data class FailActivityArgs(val dependsOn: Output<List<ActivityDependencyArgs>>? = null, val description: Output<String>? = null, val errorCode: Output<Any>, val message: Output<Any>, val name: Output<String>, val type: Output<String>, val userProperties: Output<List<UserPropertyArgs>>? = null) : ConvertibleToJava<FailActivityArgs>
This activity will fail within its own scope and output a custom error message and error code. The error message and code can provided either as a string literal or as an expression that can be evaluated to a string at runtime. The activity scope can be the whole pipeline or a control activity (e.g. foreach, switch, until), if the fail activity is contained in it.
Constructors
Link copied to clipboard
constructor(dependsOn: Output<List<ActivityDependencyArgs>>? = null, description: Output<String>? = null, errorCode: Output<Any>, message: Output<Any>, name: Output<String>, type: Output<String>, userProperties: Output<List<UserPropertyArgs>>? = null)