interface LogDestinationParameters
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Pipes.Alpha.LogDestinationParameters |
Go | github.com/aws/aws-cdk-go/awscdkpipesalpha/v2#LogDestinationParameters |
Java | software.amazon.awscdk.services.pipes.alpha.LogDestinationParameters |
Python | aws_cdk.aws_pipes_alpha.LogDestinationParameters |
TypeScript (source) | @aws-cdk/aws-pipes-alpha » LogDestinationParameters |
Log destination configuration parameters.
Example
declare const sourceQueue: sqs.Queue;
declare const targetQueue: sqs.Queue;
const sourceFilter = new pipes.Filter(
[
pipes.FilterPattern.fromObject({
body: {
// only forward events with customerType B2B or B2C
customerType: ['B2B', 'B2C']
},
})
]
)
const pipe = new pipes.Pipe(this, 'Pipe', {
source: new SqsSource(sourceQueue),
target: new SqsTarget(targetQueue),
filter: sourceFilter,
});
Properties
Name | Type | Description |
---|---|---|
cloudwatch | Cloudwatch | The logging configuration settings for the pipe. |
firehose | Firehose | The Amazon Kinesis Data Firehose logging configuration settings for the pipe. |
s3 | S3 | The Amazon S3 logging configuration settings for the pipe. |
cloudwatchLogsLogDestination?
Type:
Cloudwatch
(optional, default: none)
The logging configuration settings for the pipe.
firehoseLogDestination?
Type:
Firehose
(optional, default: none)
The Amazon Kinesis Data Firehose logging configuration settings for the pipe.
s3LogDestination?
Type:
S3
(optional, default: none)
The Amazon S3 logging configuration settings for the pipe.