All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.imagebuilder.kotlin.outputs.ImageRecipeAdditionalInstanceConfiguration.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 0.122.0.0
Show newest version
@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),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy