diff --git a/packages/sqs-lambda/src/eventbridge.ts b/packages/sqs-lambda/src/eventbridge.ts index babaf7f..47da786 100644 --- a/packages/sqs-lambda/src/eventbridge.ts +++ b/packages/sqs-lambda/src/eventbridge.ts @@ -117,7 +117,7 @@ export class EventBridgeSqsLambda extends Construct { } addRule(ruleName: string, ruleProps: EventBridgeSqsLambdaRuleProps) { - const rule = new Rule(this, `${ruleName}Rule`, { + const rule = new Rule(this, ruleName, { ruleName, ...ruleProps, });