
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateLayoutConfiguration.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
/**
*
* @property freeFormLayout A free-form is optimized for a fixed width and has more control over the exact placement of layout elements.
* @property gridLayout A type of layout that can be used on a sheet. In a grid layout, visuals snap to a grid with standard spacing and alignment. Dashboards are displayed as designed, with options to fit to screen or view at actual size. A grid layout can be configured to behave in one of two ways when the viewport is resized: `FIXED` or `RESPONSIVE` .
* @property sectionBasedLayout A section based layout organizes visuals into multiple sections and has customized header, footer and page break.
*/
public data class TemplateLayoutConfiguration(
public val freeFormLayout: TemplateFreeFormLayoutConfiguration? = null,
public val gridLayout: TemplateGridLayoutConfiguration? = null,
public val sectionBasedLayout: TemplateSectionBasedLayoutConfiguration? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.TemplateLayoutConfiguration): TemplateLayoutConfiguration = TemplateLayoutConfiguration(
freeFormLayout = javaType.freeFormLayout().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateFreeFormLayoutConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
gridLayout = javaType.gridLayout().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateGridLayoutConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
sectionBasedLayout = javaType.sectionBasedLayout().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateSectionBasedLayoutConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy