com.pulumi.aws.budgets.kotlin.inputs.BudgetActionDefinitionSsmActionDefinitionArgs.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.budgets.kotlin.inputs
import com.pulumi.aws.budgets.inputs.BudgetActionDefinitionSsmActionDefinitionArgs.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 kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property actionSubType The action subType. Valid values are `STOP_EC2_INSTANCES` or `STOP_RDS_INSTANCES`.
* @property instanceIds The EC2 and RDS instance IDs.
* @property region The Region to run the SSM document.
*/
public data class BudgetActionDefinitionSsmActionDefinitionArgs(
public val actionSubType: Output,
public val instanceIds: Output>,
public val region: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.budgets.inputs.BudgetActionDefinitionSsmActionDefinitionArgs = com.pulumi.aws.budgets.inputs.BudgetActionDefinitionSsmActionDefinitionArgs.builder()
.actionSubType(actionSubType.applyValue({ args0 -> args0 }))
.instanceIds(instanceIds.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.region(region.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [BudgetActionDefinitionSsmActionDefinitionArgs].
*/
@PulumiTagMarker
public class BudgetActionDefinitionSsmActionDefinitionArgsBuilder internal constructor() {
private var actionSubType: Output? = null
private var instanceIds: Output>? = null
private var region: Output? = null
/**
* @param value The action subType. Valid values are `STOP_EC2_INSTANCES` or `STOP_RDS_INSTANCES`.
*/
@JvmName("vaidrepjnxpwoahr")
public suspend fun actionSubType(`value`: Output) {
this.actionSubType = value
}
/**
* @param value The EC2 and RDS instance IDs.
*/
@JvmName("hqwkagkpwgpapomj")
public suspend fun instanceIds(`value`: Output>) {
this.instanceIds = value
}
@JvmName("ljfejygxtcywrtoh")
public suspend fun instanceIds(vararg values: Output) {
this.instanceIds = Output.all(values.asList())
}
/**
* @param values The EC2 and RDS instance IDs.
*/
@JvmName("xyfyuyoguxffpjee")
public suspend fun instanceIds(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy