com.pulumi.aws.imagebuilder.kotlin.outputs.GetContainerRecipesResult.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.String
import kotlin.Suppress
import kotlin.collections.List
/**
* A collection of values returned by getContainerRecipes.
* @property arns Set of ARNs of the matched Image Builder Container Recipes.
* @property filters
* @property id The provider-assigned unique ID for this managed resource.
* @property names Set of names of the matched Image Builder Container Recipes.
* @property owner
*/
public data class GetContainerRecipesResult(
public val arns: List,
public val filters: List? = null,
public val id: String,
public val names: List,
public val owner: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.imagebuilder.outputs.GetContainerRecipesResult): GetContainerRecipesResult = GetContainerRecipesResult(
arns = javaType.arns().map({ args0 -> args0 }),
filters = javaType.filters().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.imagebuilder.kotlin.outputs.GetContainerRecipesFilter.Companion.toKotlin(args0)
})
}),
id = javaType.id(),
names = javaType.names().map({ args0 -> args0 }),
owner = javaType.owner().map({ args0 -> args0 }).orElse(null),
)
}
}