com.pulumi.awsnative.imagebuilder.kotlin.outputs.ImageRecipeAdditionalInstanceConfiguration.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.imagebuilder.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* Specify additional settings and launch scripts for your build instances.
* @property systemsManagerAgent Contains settings for the SSM agent on your build instance.
* @property userDataOverride Use this property to provide commands or a command script to run when you launch your build instance.
*/
public data class ImageRecipeAdditionalInstanceConfiguration(
public val systemsManagerAgent: ImageRecipeSystemsManagerAgent? = null,
public val userDataOverride: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.imagebuilder.outputs.ImageRecipeAdditionalInstanceConfiguration): ImageRecipeAdditionalInstanceConfiguration = ImageRecipeAdditionalInstanceConfiguration(
systemsManagerAgent = javaType.systemsManagerAgent().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.imagebuilder.kotlin.outputs.ImageRecipeSystemsManagerAgent.Companion.toKotlin(args0)
})
}).orElse(null),
userDataOverride = javaType.userDataOverride().map({ args0 -> args0 }).orElse(null),
)
}
}