com.pulumi.awsnative.budgets.kotlin.inputs.BudgetsActionSsmActionDefinitionArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.budgets.kotlin.inputs
import com.pulumi.awsnative.budgets.inputs.BudgetsActionSsmActionDefinitionArgs.builder
import com.pulumi.awsnative.budgets.kotlin.enums.BudgetsActionSsmActionDefinitionSubtype
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.collections.List
import kotlin.jvm.JvmName
/**
*
* @property instanceIds The EC2 and RDS instance IDs.
* @property region The Region to run the ( SSM ) document.
* @property subtype The action subType.
*/
public data class BudgetsActionSsmActionDefinitionArgs(
public val instanceIds: Output>,
public val region: Output,
public val subtype: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.budgets.inputs.BudgetsActionSsmActionDefinitionArgs =
com.pulumi.awsnative.budgets.inputs.BudgetsActionSsmActionDefinitionArgs.builder()
.instanceIds(instanceIds.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.region(region.applyValue({ args0 -> args0 }))
.subtype(subtype.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [BudgetsActionSsmActionDefinitionArgs].
*/
@PulumiTagMarker
public class BudgetsActionSsmActionDefinitionArgsBuilder internal constructor() {
private var instanceIds: Output>? = null
private var region: Output? = null
private var subtype: Output? = null
/**
* @param value The EC2 and RDS instance IDs.
*/
@JvmName("ueyhjdtaikqepxkb")
public suspend fun instanceIds(`value`: Output>) {
this.instanceIds = value
}
@JvmName("fchcnybbbcxkqkro")
public suspend fun instanceIds(vararg values: Output) {
this.instanceIds = Output.all(values.asList())
}
/**
* @param values The EC2 and RDS instance IDs.
*/
@JvmName("aupwphtoayaiubwd")
public suspend fun instanceIds(values: List