"use strict";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{lambdaFunction;props;static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_stepfunctions_tasks.InvokeFunction",version:"2.256.1"};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;
