-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.projenrc.js
53 lines (45 loc) · 1.31 KB
/
.projenrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
const {
ConstructLibraryAws
} = require('projen');
const AWS_CDK_LATEST_RELEASE = '1.61.0';
const PROJECT_NAME = 'cdk-elasticache-monitor';
const PROJECT_DESCRIPTION = 'ElasticacheAutoMonitor allows you to send email, sms, slack, or trigger aws lambda when an alarm occurs.';
const project = new ConstructLibraryAws({
name: PROJECT_NAME,
description: PROJECT_DESCRIPTION,
authorName: "Jiale Chan",
authorEmail: "jiale.chan@gmail.com",
repository: "https://github.com/jialechan/cdk-elasticache-monitor.git",
stability: 'experimental',
keywords: [
'cdk',
'aws',
'elasticache',
'monitor',
'alarm',
'slack',
],
catalog: {
twitter: 'jialechan',
announce: false,
},
// creates PRs for projen upgrades
projenUpgradeSecret: 'PROJEN_GITHUB_TOKEN',
cdkVersion: AWS_CDK_LATEST_RELEASE,
cdkDependencies: [
'@aws-cdk/core',
'@aws-cdk/aws-lambda',
'@aws-cdk/aws-cloudwatch',
'@aws-cdk/aws-sns',
'@aws-cdk/aws-sns-subscriptions',
'@aws-cdk/aws-cloudwatch-actions',
],
python: {
distName: 'cdk-elasticache-monitor',
module: 'cdk-elasticache-monitor'
}
});
const common_exclude = ['cdk.out', 'cdk.context.json', 'images', 'yarn-error.log'];
project.npmignore.exclude(...common_exclude);
project.gitignore.exclude(...common_exclude);
project.synth();