com.pulumi.aws.fis.kotlin.inputs.ExperimentTemplateActionArgs.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.fis.kotlin.inputs
import com.pulumi.aws.fis.inputs.ExperimentTemplateActionArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property actionId ID of the action. To find out what actions are supported see [AWS FIS actions reference](https://docs.aws.amazon.com/fis/latest/userguide/fis-actions-reference.html).
* @property description Description of the action.
* @property name Friendly name of the action.
* @property parameters Parameter(s) for the action, if applicable. See below.
* @property startAfters Set of action names that must complete before this action can be executed.
* @property target Action's target, if applicable. See below.
*/
public data class ExperimentTemplateActionArgs(
public val actionId: Output,
public val description: Output? = null,
public val name: Output,
public val parameters: Output>? = null,
public val startAfters: Output>? = null,
public val target: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.fis.inputs.ExperimentTemplateActionArgs =
com.pulumi.aws.fis.inputs.ExperimentTemplateActionArgs.builder()
.actionId(actionId.applyValue({ args0 -> args0 }))
.description(description?.applyValue({ args0 -> args0 }))
.name(name.applyValue({ args0 -> args0 }))
.parameters(
parameters?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.startAfters(startAfters?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.target(target?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [ExperimentTemplateActionArgs].
*/
@PulumiTagMarker
public class ExperimentTemplateActionArgsBuilder internal constructor() {
private var actionId: Output? = null
private var description: Output? = null
private var name: Output? = null
private var parameters: Output>? = null
private var startAfters: Output>? = null
private var target: Output? = null
/**
* @param value ID of the action. To find out what actions are supported see [AWS FIS actions reference](https://docs.aws.amazon.com/fis/latest/userguide/fis-actions-reference.html).
*/
@JvmName("ieylemxseatqndhp")
public suspend fun actionId(`value`: Output) {
this.actionId = value
}
/**
* @param value Description of the action.
*/
@JvmName("jvpqmoejvlwcoaev")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value Friendly name of the action.
*/
@JvmName("msmsjvoowseqdnai")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Parameter(s) for the action, if applicable. See below.
*/
@JvmName("dusutnomyxpvpbgh")
public suspend fun parameters(`value`: Output>) {
this.parameters = value
}
@JvmName("jactmrxlhxmlpobc")
public suspend fun parameters(vararg values: Output) {
this.parameters = Output.all(values.asList())
}
/**
* @param values Parameter(s) for the action, if applicable. See below.
*/
@JvmName("miyxihxwrllemcgk")
public suspend fun parameters(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy