"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.PhaseChangeEvent=exports.StateChangeEvent=void 0;const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");var events=()=>{var tmp=require("../../aws-events");return events=()=>tmp,tmp};class StateChangeEvent{static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_codebuild.StateChangeEvent",version:"2.256.1"};static get buildStatus(){return events().EventField.fromPath("$.detail.build-status")}static get projectName(){return events().EventField.fromPath("$.detail.project-name")}static get buildId(){return events().EventField.fromPath("$.detail.build-id")}static get currentPhase(){return events().EventField.fromPath("$.detail.current-phase")}constructor(){}}exports.StateChangeEvent=StateChangeEvent;class PhaseChangeEvent{static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_codebuild.PhaseChangeEvent",version:"2.256.1"};static get projectName(){return events().EventField.fromPath("$.detail.project-name")}static get buildId(){return events().EventField.fromPath("$.detail.build-id")}static get completedPhase(){return events().EventField.fromPath("$.detail.completed-phase")}static get completedPhaseStatus(){return events().EventField.fromPath("$.detail.completed-phase-status")}static get completedPhaseDurationSeconds(){return events().EventField.fromPath("$.detail.completed-phase-duration-seconds")}static get buildComplete(){return events().EventField.fromPath("$.detail.build-complete")}constructor(){}}exports.PhaseChangeEvent=PhaseChangeEvent;
