![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.quicksight.kotlin.ThemeArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.quicksight.ThemeArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.inputs.ThemeConfigurationArgs
import com.pulumi.awsnative.quicksight.kotlin.inputs.ThemeConfigurationArgsBuilder
import com.pulumi.awsnative.quicksight.kotlin.inputs.ThemeResourcePermissionArgs
import com.pulumi.awsnative.quicksight.kotlin.inputs.ThemeResourcePermissionArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Definition of the AWS::QuickSight::Theme Resource Type.
* @property awsAccountId The ID of the AWS account where you want to store the new theme.
* @property baseThemeId The ID of the theme that a custom theme will inherit from. All themes inherit from one of the starting themes defined by Amazon QuickSight. For a list of the starting themes, use `ListThemes` or choose *Themes* from within an analysis.
* @property configuration The theme configuration, which contains the theme display properties.
* @property name A display name for the theme.
* @property permissions A valid grouping of resource permissions to apply to the new theme.
* @property tags A map of the key-value pairs for the resource tag or tags that you want to add to the resource.
* @property themeId An ID for the theme that you want to create. The theme ID is unique per AWS Region in each AWS account.
* @property versionDescription A description of the first version of the theme that you're creating. Every time `UpdateTheme` is called, a new version is created. Each version of the theme has a description of the version in the `VersionDescription` field.
*/
public data class ThemeArgs(
public val awsAccountId: Output? = null,
public val baseThemeId: Output? = null,
public val configuration: Output? = null,
public val name: Output? = null,
public val permissions: Output>? = null,
public val tags: Output>? = null,
public val themeId: Output? = null,
public val versionDescription: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.ThemeArgs =
com.pulumi.awsnative.quicksight.ThemeArgs.builder()
.awsAccountId(awsAccountId?.applyValue({ args0 -> args0 }))
.baseThemeId(baseThemeId?.applyValue({ args0 -> args0 }))
.configuration(configuration?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.name(name?.applyValue({ args0 -> args0 }))
.permissions(
permissions?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.themeId(themeId?.applyValue({ args0 -> args0 }))
.versionDescription(versionDescription?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ThemeArgs].
*/
@PulumiTagMarker
public class ThemeArgsBuilder internal constructor() {
private var awsAccountId: Output? = null
private var baseThemeId: Output? = null
private var configuration: Output? = null
private var name: Output? = null
private var permissions: Output>? = null
private var tags: Output>? = null
private var themeId: Output? = null
private var versionDescription: Output? = null
/**
* @param value The ID of the AWS account where you want to store the new theme.
*/
@JvmName("uphuqeuudnfrpgvn")
public suspend fun awsAccountId(`value`: Output) {
this.awsAccountId = value
}
/**
* @param value The ID of the theme that a custom theme will inherit from. All themes inherit from one of the starting themes defined by Amazon QuickSight. For a list of the starting themes, use `ListThemes` or choose *Themes* from within an analysis.
*/
@JvmName("fpicjgstoeftbehw")
public suspend fun baseThemeId(`value`: Output) {
this.baseThemeId = value
}
/**
* @param value The theme configuration, which contains the theme display properties.
*/
@JvmName("qrtcvldlihykcotd")
public suspend fun configuration(`value`: Output) {
this.configuration = value
}
/**
* @param value A display name for the theme.
*/
@JvmName("xkqkarxxirqwrbhk")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value A valid grouping of resource permissions to apply to the new theme.
*/
@JvmName("geukkblinhnyfpfa")
public suspend fun permissions(`value`: Output>) {
this.permissions = value
}
@JvmName("wlkguewnfrfkgini")
public suspend fun permissions(vararg values: Output) {
this.permissions = Output.all(values.asList())
}
/**
* @param values A valid grouping of resource permissions to apply to the new theme.
*/
@JvmName("fjkupghrcucomfgi")
public suspend fun permissions(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy