View a markdown version of this page

LoggingConfiguration - Amazon Redshift Serverless

LoggingConfiguration

Specifies a change to the logging configuration of Amazon Redshift Serverless with express configuration. logDestinationType selects the destination. When it is s3table, the S3 Tables members apply. Omit logExports in this case. When it is cloudwatch or omitted, logExports is required. Omit the S3 Tables members in this case.

Contents

logDestinationType

The destination for the log data. Valid values:

  • cloudwatch - Exports audit logs to Amazon CloudWatch. This is the default.

  • s3table - Publishes system tables to Amazon S3 Tables.

Type: String

Valid Values: s3table | cloudwatch

Required: No

logExports

The types of logs to export to Amazon CloudWatch. Available export types are userlog, connectionlog, and useractivitylog. Specify an empty list to stop exporting logs. Required when logDestinationType is cloudwatch or omitted. Can't be specified when logDestinationType is s3table.

Type: Array of strings

Array Members: Minimum number of 0 items. Maximum number of 16 items.

Valid Values: useractivitylog | userlog | connectionlog

Required: No

s3TableAction

Whether to enable or disable publishing system tables to Amazon S3 Tables. Valid values are Enable and Disable, and they are case-sensitive. When omitted, defaults to Enable. Valid only when logDestinationType is s3table.

Type: String

Valid Values: Enable | Disable

Required: No

s3TableGranularity

The scope of the Amazon S3 Tables destination. Valid only when logDestinationType is s3table. Valid values are case-sensitive:

  • workgroup - Scopes the published tables to Amazon Redshift Serverless with express configuration. This is the default.

  • account - Scopes the published tables to the AWS account.

Type: String

Valid Values: workgroup | account

Required: No

s3TableKmsKeyId

The identifier of the AWS Key Management Service key used to encrypt the published Amazon S3 Tables data. When omitted, the data is encrypted with SSE-S3 (Amazon S3 managed keys). Valid only when logDestinationType is s3table.

Type: String

Required: No

s3TableNames

The system tables to publish (on enable) or to stop publishing (on disable). Each value is either a system table view name that begins with sys_ or the keyword all, in lowercase. Omitting this field, passing an empty list, or including all each select every current and future system table. Each name must be 1-128 characters, and the list can contain up to 256 names. Valid only when logDestinationType is s3table.

Type: Array of strings

Array Members: Minimum number of 0 items. Maximum number of 256 items.

Length Constraints: Minimum length of 1. Maximum length of 128.

Pattern: (all|sys_[a-z0-9_]+)

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: