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

com.pulumi.awsnative.greengrassv2.kotlin.outputs.DeploymentComponentDeploymentSpecification.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.greengrassv2.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property componentVersion
 * @property configurationUpdate
 * @property runWith
 */
public data class DeploymentComponentDeploymentSpecification(
    public val componentVersion: String? = null,
    public val configurationUpdate: DeploymentComponentConfigurationUpdate? = null,
    public val runWith: DeploymentComponentRunWith? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.greengrassv2.outputs.DeploymentComponentDeploymentSpecification): DeploymentComponentDeploymentSpecification = DeploymentComponentDeploymentSpecification(
            componentVersion = javaType.componentVersion().map({ args0 -> args0 }).orElse(null),
            configurationUpdate = javaType.configurationUpdate().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.greengrassv2.kotlin.outputs.DeploymentComponentConfigurationUpdate.Companion.toKotlin(args0)
                })
            }).orElse(null),
            runWith = javaType.runWith().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.greengrassv2.kotlin.outputs.DeploymentComponentRunWith.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy