com.pulumi.aws.appconfig.kotlin.inputs.ExtensionActionPointArgs.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.appconfig.kotlin.inputs
import com.pulumi.aws.appconfig.inputs.ExtensionActionPointArgs.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 actions An action defines the tasks the extension performs during the AppConfig workflow. Detailed below.
* @property point The point at which to perform the defined actions. Valid points are `PRE_CREATE_HOSTED_CONFIGURATION_VERSION`, `PRE_START_DEPLOYMENT`, `ON_DEPLOYMENT_START`, `ON_DEPLOYMENT_STEP`, `ON_DEPLOYMENT_BAKING`, `ON_DEPLOYMENT_COMPLETE`, `ON_DEPLOYMENT_ROLLED_BACK`.
*/
public data class ExtensionActionPointArgs(
public val actions: Output>,
public val point: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.appconfig.inputs.ExtensionActionPointArgs =
com.pulumi.aws.appconfig.inputs.ExtensionActionPointArgs.builder()
.actions(
actions.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.point(point.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ExtensionActionPointArgs].
*/
@PulumiTagMarker
public class ExtensionActionPointArgsBuilder internal constructor() {
private var actions: Output>? = null
private var point: Output? = null
/**
* @param value An action defines the tasks the extension performs during the AppConfig workflow. Detailed below.
*/
@JvmName("gitjbecxyflxdxvl")
public suspend fun actions(`value`: Output>) {
this.actions = value
}
@JvmName("rytmjlhcsasqffjw")
public suspend fun actions(vararg values: Output) {
this.actions = Output.all(values.asList())
}
/**
* @param values An action defines the tasks the extension performs during the AppConfig workflow. Detailed below.
*/
@JvmName("qjtpaxyobolkpnwr")
public suspend fun actions(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy