"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.InvokeFunction=void 0;const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");var iam=()=>{var tmp=require("../../../aws-iam");return iam=()=>tmp,tmp};class InvokeFunction{constructor(lambdaFunction,props={}){this.lambdaFunction=lambdaFunction,this.props=props}bind(_task){return{resourceArn:this.lambdaFunction.functionArn,policyStatements:[new(iam()).PolicyStatement({resources:this.lambdaFunction.resourceArnsForGrantInvoke,actions:["lambda:InvokeFunction"]})],metricPrefixSingular:"LambdaFunction",metricPrefixPlural:"LambdaFunctions",metricDimensions:{LambdaFunctionArn:this.lambdaFunction.functionArn},parameters:this.props.payload}}}exports.InvokeFunction=InvokeFunction,_a=JSII_RTTI_SYMBOL_1,InvokeFunction[_a]={fqn:"aws-cdk-lib.aws_stepfunctions_tasks.InvokeFunction",version:"2.159.0"};
