AWS::Redshift::Cluster LoggingProperties - AWS CloudFormation (original) (raw)
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
Did this page help you? - Yes
Thanks for letting us know we're doing a good job!
If you've got a moment, please tell us what we did right so we can do more of it.
Did this page help you? - No
Thanks for letting us know this page needs work. We're sorry we let you down.
If you've got a moment, please tell us how we can make the documentation better.