com.pulumi.aws.imagebuilder.kotlin.inputs.ImageRecipeComponentArgs.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.imagebuilder.kotlin.inputs
import com.pulumi.aws.imagebuilder.inputs.ImageRecipeComponentArgs.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 componentArn Amazon Resource Name (ARN) of the Image Builder Component to associate.
* @property parameters Configuration block(s) for parameters to configure the component. Detailed below.
*/
public data class ImageRecipeComponentArgs(
public val componentArn: Output,
public val parameters: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.imagebuilder.inputs.ImageRecipeComponentArgs =
com.pulumi.aws.imagebuilder.inputs.ImageRecipeComponentArgs.builder()
.componentArn(componentArn.applyValue({ args0 -> args0 }))
.parameters(
parameters?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [ImageRecipeComponentArgs].
*/
@PulumiTagMarker
public class ImageRecipeComponentArgsBuilder internal constructor() {
private var componentArn: Output? = null
private var parameters: Output>? = null
/**
* @param value Amazon Resource Name (ARN) of the Image Builder Component to associate.
*/
@JvmName("qjwrbljmqyuupnuq")
public suspend fun componentArn(`value`: Output) {
this.componentArn = value
}
/**
* @param value Configuration block(s) for parameters to configure the component. Detailed below.
*/
@JvmName("lrujvcxjrkxfxrld")
public suspend fun parameters(`value`: Output>) {
this.parameters = value
}
@JvmName("uxshavfpypspsptq")
public suspend fun parameters(vararg values: Output) {
this.parameters = Output.all(values.asList())
}
/**
* @param values Configuration block(s) for parameters to configure the component. Detailed below.
*/
@JvmName("xwnrwtmjxoininsb")
public suspend fun parameters(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy