
com.pulumi.awsnative.ssmincidents.kotlin.inputs.ResponsePlanSsmAutomationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.ssmincidents.kotlin.inputs
import com.pulumi.awsnative.ssmincidents.inputs.ResponsePlanSsmAutomationArgs.builder
import com.pulumi.awsnative.ssmincidents.kotlin.enums.ResponsePlanSsmAutomationTargetAccount
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
/**
* The configuration to use when starting the SSM automation document.
* @property documentName The document name to use when starting the SSM automation document.
* @property documentVersion The version of the document to use when starting the SSM automation document.
* @property dynamicParameters The parameters with dynamic values to set when starting the SSM automation document.
* @property parameters The parameters to set when starting the SSM automation document.
* @property roleArn The role ARN to use when starting the SSM automation document.
* @property targetAccount The account type to use when starting the SSM automation document.
*/
public data class ResponsePlanSsmAutomationArgs(
public val documentName: Output,
public val documentVersion: Output? = null,
public val dynamicParameters: Output>? = null,
public val parameters: Output>? = null,
public val roleArn: Output,
public val targetAccount: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.ssmincidents.inputs.ResponsePlanSsmAutomationArgs =
com.pulumi.awsnative.ssmincidents.inputs.ResponsePlanSsmAutomationArgs.builder()
.documentName(documentName.applyValue({ args0 -> args0 }))
.documentVersion(documentVersion?.applyValue({ args0 -> args0 }))
.dynamicParameters(
dynamicParameters?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.parameters(
parameters?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.roleArn(roleArn.applyValue({ args0 -> args0 }))
.targetAccount(targetAccount?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [ResponsePlanSsmAutomationArgs].
*/
@PulumiTagMarker
public class ResponsePlanSsmAutomationArgsBuilder internal constructor() {
private var documentName: Output? = null
private var documentVersion: Output? = null
private var dynamicParameters: Output>? = null
private var parameters: Output>? = null
private var roleArn: Output? = null
private var targetAccount: Output? = null
/**
* @param value The document name to use when starting the SSM automation document.
*/
@JvmName("oyeiwhecatoqtgvy")
public suspend fun documentName(`value`: Output) {
this.documentName = value
}
/**
* @param value The version of the document to use when starting the SSM automation document.
*/
@JvmName("ildrjybclmqlaiit")
public suspend fun documentVersion(`value`: Output) {
this.documentVersion = value
}
/**
* @param value The parameters with dynamic values to set when starting the SSM automation document.
*/
@JvmName("iiyjfygpmavhbshi")
public suspend fun dynamicParameters(`value`: Output>) {
this.dynamicParameters = value
}
@JvmName("yielwvurchcttikd")
public suspend fun dynamicParameters(vararg values: Output) {
this.dynamicParameters = Output.all(values.asList())
}
/**
* @param values The parameters with dynamic values to set when starting the SSM automation document.
*/
@JvmName("fdiaxvmpipiwokbu")
public suspend fun dynamicParameters(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy