forked from awslabs/cdk-serverless-clamscan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.projenrc.monocdk.js
64 lines (58 loc) · 1.46 KB
/
.projenrc.monocdk.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
54
55
56
57
58
59
60
61
62
63
64
const {
AwsCdkConstructLibrary,
DependenciesUpgradeMechanism,
} = require('projen');
const AUTOMATION_TOKEN = 'PROJEN_GITHUB_TOKEN';
const project = new AwsCdkConstructLibrary({
author: 'Amazon Web Services',
authorAddress: '[email protected]',
cdkVersion: '1.101.0',
jsiiFqn: 'projen.AwsCdkConstructLibrary',
name: 'monocdk-serverless-clamscan',
repositoryUrl: 'https://github.com/awslabs/cdk-serverless-clamscan',
depsUpgrade: DependenciesUpgradeMechanism.githubWorkflow({
workflowOptions: {
labels: ['auto-approve', 'auto-merge'],
secret: AUTOMATION_TOKEN,
},
}),
autoApproveOptions: {
secret: 'GITHUB_TOKEN',
allowedUsernames: ['dontirun', 'cdk-automation'],
},
cdkDependencies: ['monocdk'],
cdkTestDependencies: ['@monocdk-experiment/assert'],
devDeps: ['monocdk-nag'],
publishToPypi: {
distName: 'monocdk-serverless-clamscan',
module: 'monocdk_serverless_clamscan',
},
bin: ['./assets'],
description: 'Serverless architecture to virus scan objects in Amazon S3.',
keywords: [
'clamav',
'virus scan',
'aws',
'docker',
'serverless',
'lambda',
's3',
'efs',
'eventbridge',
'sqs',
],
license: 'Apache-2.0',
defaultReleaseBranch: 'main',
gitignore: [
'.vscode/',
'.venv/',
'cdk.out',
'cdk.context.json',
'dockerAssets.d',
'yarn-error.log',
],
});
project.package.addField('resolutions', {
'trim-newlines': '3.0.1',
});
project.synth();