com.pulumi.aws.quicksight.kotlin.inputs.DataSetPermissionArgs.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.DataSetPermissionArgs.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 DataSetPermissionArgs(
public val actions: Output>,
public val principal: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.quicksight.inputs.DataSetPermissionArgs =
com.pulumi.aws.quicksight.inputs.DataSetPermissionArgs.builder()
.actions(actions.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.principal(principal.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DataSetPermissionArgs].
*/
@PulumiTagMarker
public class DataSetPermissionArgsBuilder 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("vpnymibbgprejskc")
public suspend fun actions(`value`: Output>) {
this.actions = value
}
@JvmName("mchdbroecnbkhcfp")
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("djggbxuaiqrnvgpq")
public suspend fun actions(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy