You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing EnableLoggingMessage as input to an Aws::Client method, you can use a vanilla Hash:

{
  cluster_identifier: "String", # required
  bucket_name: "String", # required
  s3_key_prefix: "String",
}

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)

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

#cluster_identifierString

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

Example: examplecluster

Returns:

  • (String)

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

#s3_key_prefixString

The prefix applied to the log file names.

Constraints:

  • Cannot exceed 512 characters

  • Cannot contain spaces( ), double quotes (\"), single quotes (\'), a backslash (\), or control characters. The hexadecimal codes for invalid characters are:

    • x00 to x20

    • x22

    • x27

    • x5c

    • x7f or larger

Returns:

  • (String)

    The prefix applied to the log file names.