LoggingConfigurationProperty Struct
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 .
By default, the
levelis set toOFF. For more information see Log Levels in the AWS Step Functions User Guide.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_stepfunctions as stepfunctions } from 'aws-cdk-lib';
const loggingConfigurationProperty: stepfunctions.CfnStateMachine.LoggingConfigurationProperty = {
destinations: [{
cloudWatchLogsLogGroup: {
logGroupArn: 'logGroupArn',
},
}],
includeExecutionData: false,
level: 'level',
};
Properties
destinationsIResolvable | IResolvable | CfnStateMachine.LogDestinationProperty[]destinationstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, LogDestinationProperty]]]destinationsIResolvableDestinationsIResolvableDestinationsinterface{}#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 .
includeExecutionDataboolean | IResolvableinclude_execution_datatyping.Union[bool, IResolvable]includeExecutionDataBooleanIncludeExecutionDataboolIncludeExecutionDatainterface{}#Determines whether execution data is included in your log.
When set to false , data is excluded.
Defines which category of execution history events are logged.