in cdk-resources/lib/cdk-resources-stack.ts [39:62]
constructor(scope: cdk.Construct, id: string, props?: cdk.StackProps) {
super(scope, id, props);
let codecommitRepoName="MicroserviceWorkshop"; //Replace the name here May be we will Read from Parameter
let senderEmail=config.userEmail; // Replace the name here may be we will read from the parameter
this.eksDevClusterName=config.eksDevClusterName
this.eksProdClusterName=config.eksProdClusterName
this.eksDevMasterRoleArn=config.eksDevMasterRoleArn
this.eksProdMasterRoleArn=config.eksProdMasterRoleArn
this.createRepository(codecommitRepoName);
this.ecrHelmTest=this.createECR("ecr-test");
this.ecrHelmProd=this.createECR("ecr-prod");
this.ecrFlashAppTest=this.createECR("flask-app");
this.ecrFlashAppProd=this.createECR("flask-app-prod");
this.createSNSTopic("LabTopic",senderEmail);
this.createALBIamRole()
this.createCloudGuruReviewer();
this.createPipeline(codecommitRepoName,this.createCodeBuildIamRole("Workshop-reinvent-role"));
this.pushToCDKOutput()
// The code that defines your stack goes here
}