AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Class: Aws::States::Types::LoggingConfiguration

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

Overview

Note:

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

{
  level: "ALL", # accepts ALL, ERROR, FATAL, OFF
  include_execution_data: false,
  destinations: [
    {
      cloud_watch_logs_log_group: {
        log_group_arn: "Arn",
      },
    },
  ],
}

The LoggingConfiguration data type is used to set CloudWatch Logs options.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#destinationsArray<Types::LogDestination>

An array of objects that describes where your execution history events will be logged. Limited to size 1. Required, if your log level is not set to OFF.

Returns:

  • (Array<Types::LogDestination>)

    An array of objects that describes where your execution history events will be logged.

#include_execution_dataBoolean

Determines whether execution data is included in your log. When set to false, data is excluded.

Returns:

  • (Boolean)

    Determines whether execution data is included in your log.

#levelString

Defines which category of execution history events are logged.

Possible values:

  • ALL
  • ERROR
  • FATAL
  • OFF

Returns:

  • (String)

    Defines which category of execution history events are logged.