com.pulumi.awsnative.ec2.kotlin.inputs.InstanceSsmAssociationArgs.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.ec2.kotlin.inputs
import com.pulumi.awsnative.ec2.inputs.InstanceSsmAssociationArgs.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 associationParameters The input parameter values to use with the associated SSM document.
* @property documentName The name of an SSM document to associate with the instance.
*/
public data class InstanceSsmAssociationArgs(
public val associationParameters: Output>? = null,
public val documentName: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.ec2.inputs.InstanceSsmAssociationArgs =
com.pulumi.awsnative.ec2.inputs.InstanceSsmAssociationArgs.builder()
.associationParameters(
associationParameters?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.documentName(documentName.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [InstanceSsmAssociationArgs].
*/
@PulumiTagMarker
public class InstanceSsmAssociationArgsBuilder internal constructor() {
private var associationParameters: Output>? = null
private var documentName: Output? = null
/**
* @param value The input parameter values to use with the associated SSM document.
*/
@JvmName("visvbndmdsfmctjk")
public suspend fun associationParameters(`value`: Output>) {
this.associationParameters = value
}
@JvmName("xdgdgtebamjxpykh")
public suspend fun associationParameters(vararg values: Output) {
this.associationParameters = Output.all(values.asList())
}
/**
* @param values The input parameter values to use with the associated SSM document.
*/
@JvmName("mjtxcrckmbgmnbce")
public suspend fun associationParameters(values: List