Interface CfnDataSet.RowLevelPermissionDataSetProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataSet.RowLevelPermissionDataSetProperty.Jsii$Proxy
- Enclosing class:
CfnDataSet
@Stability(Stable)
public static interface CfnDataSet.RowLevelPermissionDataSetProperty
extends software.amazon.jsii.JsiiSerializable
Information about a dataset that contains permissions for row-level security (RLS).
The permissions dataset maps fields to users or groups. For more information, see Using Row-Level Security (RLS) to Restrict Access to a Dataset in the Amazon QuickSight User Guide .
The option to deny permissions by setting PermissionPolicy
to DENY_ACCESS
is not supported for new RLS datasets.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.quicksight.*; RowLevelPermissionDataSetProperty rowLevelPermissionDataSetProperty = RowLevelPermissionDataSetProperty.builder() .arn("arn") .permissionPolicy("permissionPolicy") // the properties below are optional .formatVersion("formatVersion") .namespace("namespace") .status("status") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnDataSet.RowLevelPermissionDataSetProperty
static final class
An implementation forCfnDataSet.RowLevelPermissionDataSetProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
getArn()
The Amazon Resource Name (ARN) of the dataset that contains permissions for RLS.default String
The user or group rules associated with the dataset that contains permissions for RLS.default String
The namespace associated with the dataset that contains permissions for RLS.The type of permissions to use when interpreting the permissions for RLS.default String
The status of the row-level security permission dataset.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getArn
The Amazon Resource Name (ARN) of the dataset that contains permissions for RLS.- See Also:
-
getPermissionPolicy
The type of permissions to use when interpreting the permissions for RLS.DENY_ACCESS
is included for backward compatibility only.- See Also:
-
getFormatVersion
The user or group rules associated with the dataset that contains permissions for RLS.By default,
FormatVersion
isVERSION_1
. WhenFormatVersion
isVERSION_1
,UserName
andGroupName
are required. WhenFormatVersion
isVERSION_2
,UserARN
andGroupARN
are required, andNamespace
must not exist.- See Also:
-
getNamespace
The namespace associated with the dataset that contains permissions for RLS.- See Also:
-
getStatus
The status of the row-level security permission dataset.If enabled, the status is
ENABLED
. If disabled, the status isDISABLED
.- See Also:
-
builder
-