
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardCustomContentConfiguration.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.outputs
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardCustomContentImageScalingConfiguration
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardCustomContentType
import kotlin.String
import kotlin.Suppress
/**
*
* @property contentType The content type of the custom content visual. You can use this to have the visual render as an image.
* @property contentUrl The input URL that links to the custom content that you want in the custom visual.
* @property imageScaling The sizing options for the size of the custom content visual. This structure is required when the `ContentType` of the visual is `'IMAGE'` .
*/
public data class DashboardCustomContentConfiguration(
public val contentType: DashboardCustomContentType? = null,
public val contentUrl: String? = null,
public val imageScaling: DashboardCustomContentImageScalingConfiguration? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.DashboardCustomContentConfiguration): DashboardCustomContentConfiguration = DashboardCustomContentConfiguration(
contentType = javaType.contentType().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.DashboardCustomContentType.Companion.toKotlin(args0)
})
}).orElse(null),
contentUrl = javaType.contentUrl().map({ args0 -> args0 }).orElse(null),
imageScaling = javaType.imageScaling().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.DashboardCustomContentImageScalingConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy