interface CloudwatchLogsLogDestinationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Pipes.CfnPipe.CloudwatchLogsLogDestinationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awspipes#CfnPipe_CloudwatchLogsLogDestinationProperty |
Java | software.amazon.awscdk.services.pipes.CfnPipe.CloudwatchLogsLogDestinationProperty |
Python | aws_cdk.aws_pipes.CfnPipe.CloudwatchLogsLogDestinationProperty |
TypeScript | aws-cdk-lib » aws_pipes » CfnPipe » CloudwatchLogsLogDestinationProperty |
Represents the Amazon CloudWatch Logs logging configuration settings for the pipe.
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 |
---|---|---|
log | string | The AWS Resource Name (ARN) for the CloudWatch log group to which EventBridge sends the log records. |
logGroupArn?
Type:
string
(optional)
The AWS Resource Name (ARN) for the CloudWatch log group to which EventBridge sends the log records.