Creates an EC2 Image Builder using cdk to create EC2 AMIs
npm install @cloudadder/cdk-ec2-imagebuilderimport{ImageBuilder}from'@cloudadder/cdk-ec2-imagebuilder';import{App,Stack,StackProps}from'aws-cdk-lib';import{Construct}from'constructs';exportclassImageBuilderStackextendsStack{constructor(scope: Construct,id: string,props?: StackProps){super(scope,id,props);newImageBuilder(this,'ImageBuilder',{componentsFolder: './test/components',amiName: 'test-ami',subnetId: 'subnet-12345',securityGroupIds: ['sg-12345'],version: '1.0.0',id: 'test-123',});}}Distributed under the Apache-2.0 license.