com.pulumi.aws.imagebuilder.kotlin.outputs.GetImageOutputResource.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.outputs
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property amis Set of objects with each Amazon Machine Image (AMI) created.
* @property containers Set of objects with each container image created and stored in the output repository.
*/
public data class GetImageOutputResource(
public val amis: List,
public val containers: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.imagebuilder.outputs.GetImageOutputResource): GetImageOutputResource = GetImageOutputResource(
amis = javaType.amis().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.imagebuilder.kotlin.outputs.GetImageOutputResourceAmi.Companion.toKotlin(args0)
})
}),
containers = javaType.containers().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.imagebuilder.kotlin.outputs.GetImageOutputResourceContainer.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy