Class: Aws::Redshift::Types::EnableLoggingMessage

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-redshift/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bucket_nameString

The name of an existing S3 bucket where the log files are to be stored.

Constraints:

  • Must be in the same region as the cluster

  • The cluster must have read bucket and put object permissions

Returns:

  • (String)


6166
6167
6168
6169
6170
6171
6172
6173
6174
# File 'lib/aws-sdk-redshift/types.rb', line 6166

class EnableLoggingMessage < Struct.new(
  :cluster_identifier,
  :bucket_name,
  :s3_key_prefix,
  :log_destination_type,
  :log_exports)
  SENSITIVE = []
  include Aws::Structure
end

#cluster_identifierString

The identifier of the cluster on which logging is to be started.

Example: ‘examplecluster`

Returns:

  • (String)


6166
6167
6168
6169
6170
6171
6172
6173
6174
# File 'lib/aws-sdk-redshift/types.rb', line 6166

class EnableLoggingMessage < Struct.new(
  :cluster_identifier,
  :bucket_name,
  :s3_key_prefix,
  :log_destination_type,
  :log_exports)
  SENSITIVE = []
  include Aws::Structure
end

#log_destination_typeString

The log destination type. An enum with possible values of ‘s3` and `cloudwatch`.

Returns:

  • (String)


6166
6167
6168
6169
6170
6171
6172
6173
6174
# File 'lib/aws-sdk-redshift/types.rb', line 6166

class EnableLoggingMessage < Struct.new(
  :cluster_identifier,
  :bucket_name,
  :s3_key_prefix,
  :log_destination_type,
  :log_exports)
  SENSITIVE = []
  include Aws::Structure
end

#log_exportsArray<String>

The collection of exported log types. Possible values are ‘connectionlog`, `useractivitylog`, and `userlog`.

Returns:

  • (Array<String>)


6166
6167
6168
6169
6170
6171
6172
6173
6174
# File 'lib/aws-sdk-redshift/types.rb', line 6166

class EnableLoggingMessage < Struct.new(
  :cluster_identifier,
  :bucket_name,
  :s3_key_prefix,
  :log_destination_type,
  :log_exports)
  SENSITIVE = []
  include Aws::Structure
end

#s3_key_prefixString

The prefix applied to the log file names.

Valid characters are any letter from any language, any whitespace character, any numeric character, and the following characters: underscore (‘_`), period (`.`), colon (`:`), slash (`/`), equal (`=`), plus (`+`), backslash (“), hyphen (`-`), at symbol (`@`).

Returns:

  • (String)


6166
6167
6168
6169
6170
6171
6172
6173
6174
# File 'lib/aws-sdk-redshift/types.rb', line 6166

class EnableLoggingMessage < Struct.new(
  :cluster_identifier,
  :bucket_name,
  :s3_key_prefix,
  :log_destination_type,
  :log_exports)
  SENSITIVE = []
  include Aws::Structure
end