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.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-states/lib/aws-sdk-states/types.rb

Overview

Note:

When making an API call, you may pass LoggingConfiguration data as a 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.

Constant Summary collapse

SENSITIVE =
[]

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:



1928
1929
1930
1931
1932
1933
1934
# File 'gems/aws-sdk-states/lib/aws-sdk-states/types.rb', line 1928

class LoggingConfiguration < Struct.new(
  :level,
  :include_execution_data,
  :destinations)
  SENSITIVE = []
  include Aws::Structure
end

#include_execution_dataBoolean

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

Returns:

  • (Boolean)


1928
1929
1930
1931
1932
1933
1934
# File 'gems/aws-sdk-states/lib/aws-sdk-states/types.rb', line 1928

class LoggingConfiguration < Struct.new(
  :level,
  :include_execution_data,
  :destinations)
  SENSITIVE = []
  include Aws::Structure
end

#levelString

Defines which category of execution history events are logged.

Returns:

  • (String)


1928
1929
1930
1931
1932
1933
1934
# File 'gems/aws-sdk-states/lib/aws-sdk-states/types.rb', line 1928

class LoggingConfiguration < Struct.new(
  :level,
  :include_execution_data,
  :destinations)
  SENSITIVE = []
  include Aws::Structure
end