-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.projenrc.ts
29 lines (29 loc) · 1.35 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
import { awscdk, javascript } from 'projen';
const project = new awscdk.AwsCdkConstructLibrary({
author: 'yicr',
authorAddress: 'yicr@users.noreply.github.com',
cdkVersion: '2.120.0',
typescriptVersion: '5.5.x',
jsiiVersion: '5.5.x',
defaultReleaseBranch: 'main',
name: '@gammarers/aws-cloudfront-access-log-relocater',
description: 'This AWS CDK construct modifies the storage format of CloudFront logs in S3 to make them easier to query with Athena and Glue. By enabling event notifications to EventBridge for logs generated by CloudFront, it detects their creation and uses a Step Functions state machine to copy them to a specified S3 bucket (with a specified prefix) while also providing functionality to delete the original files.',
keywords: ['aws', 'cdk', 'aws-cdk', 'cloudfront', 'log', 'access', 'eventbridge', 'bucket'],
projenrcTs: true,
repositoryUrl: 'https://github.com/gammarers/aws-cloudfront-access-log-relocater.git',
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(['7 20 * * 4']),
},
},
autoApproveOptions: {
secret: 'GITHUB_TOKEN',
allowedUsernames: ['yicr'],
},
});
project.synth();