com.pulumi.awsnative.quicksight.kotlin.outputs.DataSetColumnLevelPermissionRule.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.quicksight.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* 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 DataSetColumnLevelPermissionRule(
public val columnNames: List? = null,
public val principals: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.DataSetColumnLevelPermissionRule): DataSetColumnLevelPermissionRule = DataSetColumnLevelPermissionRule(
columnNames = javaType.columnNames().map({ args0 -> args0 }),
principals = javaType.principals().map({ args0 -> args0 }),
)
}
}