package awsstepfunctions import ( "github.com/aws/aws-cdk-go/awscdk/v2/awslogs" ) // Defines what execution history events are logged and where they are logged. // // Example: // import logs "github.com/aws/aws-cdk-go/awscdk" // // // logGroup := logs.NewLogGroup(this, jsii.String("MyLogGroup")) // // sfn.NewStateMachine(this, jsii.String("MyStateMachine"), &StateMachineProps{ // Definition: sfn.Chain_Start(sfn.NewPass(this, jsii.String("Pass"))), // Logs: &LogOptions{ // Destination: logGroup, // Level: sfn.LogLevel_ALL, // }, // }) // type LogOptions struct { // The log group where the execution history events will be logged. Destination awslogs.ILogGroup `field:"required" json:"destination" yaml:"destination"` // Determines whether execution data is included in your log. IncludeExecutionData *bool `field:"optional" json:"includeExecutionData" yaml:"includeExecutionData"` // Defines which category of execution history events are logged. Level LogLevel `field:"optional" json:"level" yaml:"level"` }