IncludeExecutionData

class aws_cdk.aws_pipes_alpha.IncludeExecutionData(value)

Bases: Enum

(experimental) Log data configuration for a pipe.

Stability:

experimental

ExampleMetadata:

infused

Example:

# source_queue: sqs.Queue
# target_queue: sqs.Queue
# loggroup: logs.LogGroup


pipe = pipes.Pipe(self, "Pipe",
    source=SqsSource(source_queue),
    target=SqsTarget(target_queue),

    log_level=pipes.LogLevel.TRACE,
    log_include_execution_data=[pipes.IncludeExecutionData.ALL],

    log_destinations=[
        CloudwatchDestination(loggroup)
    ]
)

Attributes

ALL

(experimental) Specify ALL to include the execution data (specifically, the payload, awsRequest, and awsResponse fields) in the log messages for this pipe.

Stability:

experimental