CmdID / aws / aws redshift
aws redshift enable-logging
Starts logging information, such as queries and connection attempts, for the specified Amazon Redshift cluster. AWS CLI reference
7 options Its page in the AWS CLI reference
Options
--bucket-nameThe name of an existing S3 bucket where the log files are to be stored.--cluster-identifierThe identifier of the cluster on which logging is to be started.--log-destination-typeThe log destination type.--log-exportsThe collection of exported log types.--s3-key-prefixThe prefix applied to the log file names.--s3-table-granularityThe scope of system table publishing.--s3-table-kms-key-idThe identifier of a customer managed KMS key used to encrypt the S3 tables.