ClusterLoggingArgs

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

Constructors

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

Properties

Link copied to clipboard
val bucketName: Output<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
val enable: Output<Boolean>

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

Link copied to clipboard
val logDestinationType: Output<String>? = null

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

Link copied to clipboard
val logExports: Output<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: Output<String>? = null

The prefix applied to the log file names.

Functions

Link copied to clipboard
open override fun toJava(): ClusterLoggingArgs