LogOptions
- class aws_cdk.custom_resources.LogOptions(*, destination=None, include_execution_data=None, level=None)
Bases:
objectLog Options for the state machine.
- Parameters:
destination (
Optional[ILogGroupRef]) – The log group where the execution history events will be logged. Default: - a new log group will be createdinclude_execution_data (
Optional[bool]) – Determines whether execution data is included in your log. Default: - falselevel (
Optional[LogLevel]) – Defines which category of execution history events are logged. Default: - ERROR
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_stepfunctions as stepfunctions from aws_cdk import custom_resources from aws_cdk.interfaces import aws_logs as interfaces_logs # log_group_ref: interfaces_logs.ILogGroupRef log_options = custom_resources.LogOptions( destination=log_group_ref, include_execution_data=False, level=stepfunctions.LogLevel.OFF )
Attributes
- destination
The log group where the execution history events will be logged.
- Default:
a new log group will be created
- include_execution_data
Determines whether execution data is included in your log.
- Default:
false
- level
Defines which category of execution history events are logged.
- Default:
ERROR