cdk-demo-construct
v0.0.311
Published
A sample L3 CDK project
Downloads
423
Readme
Welcome to cdk-demo-construct
The Constructs for the CDK Demo.
To Use
import * as ec2 from '@aws-cdk/aws-ec2';
import * as cdk from '@aws-cdk/core';
import { AlarmInstance } from 'cdk-demo-construct';
const app = new cdk.App();
const stack = new cdk.Stack(app, 'integ-default');
const vpc = new ec2.Vpc(stack, 'VPC');
new AlarmInstance(stack, 'AlarmInstance', { vpc, notifyMail: ['[email protected]'] });