com.pulumi.aws.quicksight.kotlin.inputs.ThemePermissionArgs.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.quicksight.kotlin.inputs
import com.pulumi.aws.quicksight.inputs.ThemePermissionArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property actions List of IAM actions to grant or revoke permissions on.
* @property principal ARN of the principal. See the [ResourcePermission documentation](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_ResourcePermission.html) for the applicable ARN values.
*/
public data class ThemePermissionArgs(
public val actions: Output>,
public val principal: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.quicksight.inputs.ThemePermissionArgs =
com.pulumi.aws.quicksight.inputs.ThemePermissionArgs.builder()
.actions(actions.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.principal(principal.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ThemePermissionArgs].
*/
@PulumiTagMarker
public class ThemePermissionArgsBuilder internal constructor() {
private var actions: Output>? = null
private var principal: Output? = null
/**
* @param value List of IAM actions to grant or revoke permissions on.
*/
@JvmName("rtttxpbyvvriyrjh")
public suspend fun actions(`value`: Output>) {
this.actions = value
}
@JvmName("ctgnxubigwivbwos")
public suspend fun actions(vararg values: Output) {
this.actions = Output.all(values.asList())
}
/**
* @param values List of IAM actions to grant or revoke permissions on.
*/
@JvmName("iesndavbpbjqesna")
public suspend fun actions(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy