cmp-aws-database 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -0
- package/cdk.json +85 -0
- package/index.js +5 -0
- package/jest.config.js +8 -0
- package/package.json +47 -0
- package/tsconfig.json +31 -0
package/README.md
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Welcome to your CDK TypeScript project
|
|
2
|
+
|
|
3
|
+
This is a blank project for CDK development with TypeScript.
|
|
4
|
+
|
|
5
|
+
The `cdk.json` file tells the CDK Toolkit how to execute your app.
|
|
6
|
+
|
|
7
|
+
## Useful commands
|
|
8
|
+
|
|
9
|
+
* `npm run build` compile typescript to js
|
|
10
|
+
* `npm run watch` watch for changes and compile
|
|
11
|
+
* `npm run test` perform the jest unit tests
|
|
12
|
+
* `npx cdk deploy` deploy this stack to your default AWS account/region
|
|
13
|
+
* `npx cdk diff` compare deployed stack with current state
|
|
14
|
+
* `npx cdk synth` emits the synthesized CloudFormation template
|
package/cdk.json
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
{
|
|
2
|
+
"app": "npx ts-node --prefer-ts-exts bin/craft-my-plate-database.ts",
|
|
3
|
+
"watch": {
|
|
4
|
+
"include": [
|
|
5
|
+
"**"
|
|
6
|
+
],
|
|
7
|
+
"exclude": [
|
|
8
|
+
"README.md",
|
|
9
|
+
"cdk*.json",
|
|
10
|
+
"**/*.d.ts",
|
|
11
|
+
"**/*.js",
|
|
12
|
+
"tsconfig.json",
|
|
13
|
+
"package*.json",
|
|
14
|
+
"yarn.lock",
|
|
15
|
+
"node_modules",
|
|
16
|
+
"test"
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
"context": {
|
|
20
|
+
"@aws-cdk/aws-lambda:recognizeLayerVersion": true,
|
|
21
|
+
"@aws-cdk/core:checkSecretUsage": true,
|
|
22
|
+
"@aws-cdk/core:target-partitions": [
|
|
23
|
+
"aws",
|
|
24
|
+
"aws-cn"
|
|
25
|
+
],
|
|
26
|
+
"@aws-cdk-containers/ecs-service-extensions:enableDefaultLogDriver": true,
|
|
27
|
+
"@aws-cdk/aws-ec2:uniqueImdsv2TemplateName": true,
|
|
28
|
+
"@aws-cdk/aws-ecs:arnFormatIncludesClusterName": true,
|
|
29
|
+
"@aws-cdk/aws-iam:minimizePolicies": true,
|
|
30
|
+
"@aws-cdk/core:validateSnapshotRemovalPolicy": true,
|
|
31
|
+
"@aws-cdk/aws-codepipeline:crossAccountKeyAliasStackSafeResourceName": true,
|
|
32
|
+
"@aws-cdk/aws-s3:createDefaultLoggingPolicy": true,
|
|
33
|
+
"@aws-cdk/aws-sns-subscriptions:restrictSqsDescryption": true,
|
|
34
|
+
"@aws-cdk/aws-apigateway:disableCloudWatchRole": true,
|
|
35
|
+
"@aws-cdk/core:enablePartitionLiterals": true,
|
|
36
|
+
"@aws-cdk/aws-events:eventsTargetQueueSameAccount": true,
|
|
37
|
+
"@aws-cdk/aws-ecs:disableExplicitDeploymentControllerForCircuitBreaker": true,
|
|
38
|
+
"@aws-cdk/aws-iam:importedRoleStackSafeDefaultPolicyName": true,
|
|
39
|
+
"@aws-cdk/aws-s3:serverAccessLogsUseBucketPolicy": true,
|
|
40
|
+
"@aws-cdk/aws-route53-patters:useCertificate": true,
|
|
41
|
+
"@aws-cdk/customresources:installLatestAwsSdkDefault": false,
|
|
42
|
+
"@aws-cdk/aws-rds:databaseProxyUniqueResourceName": true,
|
|
43
|
+
"@aws-cdk/aws-codedeploy:removeAlarmsFromDeploymentGroup": true,
|
|
44
|
+
"@aws-cdk/aws-apigateway:authorizerChangeDeploymentLogicalId": true,
|
|
45
|
+
"@aws-cdk/aws-ec2:launchTemplateDefaultUserData": true,
|
|
46
|
+
"@aws-cdk/aws-secretsmanager:useAttachedSecretResourcePolicyForSecretTargetAttachments": true,
|
|
47
|
+
"@aws-cdk/aws-redshift:columnId": true,
|
|
48
|
+
"@aws-cdk/aws-stepfunctions-tasks:enableEmrServicePolicyV2": true,
|
|
49
|
+
"@aws-cdk/aws-ec2:restrictDefaultSecurityGroup": true,
|
|
50
|
+
"@aws-cdk/aws-apigateway:requestValidatorUniqueId": true,
|
|
51
|
+
"@aws-cdk/aws-kms:aliasNameRef": true,
|
|
52
|
+
"@aws-cdk/aws-autoscaling:generateLaunchTemplateInsteadOfLaunchConfig": true,
|
|
53
|
+
"@aws-cdk/core:includePrefixInUniqueNameGeneration": true,
|
|
54
|
+
"@aws-cdk/aws-efs:denyAnonymousAccess": true,
|
|
55
|
+
"@aws-cdk/aws-opensearchservice:enableOpensearchMultiAzWithStandby": true,
|
|
56
|
+
"@aws-cdk/aws-lambda-nodejs:useLatestRuntimeVersion": true,
|
|
57
|
+
"@aws-cdk/aws-efs:mountTargetOrderInsensitiveLogicalId": true,
|
|
58
|
+
"@aws-cdk/aws-rds:auroraClusterChangeScopeOfInstanceParameterGroupWithEachParameters": true,
|
|
59
|
+
"@aws-cdk/aws-appsync:useArnForSourceApiAssociationIdentifier": true,
|
|
60
|
+
"@aws-cdk/aws-rds:preventRenderingDeprecatedCredentials": true,
|
|
61
|
+
"@aws-cdk/aws-codepipeline-actions:useNewDefaultBranchForCodeCommitSource": true,
|
|
62
|
+
"@aws-cdk/aws-cloudwatch-actions:changeLambdaPermissionLogicalIdForLambdaAction": true,
|
|
63
|
+
"@aws-cdk/aws-codepipeline:crossAccountKeysDefaultValueToFalse": true,
|
|
64
|
+
"@aws-cdk/aws-codepipeline:defaultPipelineTypeToV2": true,
|
|
65
|
+
"@aws-cdk/aws-kms:reduceCrossAccountRegionPolicyScope": true,
|
|
66
|
+
"@aws-cdk/aws-eks:nodegroupNameAttribute": true,
|
|
67
|
+
"@aws-cdk/aws-ec2:ebsDefaultGp3Volume": true,
|
|
68
|
+
"@aws-cdk/aws-ecs:removeDefaultDeploymentAlarm": true,
|
|
69
|
+
"@aws-cdk/custom-resources:logApiResponseDataPropertyTrueDefault": false,
|
|
70
|
+
"@aws-cdk/aws-s3:keepNotificationInImportedBucket": false,
|
|
71
|
+
"@aws-cdk/aws-ecs:enableImdsBlockingDeprecatedFeature": false,
|
|
72
|
+
"@aws-cdk/aws-ecs:disableEcsImdsBlocking": true,
|
|
73
|
+
"@aws-cdk/aws-ecs:reduceEc2FargateCloudWatchPermissions": true,
|
|
74
|
+
"@aws-cdk/aws-dynamodb:resourcePolicyPerReplica": true,
|
|
75
|
+
"@aws-cdk/aws-ec2:ec2SumTImeoutEnabled": true,
|
|
76
|
+
"@aws-cdk/aws-appsync:appSyncGraphQLAPIScopeLambdaPermission": true,
|
|
77
|
+
"@aws-cdk/aws-rds:setCorrectValueForDatabaseInstanceReadReplicaInstanceResourceId": true,
|
|
78
|
+
"@aws-cdk/core:cfnIncludeRejectComplexResourceUpdateCreatePolicyIntrinsics": true,
|
|
79
|
+
"@aws-cdk/aws-lambda-nodejs:sdkV3ExcludeSmithyPackages": true,
|
|
80
|
+
"@aws-cdk/aws-stepfunctions-tasks:fixRunEcsTaskPolicy": true,
|
|
81
|
+
"@aws-cdk/aws-ec2:bastionHostUseAmazonLinux2023ByDefault": true,
|
|
82
|
+
"@aws-cdk/aws-route53-targets:userPoolDomainNameMethodWithoutCustomResource": true,
|
|
83
|
+
"@aws-cdk/aws-elasticloadbalancingV2:albDualstackWithoutPublicIpv4SecurityGroupRulesDefault": true
|
|
84
|
+
}
|
|
85
|
+
}
|
package/index.js
ADDED
package/jest.config.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "cmp-aws-database",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"bin": {
|
|
5
|
+
"craft-my-plate-database": "bin/craft-my-plate-database.js"
|
|
6
|
+
},
|
|
7
|
+
"scripts": {
|
|
8
|
+
"build": "tsc",
|
|
9
|
+
"watch": "tsc -w",
|
|
10
|
+
"test": "jest",
|
|
11
|
+
"cdk": "cdk"
|
|
12
|
+
},
|
|
13
|
+
"devDependencies": {
|
|
14
|
+
"@types/jest": "^29.5.14",
|
|
15
|
+
"@types/node": "22.7.9",
|
|
16
|
+
"aws-cdk": "2.176.0",
|
|
17
|
+
"jest": "^29.7.0",
|
|
18
|
+
"ts-jest": "^29.2.5",
|
|
19
|
+
"ts-node": "^10.9.2",
|
|
20
|
+
"typescript": "~5.6.3"
|
|
21
|
+
},
|
|
22
|
+
"dependencies": {
|
|
23
|
+
"@nova-odm/annotations": "^0.8.7",
|
|
24
|
+
"aws-cdk-lib": "2.176.0",
|
|
25
|
+
"constructs": "^10.0.0"
|
|
26
|
+
},
|
|
27
|
+
"description": "The package \"cmp-aws-database\" is for its database, which defines global tables. These tables are designed to be imported and used across multiple applications of \"craft-my-plate.\"",
|
|
28
|
+
"main": "index.js",
|
|
29
|
+
"type": "module",
|
|
30
|
+
"directories": {
|
|
31
|
+
"lib": "lib",
|
|
32
|
+
"test": "test"
|
|
33
|
+
},
|
|
34
|
+
"repository": {
|
|
35
|
+
"type": "git",
|
|
36
|
+
"url": "git+https://github.com/Surajpatel24-craftmyplate/craft-my-plate-database.git"
|
|
37
|
+
},
|
|
38
|
+
"keywords": [
|
|
39
|
+
"npm"
|
|
40
|
+
],
|
|
41
|
+
"author": "Suraj Patel",
|
|
42
|
+
"license": "Apache-2.0",
|
|
43
|
+
"bugs": {
|
|
44
|
+
"url": "https://github.com/Surajpatel24-craftmyplate/craft-my-plate-database/issues"
|
|
45
|
+
},
|
|
46
|
+
"homepage": "https://github.com/Surajpatel24-craftmyplate/craft-my-plate-database#readme"
|
|
47
|
+
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "ES2020",
|
|
4
|
+
"module": "commonjs",
|
|
5
|
+
"lib": [
|
|
6
|
+
"es2020",
|
|
7
|
+
"dom"
|
|
8
|
+
],
|
|
9
|
+
"declaration": true,
|
|
10
|
+
"strict": true,
|
|
11
|
+
"noImplicitAny": true,
|
|
12
|
+
"strictNullChecks": true,
|
|
13
|
+
"noImplicitThis": true,
|
|
14
|
+
"alwaysStrict": true,
|
|
15
|
+
"noUnusedLocals": false,
|
|
16
|
+
"noUnusedParameters": false,
|
|
17
|
+
"noImplicitReturns": true,
|
|
18
|
+
"noFallthroughCasesInSwitch": false,
|
|
19
|
+
"inlineSourceMap": true,
|
|
20
|
+
"inlineSources": true,
|
|
21
|
+
"experimentalDecorators": true,
|
|
22
|
+
"strictPropertyInitialization": false,
|
|
23
|
+
"typeRoots": [
|
|
24
|
+
"./node_modules/@types"
|
|
25
|
+
]
|
|
26
|
+
},
|
|
27
|
+
"exclude": [
|
|
28
|
+
"node_modules",
|
|
29
|
+
"cdk.out"
|
|
30
|
+
]
|
|
31
|
+
}
|