-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.projenrc.ts
33 lines (33 loc) · 1.46 KB
/
.projenrc.ts
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
import { awscdk, javascript } from 'projen';
const project = new awscdk.AwsCdkConstructLibrary({
author: 'yicr',
authorAddress: '[email protected]',
cdkVersion: '2.120.0',
typescriptVersion: '5.5.x',
jsiiVersion: '5.5.x',
defaultReleaseBranch: 'main',
name: '@gammarers/aws-log-stream-event-notification-stack',
keywords: ['aws', 'cdk', 'aws-cdk', 'log', 'notification', 'lambda', 'subscription', 'stepfuncstions'],
description: 'This AWS CDK construct stack subscribes to a CloudWatch Logs log stream, and when a target log level is detected, it sends the log information to a Step Functions state machine via a Lambda function. The state machine processes and formats the log information, then publishes a message to the target SNS topic. But CloudWatch Logs by a Node.js-based Lambda function only.',
projenrcTs: true,
repositoryUrl: 'https://github.com/gammarers/aws-log-stream-event-notification-stack.git',
deps: [
'@gammarers/aws-log-stream-event-trigger@^0.3.6',
'@gammarers/aws-log-stream-event-notifier@^0.1.5',
],
releaseToNpm: true,
npmAccess: javascript.NpmAccess.PUBLIC,
minNodeVersion: '18.0.0',
workflowNodeVersion: '22.4.x',
depsUpgradeOptions: {
workflowOptions: {
labels: ['auto-approve', 'auto-merge'],
schedule: javascript.UpgradeDependenciesSchedule.expressions(['02 16 * * 4']),
},
},
autoApproveOptions: {
secret: 'GITHUB_TOKEN',
allowedUsernames: ['yicr'],
},
});
project.synth();