# CfnDataProtectionSettingsProps

Properties for defining a `CfnDataProtectionSettings`.

Extends: CfnDataProtectionSettingsProps
Used as props by: CfnDataProtectionSettings

- Source: Generated code
- Type last changed: v2.172.0 · 7 Dec 2024

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_workspacesweb as workspacesweb } from 'aws-cdk-lib';
const cfnDataProtectionSettingsProps: workspacesweb.CfnDataProtectionSettingsProps = {
  additionalEncryptionContext: {
    additionalEncryptionContextKey: 'additionalEncryptionContext',
  },
  customerManagedKey: 'customerManagedKey',
  description: 'description',
  displayName: 'displayName',
  inlineRedactionConfiguration: {
    inlineRedactionPatterns: [{
      redactionPlaceHolder: {
        redactionPlaceHolderType: 'redactionPlaceHolderType',

        // the properties below are optional
        redactionPlaceHolderText: 'redactionPlaceHolderText',
      },

      // the properties below are optional
      builtInPatternId: 'builtInPatternId',
      confidenceLevel: 123,
      customPattern: {
        patternName: 'patternName',
        patternRegex: 'patternRegex',

        // the properties below are optional
        keywordRegex: 'keywordRegex',
        patternDescription: 'patternDescription',
      },
      enforcedUrls: ['enforcedUrls'],
      exemptUrls: ['exemptUrls'],
    }],

    // the properties below are optional
    globalConfidenceLevel: 123,
    globalEnforcedUrls: ['globalEnforcedUrls'],
    globalExemptUrls: ['globalExemptUrls'],
  },
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

## Properties

- `additionalEncryptionContext`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | { [key: string]: string } — The additional encryption context of the data protection settings.

- `customerManagedKey`: string — The customer managed key used to encrypt sensitive information in the data protection settings.

- `description`: string — The description of the data protection settings.

- `displayName`: string — The display name of the data protection settings.

- `inlineRedactionConfiguration`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDataProtectionSettings.InlineRedactionConfigurationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_workspacesweb.CfnDataProtectionSettings.InlineRedactionConfigurationProperty.html) — The inline redaction configuration for the data protection settings.

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — The tags of the data protection settings.
