com.pulumi.aws.quicksight.kotlin.inputs.DataSetRowLevelPermissionDataSetArgs.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.DataSetRowLevelPermissionDataSetArgs.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.jvm.JvmName
/**
*
* @property arn ARN of the dataset that contains permissions for RLS.
* @property formatVersion User or group rules associated with the dataset that contains permissions for RLS.
* @property namespace Namespace associated with the dataset that contains permissions for RLS.
* @property permissionPolicy Type of permissions to use when interpreting the permissions for RLS. Valid values are `GRANT_ACCESS` and `DENY_ACCESS`.
* @property status Status of the row-level security permission dataset. If enabled, the status is `ENABLED`. If disabled, the status is `DISABLED`.
*/
public data class DataSetRowLevelPermissionDataSetArgs(
public val arn: Output,
public val formatVersion: Output? = null,
public val namespace: Output? = null,
public val permissionPolicy: Output,
public val status: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.quicksight.inputs.DataSetRowLevelPermissionDataSetArgs =
com.pulumi.aws.quicksight.inputs.DataSetRowLevelPermissionDataSetArgs.builder()
.arn(arn.applyValue({ args0 -> args0 }))
.formatVersion(formatVersion?.applyValue({ args0 -> args0 }))
.namespace(namespace?.applyValue({ args0 -> args0 }))
.permissionPolicy(permissionPolicy.applyValue({ args0 -> args0 }))
.status(status?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DataSetRowLevelPermissionDataSetArgs].
*/
@PulumiTagMarker
public class DataSetRowLevelPermissionDataSetArgsBuilder internal constructor() {
private var arn: Output? = null
private var formatVersion: Output? = null
private var namespace: Output? = null
private var permissionPolicy: Output? = null
private var status: Output? = null
/**
* @param value ARN of the dataset that contains permissions for RLS.
*/
@JvmName("kjrarxllxpedpvlj")
public suspend fun arn(`value`: Output) {
this.arn = value
}
/**
* @param value User or group rules associated with the dataset that contains permissions for RLS.
*/
@JvmName("vbdrkvskvpormglg")
public suspend fun formatVersion(`value`: Output) {
this.formatVersion = value
}
/**
* @param value Namespace associated with the dataset that contains permissions for RLS.
*/
@JvmName("qrquakbgjoyhpdko")
public suspend fun namespace(`value`: Output) {
this.namespace = value
}
/**
* @param value Type of permissions to use when interpreting the permissions for RLS. Valid values are `GRANT_ACCESS` and `DENY_ACCESS`.
*/
@JvmName("gjfjeadwmfmyinah")
public suspend fun permissionPolicy(`value`: Output) {
this.permissionPolicy = value
}
/**
* @param value Status of the row-level security permission dataset. If enabled, the status is `ENABLED`. If disabled, the status is `DISABLED`.
*/
@JvmName("aaxibudeetduwdmt")
public suspend fun status(`value`: Output) {
this.status = value
}
/**
* @param value ARN of the dataset that contains permissions for RLS.
*/
@JvmName("jlggabosekayxifq")
public suspend fun arn(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.arn = mapped
}
/**
* @param value User or group rules associated with the dataset that contains permissions for RLS.
*/
@JvmName("igndehvthpplilka")
public suspend fun formatVersion(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.formatVersion = mapped
}
/**
* @param value Namespace associated with the dataset that contains permissions for RLS.
*/
@JvmName("qmvsfnqwgsbpmlgl")
public suspend fun namespace(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.namespace = mapped
}
/**
* @param value Type of permissions to use when interpreting the permissions for RLS. Valid values are `GRANT_ACCESS` and `DENY_ACCESS`.
*/
@JvmName("rwutnhughsalrvyq")
public suspend fun permissionPolicy(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.permissionPolicy = mapped
}
/**
* @param value Status of the row-level security permission dataset. If enabled, the status is `ENABLED`. If disabled, the status is `DISABLED`.
*/
@JvmName("jxnlolwabrcdbvbn")
public suspend fun status(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.status = mapped
}
internal fun build(): DataSetRowLevelPermissionDataSetArgs = DataSetRowLevelPermissionDataSetArgs(
arn = arn ?: throw PulumiNullFieldException("arn"),
formatVersion = formatVersion,
namespace = namespace,
permissionPolicy = permissionPolicy ?: throw PulumiNullFieldException("permissionPolicy"),
status = status,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy