LoggingConfiguration
¶
Used by
Source code in docs_src/capo_redshift_serverless/types/logging_configuration.py
log_destination_type
instance-attribute
¶
log_destination_type: NotRequired[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.
log_exports
instance-attribute
¶
log_exports: NotRequired[LogExportList]
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.
s3_table_action
instance-attribute
¶
s3_table_action: NotRequired[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.
s3_table_granularity
instance-attribute
¶
s3_table_granularity: NotRequired[ExpressS3TableGranularity]
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 Amazon Web Services account.
s3_table_kms_key_id
instance-attribute
¶
s3_table_kms_key_id: NotRequired[KmsKeyId]
The identifier of the 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.
s3_table_names
instance-attribute
¶
s3_table_names: NotRequired[S3TableNameList]
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.