enum LogLevel
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Pipes.Alpha.LogLevel |
Go | github.com/aws/aws-cdk-go/awscdkpipesalpha/v2#LogLevel |
Java | software.amazon.awscdk.services.pipes.alpha.LogLevel |
Python | aws_cdk.aws_pipes_alpha.LogLevel |
TypeScript (source) | @aws-cdk/aws-pipes-alpha ยป LogLevel |
Log configuration for a pipe.
Example
declare const sourceQueue: sqs.Queue;
declare const targetQueue: sqs.Queue;
declare const logGroup: logs.LogGroup;
const cwlLogDestination = new pipes.CloudwatchLogsLogDestination(logGroup);
const pipe = new pipes.Pipe(this, 'Pipe', {
source: new SqsSource(sourceQueue),
target: new SqsTarget(targetQueue),
logLevel: pipes.LogLevel.TRACE,
logIncludeExecutionData: [pipes.IncludeExecutionData.ALL],
logDestinations: [cwlLogDestination],
});
Members
| Name | Description |
|---|---|
| OFF | No logging. |
| ERROR | Log only errors. |
| INFO | Log errors, warnings, and info. |
| TRACE | Log everything. |
OFF
No logging.
ERROR
Log only errors.
INFO
Log errors, warnings, and info.
TRACE
Log everything.

.NET
Go
Java
Python
TypeScript (