LogLevel
- class aws_cdk.aws_stepfunctions.LogLevel(value)
Bases:
Enum
Defines which category of execution history events are logged.
- Default:
ERROR
- See:
https://docs.aws.amazon.com/step-functions/latest/dg/cloudwatch-log-level.html
- ExampleMetadata:
infused
Example:
import aws_cdk.aws_logs as logs log_group = logs.LogGroup(self, "MyLogGroup") sfn.StateMachine(self, "MyStateMachine", definition=sfn.Chain.start(sfn.Pass(self, "Pass")), logs=sfn.LogOptions( destination=log_group, level=sfn.LogLevel.ALL ) )
Attributes
- ALL
Log everything.
- ERROR
Log all errors.
- FATAL
Log fatal errors.
- OFF
No Logging.