interface LogOptions
Language | Type name |
---|---|
![]() | Amazon.CDK.CustomResources.LogOptions |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/customresources#LogOptions |
![]() | software.amazon.awscdk.customresources.LogOptions |
![]() | aws_cdk.custom_resources.LogOptions |
![]() | aws-cdk-lib » custom_resources » LogOptions |
Log Options for the state machine.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_logs as logs } from 'aws-cdk-lib';
import { aws_stepfunctions as stepfunctions } from 'aws-cdk-lib';
import { custom_resources } from 'aws-cdk-lib';
declare const logGroup: logs.LogGroup;
const logOptions: custom_resources.LogOptions = {
destination: logGroup,
includeExecutionData: false,
level: stepfunctions.LogLevel.OFF,
};
Properties
Name | Type | Description |
---|---|---|
destination? | ILog | The log group where the execution history events will be logged. |
include | boolean | Determines whether execution data is included in your log. |
level? | Log | Defines which category of execution history events are logged. |
destination?
Type:
ILog
(optional, default: a new log group will be created)
The log group where the execution history events will be logged.
includeExecutionData?
Type:
boolean
(optional, default: false)
Determines whether execution data is included in your log.
level?
Type:
Log
(optional, default: ERROR)
Defines which category of execution history events are logged.