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 | cloudwatchRequired: No
-
- logExports
-
The types of logs to export to Amazon CloudWatch. Available export types are
userlog,connectionlog, anduseractivitylog. Specify an empty list to stop exporting logs. Required whenlogDestinationTypeiscloudwatchor omitted. Can't be specified whenlogDestinationTypeiss3table.Type: Array of strings
Array Members: Minimum number of 0 items. Maximum number of 16 items.
Valid Values:
useractivitylog | userlog | connectionlogRequired: No
- s3TableAction
-
Whether to enable or disable publishing system tables to Amazon S3 Tables. Valid values are
EnableandDisable, and they are case-sensitive. When omitted, defaults toEnable. Valid only whenlogDestinationTypeiss3table.Type: String
Valid Values:
Enable | DisableRequired: No
- s3TableGranularity
-
The scope of the Amazon S3 Tables destination. Valid only when
logDestinationTypeiss3table. 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 | accountRequired: 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
logDestinationTypeiss3table.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 keywordall, in lowercase. Omitting this field, passing an empty list, or includingalleach 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 whenlogDestinationTypeiss3table.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: