"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.Wave=void 0;const jsiiDeprecationWarnings=require("../../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),stage_deployment_1=require("./stage-deployment");class Wave{constructor(id,props={}){var _b,_c;this.id=id,this.stages=[],jsiiDeprecationWarnings.aws_cdk_lib_pipelines_WaveProps(props),this.pre=(_b=props.pre)!==null&&_b!==void 0?_b:[],this.post=(_c=props.post)!==null&&_c!==void 0?_c:[]}addStage(stage,options={}){jsiiDeprecationWarnings.aws_cdk_lib_Stage(stage),jsiiDeprecationWarnings.aws_cdk_lib_pipelines_AddStageOpts(options);const ret=stage_deployment_1.StageDeployment.fromStage(stage,options);return this.stages.push(ret),ret}addPre(...steps){jsiiDeprecationWarnings.aws_cdk_lib_pipelines_Step(steps),this.pre.push(...steps)}addPost(...steps){jsiiDeprecationWarnings.aws_cdk_lib_pipelines_Step(steps),this.post.push(...steps)}}exports.Wave=Wave,_a=JSII_RTTI_SYMBOL_1,Wave[_a]={fqn:"aws-cdk-lib.pipelines.Wave",version:"2.13.0"};
//# sourceMappingURL=wave.js.map
