AWS::Redshift::Cluster LoggingProperties - AWS CloudFormation

AWS::Redshift::Cluster LoggingProperties

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

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "BucketName" : String, "LogDestinationType" : String, "LogExports" : [ String, ... ], "S3KeyPrefix" : String }

YAML

BucketName: String LogDestinationType: String LogExports: - String S3KeyPrefix: String

Properties

BucketName

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

Required: No

Type: String

Maximum: 2147483647

Update requires: No interruption

LogDestinationType

The log destination type. An enum with possible values of s3 and cloudwatch.

Required: No

Type: String

Update requires: No interruption

LogExports

The collection of exported log types. Possible values are connectionlog, useractivitylog, and userlog.

Required: No

Type: Array of String

Maximum: 3

Update requires: No interruption

S3KeyPrefix

The prefix applied to the log file names.

Valid characters are any letter from any language, any whitespace character, any numeric character, and the following characters: underscore (_), period (.), colon (:), slash (/), equal (=), plus (+), backslash (\), hyphen (-), at symbol (@).

Required: No

Type: String

Pattern: [\p{L}\p{Z}\p{N}_.:/=+\-@]*

Maximum: 256

Update requires: No interruption