# RowLevelPermissionTagConfigurationProperty

The element you can use to define tags for row-level security.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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';

declare const tagRuleConfigurations: any;
const rowLevelPermissionTagConfigurationProperty: quicksight.CfnDataSet.RowLevelPermissionTagConfigurationProperty = {
  tagRules: [{
    columnName: 'columnName',
    tagKey: 'tagKey',

    // the properties below are optional
    matchAllValue: 'matchAllValue',
    tagMultiValueDelimiter: 'tagMultiValueDelimiter',
  }],

  // the properties below are optional
  status: 'status',
  tagRuleConfigurations: tagRuleConfigurations,
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_quicksight as quicksight

# tag_rule_configurations: Any

row_level_permission_tag_configuration_property = quicksight.CfnDataSet.RowLevelPermissionTagConfigurationProperty(
    tag_rules=[quicksight.CfnDataSet.RowLevelPermissionTagRuleProperty(
        column_name="columnName",
        tag_key="tagKey",

        # the properties below are optional
        match_all_value="matchAllValue",
        tag_multi_value_delimiter="tagMultiValueDelimiter"
    )],

    # the properties below are optional
    status="status",
    tag_rule_configurations=tag_rule_configurations
)
```

Java:

```java
// 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.*;

Object tagRuleConfigurations;

RowLevelPermissionTagConfigurationProperty rowLevelPermissionTagConfigurationProperty = RowLevelPermissionTagConfigurationProperty.builder()
        .tagRules(List.of(RowLevelPermissionTagRuleProperty.builder()
                .columnName("columnName")
                .tagKey("tagKey")

                // the properties below are optional
                .matchAllValue("matchAllValue")
                .tagMultiValueDelimiter("tagMultiValueDelimiter")
                .build()))

        // the properties below are optional
        .status("status")
        .tagRuleConfigurations(tagRuleConfigurations)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.QuickSight;

var tagRuleConfigurations;

var rowLevelPermissionTagConfigurationProperty = new RowLevelPermissionTagConfigurationProperty {
    TagRules = new [] { new RowLevelPermissionTagRuleProperty {
        ColumnName = "columnName",
        TagKey = "tagKey",

        // the properties below are optional
        MatchAllValue = "matchAllValue",
        TagMultiValueDelimiter = "tagMultiValueDelimiter"
    } },

    // the properties below are optional
    Status = "status",
    TagRuleConfigurations = tagRuleConfigurations
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

var tagRuleConfigurations interface{}

rowLevelPermissionTagConfigurationProperty := &RowLevelPermissionTagConfigurationProperty{
	TagRules: []interface{}{
		&RowLevelPermissionTagRuleProperty{
			ColumnName: jsii.String("columnName"),
			TagKey: jsii.String("tagKey"),

			// the properties below are optional
			MatchAllValue: jsii.String("matchAllValue"),
			TagMultiValueDelimiter: jsii.String("tagMultiValueDelimiter"),
		},
	},

	// the properties below are optional
	Status: jsii.String("status"),
	TagRuleConfigurations: tagRuleConfigurations,
}
```

## Properties

- `status`: string — The status of row-level security tags.

  If enabled, the status is `ENABLED` . If disabled, the status is `DISABLED` .

- `tagRuleConfigurations`: any — The configuration of tags on a dataset to set row-level security.

- `tagRules`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDataSet.RowLevelPermissionTagRuleProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnDataSet.RowLevelPermissionTagRuleProperty.html)[] (required) — A set of rules associated with row-level security, such as the tag names and columns that they are assigned to.
