"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.Succeed=void 0;const jsiiDeprecationWarnings=require("../../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),state_type_1=require("./private/state-type"),state_1=require("./state");class Succeed extends state_1.State{constructor(scope,id,props={}){super(scope,id,props),this.endStates=[];try{jsiiDeprecationWarnings.aws_cdk_lib_aws_stepfunctions_SucceedProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,Succeed),error}}toStateJson(){return{Type:state_type_1.StateType.SUCCEED,Comment:this.comment,...this.renderInputOutput()}}}exports.Succeed=Succeed,_a=JSII_RTTI_SYMBOL_1,Succeed[_a]={fqn:"aws-cdk-lib.aws_stepfunctions.Succeed",version:"2.96.1"};
