interface LoggingConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.StepFunctions.CfnStateMachine.LoggingConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsstepfunctions#CfnStateMachine_LoggingConfigurationProperty |
Java | software.amazon.awscdk.services.stepfunctions.CfnStateMachine.LoggingConfigurationProperty |
Python | aws_cdk.aws_stepfunctions.CfnStateMachine.LoggingConfigurationProperty |
TypeScript | aws-cdk-lib » aws_stepfunctions » CfnStateMachine » LoggingConfigurationProperty |
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
// 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
| Name | Type | Description |
|---|---|---|
| destinations? | IResolvable | (IResolvable | Log)[] | An array of objects that describes where your execution history events will be logged. |
| include | boolean | IResolvable | Determines whether execution data is included in your log. |
| level? | string | Defines which category of execution history events are logged. |
destinations?
Type:
IResolvable | (IResolvable | Log)[]
(optional)
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 .
includeExecutionData?
Type:
boolean | IResolvable
(optional)
Determines whether execution data is included in your log.
When set to false , data is excluded.
level?
Type:
string
(optional)
Defines which category of execution history events are logged.

.NET
Go
Java
Python
TypeScript