Class CfnPipe.CloudwatchLogsLogDestinationProperty
Represents the Amazon CloudWatch Logs logging configuration settings for the pipe.
Inheritance
System.Object
CfnPipe.CloudwatchLogsLogDestinationProperty
Namespace: Amazon.CDK.AWS.Pipes
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CloudwatchLogsLogDestinationProperty : Object, CfnPipe.ICloudwatchLogsLogDestinationProperty
Syntax (vb)
Public Class CloudwatchLogsLogDestinationProperty
Inherits Object
Implements CfnPipe.ICloudwatchLogsLogDestinationProperty
Remarks
ExampleMetadata: infused
Examples
Queue sourceQueue;
Queue targetQueue;
var sourceFilter = new Filter(new [] { FilterPattern.FromObject(new Dictionary<string, object> {
{ "body", new Dictionary<string, string[]> {
// only forward events with customerType B2B or B2C
{ "customerType", new [] { "B2B", "B2C" } }
} }
}) });
var pipe = new Pipe(this, "Pipe", new PipeProps {
Source = new SqsSource(sourceQueue),
Target = new SqsTarget(targetQueue),
Filter = sourceFilter
});
Synopsis
Constructors
CloudwatchLogsLogDestinationProperty() |
Properties
LogGroupArn | The AWS Resource Name (ARN) for the CloudWatch log group to which EventBridge sends the log records. |
Constructors
CloudwatchLogsLogDestinationProperty()
public CloudwatchLogsLogDestinationProperty()
Properties
LogGroupArn
The AWS Resource Name (ARN) for the CloudWatch log group to which EventBridge sends the log records.
public string LogGroupArn { get; set; }
Property Value
System.String