AWS::StepFunctions::StateMachine LoggingConfiguration - AWS CloudFormation

AWS::StepFunctions::StateMachine LoggingConfiguration

Defines what execution history events are logged and where they are logged.

Step Functions provides the log levels — OFF, ALL, ERROR, and FATAL. No event types log when set to OFF and all event types do when set to ALL.

Note

By default, the level is set to OFF. For more information see Log Levels in the AWS Step Functions User Guide.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Destinations" : [ LogDestination, ... ], "IncludeExecutionData" : Boolean, "Level" : String }

Properties

Destinations

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.

Required: No

Type: Array of LogDestination

Minimum: 1

Update requires: No interruption

IncludeExecutionData

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

Required: No

Type: Boolean

Update requires: No interruption

Level

Defines which category of execution history events are logged.

Required: No

Type: String

Allowed values: ALL | ERROR | FATAL | OFF

Update requires: No interruption