ClusterLogging

data class ClusterLogging(val bucketName: String? = null, val enable: Boolean, val logDestinationType: String? = null, val logExports: List<String>? = null, val s3KeyPrefix: String? = null)

Constructors

Link copied to clipboard
constructor(bucketName: String? = null, enable: Boolean, logDestinationType: String? = null, logExports: List<String>? = null, s3KeyPrefix: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val bucketName: String? = null

The name of an existing S3 bucket where the log files are to be stored. Must be in the same region as the cluster and the cluster must have read bucket and put object permissions. For more information on the permissions required for the bucket, please read the AWS documentation

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard
val logExports: List<String>? = null

The collection of exported log types. Log types include the connection log, user log and user activity log. Required when log_destination_type is cloudwatch. Valid log types are connectionlog, userlog, and useractivitylog.

Link copied to clipboard
val s3KeyPrefix: String? = null

The prefix applied to the log file names.