aws-cdk-lib.aws_logs.DataProtectionPolicyConfig

interface DataProtectionPolicyConfig

LanguageType name
.NETAmazon.CDK.AWS.Logs.DataProtectionPolicyConfig
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslogs#DataProtectionPolicyConfig
Javasoftware.amazon.awscdk.services.logs.DataProtectionPolicyConfig
Pythonaws_cdk.aws_logs.DataProtectionPolicyConfig
TypeScript (source)aws-cdk-lib » aws_logs » DataProtectionPolicyConfig

Interface representing a data protection policy.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_logs as logs } from 'aws-cdk-lib';

declare const statement: any;
const dataProtectionPolicyConfig: logs.DataProtectionPolicyConfig = {
  description: 'description',
  name: 'name',
  statement: statement,
  version: 'version',
};

Properties

NameTypeDescription
descriptionstringDescription of the data protection policy.
namestringName of the data protection policy.
statementanyStatements within the data protection policy.
versionstringVersion of the data protection policy.

description

Type: string

Description of the data protection policy.


name

Type: string

Name of the data protection policy.


statement

Type: any

Statements within the data protection policy.

Must contain one Audit and one Redact statement


version

Type: string

Version of the data protection policy.