This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
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}
YAML
Destinations:- LogDestinationIncludeExecutionData:BooleanLevel: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:
1Update 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 | OFFUpdate requires: No interruption