aws-cdk-lib.aws_redshift.CfnCluster.LoggingPropertiesProperty

interface LoggingPropertiesProperty

LanguageType name
.NETAmazon.CDK.AWS.Redshift.CfnCluster.LoggingPropertiesProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsredshift#CfnCluster_LoggingPropertiesProperty
Javasoftware.amazon.awscdk.services.redshift.CfnCluster.LoggingPropertiesProperty
Pythonaws_cdk.aws_redshift.CfnCluster.LoggingPropertiesProperty
TypeScript aws-cdk-lib » aws_redshift » CfnCluster » LoggingPropertiesProperty

Specifies logging information, such as queries and connection attempts, for the specified Amazon Redshift cluster.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_redshift as redshift } from 'aws-cdk-lib';
const loggingPropertiesProperty: redshift.CfnCluster.LoggingPropertiesProperty = {
  bucketName: 'bucketName',

  // the properties below are optional
  s3KeyPrefix: 's3KeyPrefix',
};

Properties

NameTypeDescription
bucketNamestringThe name of an existing S3 bucket where the log files are to be stored.
s3KeyPrefix?stringThe prefix applied to the log file names.

bucketName

Type: string

The name of an existing S3 bucket where the log files are to be stored.

Constraints:

  • Must be in the same region as the cluster
  • The cluster must have read bucket and put object permissions

s3KeyPrefix?

Type: string (optional)

The prefix applied to the log file names.

Constraints:

  • Cannot exceed 512 characters

  • Cannot contain spaces( ), double quotes ("), single quotes ('), a backslash (), or control characters. The hexadecimal codes for invalid characters are:

  • x00 to x20

  • x22

  • x27

  • x5c

  • x7f or larger