You can see the result of this tutorial here:
First step: have a stack constructor
Second step: (optional) create a bootstrapAction
Third step: create a deployAction
export class DeployMyStack extends CdkDeploy{
StackConstructor = MyStack
}
export class MyPipeline extends Workflow{
define(){
this.next(()=>{
// ...
}).next(()=>{
// ...
})
}
}