com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardGridLayoutConfiguration.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.quicksight.kotlin.outputs
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property canvasSizeOptions
* @property elements The elements that are included in a grid layout.
*/
public data class DashboardGridLayoutConfiguration(
public val canvasSizeOptions: DashboardGridLayoutCanvasSizeOptions? = null,
public val elements: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.DashboardGridLayoutConfiguration): DashboardGridLayoutConfiguration = DashboardGridLayoutConfiguration(
canvasSizeOptions = javaType.canvasSizeOptions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardGridLayoutCanvasSizeOptions.Companion.toKotlin(args0)
})
}).orElse(null),
elements = javaType.elements().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardGridLayoutElement.Companion.toKotlin(args0)
})
}),
)
}
}