Interface ILogGroupProps
Customize the CloudWatch LogGroup Event Target.
Inherited Members
Namespace: Amazon.CDK.AWS.Events.Targets
Assembly: Amazon.CDK.AWS.Events.Targets.dll
Syntax (csharp)
public interface ILogGroupProps : ITargetBaseProps
Syntax (vb)
Public Interface ILogGroupProps
Inherits ITargetBaseProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Events;
using Amazon.CDK.AWS.Events.Targets;
using Amazon.CDK.AWS.SQS;
using Amazon.CDK;
Queue queue;
RuleTargetInput ruleTargetInput;
var logGroupProps = new LogGroupProps {
DeadLetterQueue = queue,
Event = ruleTargetInput,
MaxEventAge = Duration.Minutes(30),
RetryAttempts = 123
};
Synopsis
Properties
Event | The event to send to the CloudWatch LogGroup. |
Properties
Event
The event to send to the CloudWatch LogGroup.
virtual RuleTargetInput Event { get; }
Property Value
Remarks
This will be the event logged into the CloudWatch LogGroup
Default: - the entire EventBridge event