"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.InputType=exports.TaskInput=void 0;const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),fields_1=require("./fields");class TaskInput{constructor(type,value){this.type=type,this.value=value}static fromText(text){return new TaskInput(InputType.TEXT,text)}static fromObject(obj){return new TaskInput(InputType.OBJECT,obj)}static fromJsonPathAt(path){return new TaskInput(InputType.TEXT,fields_1.JsonPath.stringAt(path))}static fromDataAt(path){return new TaskInput(InputType.TEXT,fields_1.JsonPath.stringAt(path))}static fromContextAt(path){return new TaskInput(InputType.TEXT,fields_1.JsonPath.stringAt(path))}}exports.TaskInput=TaskInput,_a=JSII_RTTI_SYMBOL_1,TaskInput[_a]={fqn:"aws-cdk-lib.aws_stepfunctions.TaskInput",version:"2.13.0"};var InputType;(function(InputType2){InputType2[InputType2.TEXT=0]="TEXT",InputType2[InputType2.OBJECT=1]="OBJECT"})(InputType=exports.InputType||(exports.InputType={}));
//# sourceMappingURL=input.js.map
