com.pulumi.aws.quicksight.kotlin.inputs.DataSourcePermissionArgs.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.DataSourcePermissionArgs.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 Set of IAM actions to grant or revoke permissions on. Max of 16 items.
* @property principal The Amazon Resource Name (ARN) of the principal.
*/
public data class DataSourcePermissionArgs(
public val actions: Output>,
public val principal: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.quicksight.inputs.DataSourcePermissionArgs =
com.pulumi.aws.quicksight.inputs.DataSourcePermissionArgs.builder()
.actions(actions.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.principal(principal.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DataSourcePermissionArgs].
*/
@PulumiTagMarker
public class DataSourcePermissionArgsBuilder internal constructor() {
private var actions: Output>? = null
private var principal: Output? = null
/**
* @param value Set of IAM actions to grant or revoke permissions on. Max of 16 items.
*/
@JvmName("xsclqwfqwwjvkwje")
public suspend fun actions(`value`: Output>) {
this.actions = value
}
@JvmName("rsrxsbkgrvssfbee")
public suspend fun actions(vararg values: Output) {
this.actions = Output.all(values.asList())
}
/**
* @param values Set of IAM actions to grant or revoke permissions on. Max of 16 items.
*/
@JvmName("ossqanrnvmdnnjfr")
public suspend fun actions(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy