AWS::StepFunctions::StateMachine LoggingConfiguration - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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 Amazon Step Functions User Guide.

Syntax

To declare this entity in your Amazon 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