AwsEventbridgeEventRuleLogGroupTargetArgs
interface AwsEventbridgeEventRuleLogGroupTargetArgs extends EventbridgeEventRuleTargetCommon {
deadLetterConfig?: NonNullable<Input<EventTargetDeadLetterConfig | undefined>>;
eventBus?: undefined;
input?: Input<string>;
inputPath?: Input<string>;
inputTransformer?: NonNullable<Input<EventTargetInputTransformer | undefined>>;
lambda?: undefined;
logGroup: Input<string>;
retryPolicy?: NonNullable<Input<EventTargetRetryPolicy | undefined>>;
sfn?: undefined;
sns?: undefined;
sqs?: undefined;
}Target configuration for routing events to a CloudWatch Logs log group.
Example
CODE
const rule = new AwsEventbridgeEventRule({
name: 'notify',
defaultEventBus,
eventPattern: JSON.stringify({ source: ['myapp'] }),
targets: { logs: { logGroup: myLogGroup.arn } },
});Hierarchy
EventbridgeEventRuleTargetCommonAwsEventbridgeEventRuleLogGroupTargetArgs
Properties
deadLetterConfig: NonNullable<Input<EventTargetDeadLetterConfig | undefined>>
Inherited from deadLetterConfig
Dead-letter queue configuration for undeliverable events.
eventBus: undefined
input: Input<string>
Inherited from input
Verbatim JSON text passed to the target. Conflicts with inputPath and inputTransformer.
inputPath: Input<string>
Inherited from inputPath
JSONPath expression to extract part of the matched event. Conflicts with input and inputTransformer.
inputTransformer: NonNullable<Input<EventTargetInputTransformer | undefined>>
Inherited from inputTransformer
Custom input transformation applied before delivering the event. Conflicts with input and inputPath.
lambda: undefined
logGroup: Input<string>
CloudWatch Logs log group reference. Accepts a full log group ARN, a log group name, or a pulumi.Output<string> that resolves to either.
retryPolicy: NonNullable<Input<EventTargetRetryPolicy | undefined>>
Inherited from retryPolicy
Retry policy for failed target invocations.