cdk-demo-construct
Version:
A sample L3 CDK project
21 lines (18 loc) • 972 B
Markdown
[](https://badge.fury.io/js/cdk-demo-construct)
[](https://badge.fury.io/py/cdk-demo-construct)




The Constructs for the CDK Demo.
```ts
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: ['mail@example.com'] });
```