@gradientedge/cdk-utils 8.132.0 → 8.133.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -106,7 +106,7 @@ class EventManager {
106
106
  new aws_lambda_1.CfnPermission(scope, `${id}LambdaPermission`, {
107
107
  action: 'lambda:InvokeFunction',
108
108
  functionName: lambdaFunction.functionName,
109
- principal: 'amazonaws.com',
109
+ principal: 'events.amazonaws.com',
110
110
  sourceArn: eventRule.attrArn,
111
111
  });
112
112
  (0, utils_1.createCfnOutput)(`${id}-ruleArn`, scope, eventRule.attrArn);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradientedge/cdk-utils",
3
- "version": "8.132.0",
3
+ "version": "8.133.0",
4
4
  "description": "Utilities for AWS CDK provisioning",
5
5
  "main": "dist/index.js",
6
6
  "engines": {
@@ -129,7 +129,7 @@ export class EventManager {
129
129
  new CfnPermission(scope, `${id}LambdaPermission`, {
130
130
  action: 'lambda:InvokeFunction',
131
131
  functionName: lambdaFunction.functionName,
132
- principal: 'amazonaws.com',
132
+ principal: 'events.amazonaws.com',
133
133
  sourceArn: eventRule.attrArn,
134
134
  })
135
135