LogDestinationParameters

class aws_cdk.aws_pipes_alpha.LogDestinationParameters(*, cloudwatch_logs_log_destination=None, firehose_log_destination=None, s3_log_destination=None)

Bases: object

(experimental) Log destination configuration parameters.

Parameters:
  • cloudwatch_logs_log_destination (Union[CloudwatchLogsLogDestinationProperty, Dict[str, Any], None]) – (experimental) The logging configuration settings for the pipe. Default: - none

  • firehose_log_destination (Union[FirehoseLogDestinationProperty, Dict[str, Any], None]) – (experimental) The Amazon Kinesis Data Firehose logging configuration settings for the pipe. Default: - none

  • s3_log_destination (Union[S3LogDestinationProperty, Dict[str, Any], None]) – (experimental) The Amazon S3 logging configuration settings for the pipe. Default: - none

Stability:

experimental

ExampleMetadata:

infused

Example:

# source_queue: sqs.Queue
# target_queue: sqs.Queue


source_filter = pipes.Filter([
    pipes.FilterPattern.from_object({
        "body": {
            # only forward events with customerType B2B or B2C
            "customer_type": ["B2B", "B2C"]
        }
    })
])

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

Attributes

cloudwatch_logs_log_destination

(experimental) The logging configuration settings for the pipe.

Default:
  • none

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipelogconfiguration.html#cfn-pipes-pipe-pipelogconfiguration-cloudwatchlogslogdestination

Stability:

experimental

firehose_log_destination

(experimental) The Amazon Kinesis Data Firehose logging configuration settings for the pipe.

Default:
  • none

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipelogconfiguration.html#cfn-pipes-pipe-pipelogconfiguration-firehoselogdestination

Stability:

experimental

s3_log_destination

(experimental) The Amazon S3 logging configuration settings for the pipe.

Default:
  • none

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipelogconfiguration.html#cfn-pipes-pipe-pipelogconfiguration-s3logdestination

Stability:

experimental