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
- Struct
- Aws::States::Types::LoggingConfiguration
- Defined in:
- (unknown)
Overview
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
-
#destinations ⇒ Array<Types::LogDestination>
An array of objects that describes where your execution history events will be logged.
-
#include_execution_data ⇒ Boolean
Determines whether execution data is included in your log.
-
#level ⇒ String
Defines which category of execution history events are logged.
Instance Attribute Details
#destinations ⇒ Array<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
.
#include_execution_data ⇒ Boolean
Determines whether execution data is included in your log. When set to
false
, data is excluded.
#level ⇒ String
Defines which category of execution history events are logged.
Possible values:
- ALL
- ERROR
- FATAL
- OFF