# ColumnLevelPermissionRuleProperty

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.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_quicksight as quicksight } from 'aws-cdk-lib';
const columnLevelPermissionRuleProperty: quicksight.CfnDataSet.ColumnLevelPermissionRuleProperty = {
  columnNames: ['columnNames'],
  principals: ['principals'],
};
```

## Properties

- `columnNames`: string[] — An array of column names.

- `principals`: string[] — An array of Amazon Resource Names (ARNs) for Quick users or groups.
