@gradientedge/cdk-utils 4.11.0 → 4.11.1

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.
@@ -111,7 +111,7 @@ class EventManager {
111
111
  scheduleExpression: scheduleExpression,
112
112
  name: `${props.name}-${scope.props.stage}`,
113
113
  state: props.state,
114
- targets: [{ arn: lambdaFunction.functionArn, id: `${id}-${scope.props.stage}` }],
114
+ targets: [{ arn: lambdaFunction.functionArn, id: `${id}-${scope.props.stage}`, input: props.input ?? undefined }],
115
115
  });
116
116
  new lambda.CfnPermission(scope, `${id}LambdaPermission`, {
117
117
  action: 'lambda:InvokeFunction',
@@ -414,6 +414,7 @@ export interface EksClusterProps extends eks.ClusterProps {
414
414
  * @subcategory Properties
415
415
  */
416
416
  export interface RuleProps extends events.CfnRuleProps {
417
+ input?: string;
417
418
  }
418
419
  /**
419
420
  * @category cdk-utils.event-manager
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradientedge/cdk-utils",
3
- "version": "4.11.0",
3
+ "version": "4.11.1",
4
4
  "description": "Utilities for AWS CDK provisioning",
5
5
  "main": "dist/index.js",
6
6
  "engines": {
@@ -110,7 +110,7 @@ export class EventManager {
110
110
  scheduleExpression: scheduleExpression,
111
111
  name: `${props.name}-${scope.props.stage}`,
112
112
  state: props.state,
113
- targets: [{ arn: lambdaFunction.functionArn, id: `${id}-${scope.props.stage}` }],
113
+ targets: [{ arn: lambdaFunction.functionArn, id: `${id}-${scope.props.stage}`, input: props.input ?? undefined }],
114
114
  })
115
115
 
116
116
  new lambda.CfnPermission(scope, `${id}LambdaPermission`, {
@@ -438,7 +438,9 @@ export interface EksClusterProps extends eks.ClusterProps {
438
438
  * @category cdk-utils.event-manager
439
439
  * @subcategory Properties
440
440
  */
441
- export interface RuleProps extends events.CfnRuleProps {}
441
+ export interface RuleProps extends events.CfnRuleProps {
442
+ input?: string
443
+ }
442
444
 
443
445
  /**
444
446
  * @category cdk-utils.event-manager