All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.quicksight.kotlin.inputs.DataSetColumnLevelPermissionRuleArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.quicksight.kotlin.inputs

import com.pulumi.awsnative.quicksight.inputs.DataSetColumnLevelPermissionRuleArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 * 

A rule defined to grant access on one or more restricted columns. * Each dataset can have multiple rules. * To create a restricted column, you add it to one or more rules. * Each rule must contain at least one column and at least one user or group. * To be able to see a restricted column, a user or group needs to be added * to a rule for that column.

* @property columnNames

An array of column names.

* @property principals

An array of Amazon Resource Names (ARNs) for Amazon QuickSight users or groups.

*/ public data class DataSetColumnLevelPermissionRuleArgs( public val columnNames: Output>? = null, public val principals: Output>? = null, ) : ConvertibleToJava { override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DataSetColumnLevelPermissionRuleArgs = com.pulumi.awsnative.quicksight.inputs.DataSetColumnLevelPermissionRuleArgs.builder() .columnNames(columnNames?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })) .principals(principals?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build() } /** * Builder for [DataSetColumnLevelPermissionRuleArgs]. */ @PulumiTagMarker public class DataSetColumnLevelPermissionRuleArgsBuilder internal constructor() { private var columnNames: Output>? = null private var principals: Output>? = null /** * @param value

An array of column names.

*/ @JvmName("rxhwopxmphqaaeah") public suspend fun columnNames(`value`: Output>) { this.columnNames = value } @JvmName("ueosddxabjhlbuhy") public suspend fun columnNames(vararg values: Output) { this.columnNames = Output.all(values.asList()) } /** * @param values

An array of column names.

*/ @JvmName("bjsowyhgiuyltils") public suspend fun columnNames(values: List>) { this.columnNames = Output.all(values) } /** * @param value

An array of Amazon Resource Names (ARNs) for Amazon QuickSight users or groups.

*/ @JvmName("oxhmnftblfcmacva") public suspend fun principals(`value`: Output>) { this.principals = value } @JvmName("fbxymrsfpnfpqgvp") public suspend fun principals(vararg values: Output) { this.principals = Output.all(values.asList()) } /** * @param values

An array of Amazon Resource Names (ARNs) for Amazon QuickSight users or groups.

*/ @JvmName("snoqydajhxbdvuxb") public suspend fun principals(values: List>) { this.principals = Output.all(values) } /** * @param value

An array of column names.

*/ @JvmName("vuiprdvjeyjuorag") public suspend fun columnNames(`value`: List?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.columnNames = mapped } /** * @param values

An array of column names.

*/ @JvmName("rwbgpmgwmvroytas") public suspend fun columnNames(vararg values: String) { val toBeMapped = values.toList() val mapped = toBeMapped.let({ args0 -> of(args0) }) this.columnNames = mapped } /** * @param value

An array of Amazon Resource Names (ARNs) for Amazon QuickSight users or groups.

*/ @JvmName("veoubnlmikwucysd") public suspend fun principals(`value`: List?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.principals = mapped } /** * @param values

An array of Amazon Resource Names (ARNs) for Amazon QuickSight users or groups.

*/ @JvmName("mchwccowidadcgfo") public suspend fun principals(vararg values: String) { val toBeMapped = values.toList() val mapped = toBeMapped.let({ args0 -> of(args0) }) this.principals = mapped } internal fun build(): DataSetColumnLevelPermissionRuleArgs = DataSetColumnLevelPermissionRuleArgs( columnNames = columnNames, principals = principals, ) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy