Class: Aws::RedshiftServerless::Types::LoggingConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::RedshiftServerless::Types::LoggingConfiguration
- Defined in:
- gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb
Overview
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.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#log_destination_type ⇒ String
The destination for the log data.
-
#log_exports ⇒ Array<String>
The types of logs to export to Amazon CloudWatch.
-
#s3_table_action ⇒ String
Whether to enable or disable publishing system tables to Amazon S3 Tables.
-
#s3_table_granularity ⇒ String
The scope of the Amazon S3 Tables destination.
-
#s3_table_kms_key_id ⇒ String
The identifier of the Key Management Service key used to encrypt the published Amazon S3 Tables data.
-
#s3_table_names ⇒ Array<String>
The system tables to publish (on enable) or to stop publishing (on disable).
Instance Attribute Details
#log_destination_type ⇒ String
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.
2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 2811 class LoggingConfiguration < Struct.new( :log_exports, :log_destination_type, :s3_table_action, :s3_table_names, :s3_table_kms_key_id, :s3_table_granularity) SENSITIVE = [] include Aws::Structure end |
#log_exports ⇒ Array<String>
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.
2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 2811 class LoggingConfiguration < Struct.new( :log_exports, :log_destination_type, :s3_table_action, :s3_table_names, :s3_table_kms_key_id, :s3_table_granularity) SENSITIVE = [] include Aws::Structure end |
#s3_table_action ⇒ String
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.
2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 2811 class LoggingConfiguration < Struct.new( :log_exports, :log_destination_type, :s3_table_action, :s3_table_names, :s3_table_kms_key_id, :s3_table_granularity) SENSITIVE = [] include Aws::Structure end |
#s3_table_granularity ⇒ String
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.
2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 2811 class LoggingConfiguration < Struct.new( :log_exports, :log_destination_type, :s3_table_action, :s3_table_names, :s3_table_kms_key_id, :s3_table_granularity) SENSITIVE = [] include Aws::Structure end |
#s3_table_kms_key_id ⇒ String
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.
2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 2811 class LoggingConfiguration < Struct.new( :log_exports, :log_destination_type, :s3_table_action, :s3_table_names, :s3_table_kms_key_id, :s3_table_granularity) SENSITIVE = [] include Aws::Structure end |
#s3_table_names ⇒ Array<String>
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.
2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 2811 class LoggingConfiguration < Struct.new( :log_exports, :log_destination_type, :s3_table_action, :s3_table_names, :s3_table_kms_key_id, :s3_table_granularity) SENSITIVE = [] include Aws::Structure end |