@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',
|
package/package.json
CHANGED
|
@@ -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
|