@sylvesterllc/aws-constructs 1.1.11 → 1.1.13

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.
Files changed (179) hide show
  1. package/.github/workflows/publish.yml +58 -38
  2. package/__tests__/app-config.test.ts +32 -32
  3. package/__tests__/data/testConfig.ts +146 -146
  4. package/__tests__/mocks/ResourceMock.ts +9 -9
  5. package/__tests__/router.test.ts +194 -194
  6. package/dist/config/AppConfig.js +1 -1
  7. package/dist/config/Constants.js +1 -1
  8. package/dist/config/Environments.js +1 -1
  9. package/dist/config/MicroserviceAppConfig.js +1 -1
  10. package/dist/config/ServiceBundleConfig.js +1 -1
  11. package/dist/config/bishopConfig.js +1 -1
  12. package/dist/config/customConfigs/ApiAppConfig.js +1 -1
  13. package/dist/config/customConfigs/GlobalAppConfig.js +1 -1
  14. package/dist/config/customConfigs/IAppConfig.js +1 -1
  15. package/dist/config/customConfigs/ResourceAppConfig.js +1 -1
  16. package/dist/config/microServiceConfig.js +1 -1
  17. package/dist/config/types/LogDuration.js +1 -1
  18. package/dist/config/types/TsgAuthorizerProp.js +1 -1
  19. package/dist/config/types/TsgAuthorizerType.js +1 -1
  20. package/dist/config/types/TsgCdkConfigType.js +1 -1
  21. package/dist/config/types/TsgCognitoConfig.js +1 -1
  22. package/dist/config/types/TsgDnsConfig.js +1 -1
  23. package/dist/config/types/TsgDynamoDbProp.js +1 -1
  24. package/dist/config/types/TsgDynamoIndex.js +1 -1
  25. package/dist/config/types/TsgDynamoProp.js +1 -1
  26. package/dist/config/types/TsgDynamoTable.js +1 -1
  27. package/dist/config/types/TsgDynamoTableRef.js +1 -1
  28. package/dist/config/types/TsgEc2Prop.js +1 -1
  29. package/dist/config/types/TsgKeyPair.js +1 -1
  30. package/dist/config/types/TsgLambda.js +1 -1
  31. package/dist/config/types/TsgLambdaLayerProp.js +1 -1
  32. package/dist/config/types/TsgLambdaMap.js +1 -1
  33. package/dist/config/types/TsgLambdaName.js +1 -1
  34. package/dist/config/types/TsgLambdaNode.js +1 -1
  35. package/dist/config/types/TsgLambdaProp.js +1 -1
  36. package/dist/config/types/TsgLambdaProps.js +1 -1
  37. package/dist/config/types/TsgLambdaRoutable.js +1 -1
  38. package/dist/config/types/index.js +1 -1
  39. package/dist/constants/aws-service-principal-constants.d.ts +3 -0
  40. package/dist/constants/aws-service-principal-constants.js +7 -0
  41. package/dist/constructs/DynamoDbSingleTable.js +1 -1
  42. package/dist/constructs/MicroService.js +1 -1
  43. package/dist/constructs/index.d.ts +1 -0
  44. package/dist/constructs/index.js +4 -2
  45. package/dist/constructs/timer-job.d.ts +6 -0
  46. package/dist/constructs/timer-job.js +15 -0
  47. package/dist/helpers/logger.js +1 -1
  48. package/dist/helpers/util-helper.js +1 -1
  49. package/dist/index.d.ts +2 -1
  50. package/dist/index.js +18 -4
  51. package/dist/interfaces/ApiLambdaResult.js +1 -1
  52. package/dist/interfaces/BaseResourceProps.js +1 -1
  53. package/dist/interfaces/CreateLambdaFunctionInput.js +1 -1
  54. package/dist/interfaces/MicroserviceProps.js +1 -1
  55. package/dist/interfaces/timer-job/index.d.ts +1 -0
  56. package/dist/interfaces/timer-job/index.js +18 -0
  57. package/dist/interfaces/timer-job/timer-job-props.d.ts +14 -0
  58. package/dist/interfaces/timer-job/timer-job-props.js +3 -0
  59. package/dist/resources/base/baseResource.js +1 -1
  60. package/dist/resources/base/tsgBaseResource.js +1 -1
  61. package/dist/resources/certificate/createCertificate.js +1 -1
  62. package/dist/resources/cognito/createCognito.js +1 -1
  63. package/dist/resources/cognito/createCognitoProps.js +1 -1
  64. package/dist/resources/customResource/createSeedDatabaseCustomResource.js +1 -1
  65. package/dist/resources/dynamodb/CreateDynamo.js +1 -1
  66. package/dist/resources/dynamodb/CreateDynamoSingleTableDesign.js +1 -1
  67. package/dist/resources/ec2/create-ec2-instance.js +3 -3
  68. package/dist/resources/ecr/CreateEcr.js +2 -2
  69. package/dist/resources/gateway/CreateApiAndAttachLambdas.js +1 -1
  70. package/dist/resources/gateway/createApi.js +1 -1
  71. package/dist/resources/gateway/createApiKey.js +1 -1
  72. package/dist/resources/helpers/createCommonLayer.js +1 -1
  73. package/dist/resources/helpers/createRoutes.js +1 -1
  74. package/dist/resources/index.js +1 -1
  75. package/dist/resources/lambda/create-basic-lambda.d.ts +3 -0
  76. package/dist/resources/lambda/create-basic-lambda.js +77 -0
  77. package/dist/resources/lambda/createLambda.js +1 -1
  78. package/dist/resources/lambda/lambdaHelper.js +1 -1
  79. package/dist/resources/lambda-authorizer/TsgJwtTokenAuthorizer.js +1 -1
  80. package/dist/resources/lambda-authorizer/TsgRequestAuthorizer.js +1 -1
  81. package/dist/resources/lambda-authorizer/createAuthorizerHelpers.js +1 -1
  82. package/dist/resources/lambda-layer/createLambdaLayer.js +1 -1
  83. package/dist/resources/layers/common/src/nodejs/api-response/responses.js +1 -1
  84. package/dist/resources/layers/common/src/nodejs/index.js +1 -1
  85. package/dist/resources/layers/common/src/nodejs/logger/IContext.js +1 -1
  86. package/dist/resources/layers/common/src/nodejs/logger/index.js +1 -1
  87. package/dist/resources/layers/common/src/nodejs/logger/logger.js +1 -1
  88. package/dist/resources/resources/iam/policyDocuments/cognitoPolicy.js +1 -1
  89. package/dist/resources/resources/iam/roles/createRole.js +1 -1
  90. package/dist/resources/route53/CreateZone.js +1 -1
  91. package/dist/resources/route53/create-zones.js +1 -1
  92. package/dist/resources/securityManager/index.js +1 -1
  93. package/jest.config.js +8 -8
  94. package/jest.config.ts.old +20 -20
  95. package/package.json +55 -56
  96. package/readme.md +147 -147
  97. package/src/config/AppConfig.ts +106 -106
  98. package/src/config/Constants.ts +26 -26
  99. package/src/config/Environments.ts +1 -1
  100. package/src/config/MicroserviceAppConfig.ts +8 -8
  101. package/src/config/ServiceBundleConfig.ts +17 -17
  102. package/src/config/bishopConfig.ts +82 -82
  103. package/src/config/customConfigs/ApiAppConfig.ts +5 -5
  104. package/src/config/customConfigs/GlobalAppConfig.ts +10 -10
  105. package/src/config/customConfigs/IAppConfig.ts +12 -12
  106. package/src/config/customConfigs/ResourceAppConfig.ts +15 -15
  107. package/src/config/microServiceConfig.ts +83 -83
  108. package/src/config/types/LogDuration.ts +7 -7
  109. package/src/config/types/TsgAuthorizerProp.ts +8 -8
  110. package/src/config/types/TsgAuthorizerType.ts +4 -4
  111. package/src/config/types/TsgCdkConfigType.ts +2 -2
  112. package/src/config/types/TsgCognitoConfig.ts +5 -5
  113. package/src/config/types/TsgDnsConfig.ts +10 -10
  114. package/src/config/types/TsgDynamoDbProp.ts +9 -9
  115. package/src/config/types/TsgDynamoIndex.ts +15 -15
  116. package/src/config/types/TsgDynamoProp.ts +16 -16
  117. package/src/config/types/TsgDynamoTable.ts +4 -4
  118. package/src/config/types/TsgDynamoTableRef.ts +3 -3
  119. package/src/config/types/TsgEc2Prop.ts +8 -8
  120. package/src/config/types/TsgKeyPair.ts +5 -5
  121. package/src/config/types/TsgLambda.ts +5 -5
  122. package/src/config/types/TsgLambdaLayerProp.ts +4 -4
  123. package/src/config/types/TsgLambdaMap.ts +3 -3
  124. package/src/config/types/TsgLambdaName.ts +3 -3
  125. package/src/config/types/TsgLambdaNode.ts +3 -3
  126. package/src/config/types/TsgLambdaProp.ts +19 -19
  127. package/src/config/types/TsgLambdaProps.ts +17 -17
  128. package/src/config/types/TsgLambdaRoutable.ts +8 -8
  129. package/src/config/types/index.ts +11 -11
  130. package/src/constants/aws-service-principal-constants.ts +3 -0
  131. package/src/constructs/DynamoDbSingleTable.ts +12 -12
  132. package/src/constructs/MicroService.ts +131 -132
  133. package/src/constructs/index.ts +4 -3
  134. package/src/constructs/timer-job.ts +17 -0
  135. package/src/helpers/logger.ts +12 -12
  136. package/src/helpers/util-helper.ts +19 -19
  137. package/src/index.ts +6 -5
  138. package/src/interfaces/ApiLambdaResult.ts +6 -6
  139. package/src/interfaces/BaseResourceProps.ts +6 -6
  140. package/src/interfaces/CreateLambdaFunctionInput.ts +10 -10
  141. package/src/interfaces/MicroserviceProps.ts +10 -10
  142. package/src/interfaces/timer-job/index.ts +1 -0
  143. package/src/interfaces/timer-job/timer-job-props.ts +17 -0
  144. package/src/resources/base/baseResource.ts +14 -14
  145. package/src/resources/base/tsgBaseResource.ts +21 -21
  146. package/src/resources/certificate/createCertificate.ts +57 -57
  147. package/src/resources/cognito/createCognito.ts +47 -47
  148. package/src/resources/cognito/createCognitoProps.ts +46 -46
  149. package/src/resources/customResource/createSeedDatabaseCustomResource.ts +36 -36
  150. package/src/resources/dynamodb/CreateDynamo.ts +110 -110
  151. package/src/resources/dynamodb/CreateDynamoSingleTableDesign.ts +111 -111
  152. package/src/resources/ec2/create-ec2-instance.ts +52 -52
  153. package/src/resources/ecr/CreateEcr.ts +57 -57
  154. package/src/resources/gateway/CreateApiAndAttachLambdas.ts +161 -161
  155. package/src/resources/gateway/createApi.ts +173 -173
  156. package/src/resources/gateway/createApiKey.ts +88 -88
  157. package/src/resources/helpers/createCommonLayer.ts +18 -18
  158. package/src/resources/helpers/createRoutes.ts +74 -74
  159. package/src/resources/index.ts +1 -1
  160. package/src/resources/lambda/create-basic-lambda.ts +104 -0
  161. package/src/resources/lambda/createLambda.ts +203 -200
  162. package/src/resources/lambda/lambdaHelper.ts +133 -133
  163. package/src/resources/lambda-authorizer/TsgJwtTokenAuthorizer.ts +107 -107
  164. package/src/resources/lambda-authorizer/TsgRequestAuthorizer.ts +44 -44
  165. package/src/resources/lambda-authorizer/createAuthorizerHelpers.ts +76 -76
  166. package/src/resources/lambda-layer/createLambdaLayer.ts +39 -39
  167. package/src/resources/layers/common/package.json +22 -22
  168. package/src/resources/layers/common/src/nodejs/api-response/responses.ts +41 -41
  169. package/src/resources/layers/common/src/nodejs/index.ts +3 -3
  170. package/src/resources/layers/common/src/nodejs/logger/IContext.ts +6 -6
  171. package/src/resources/layers/common/src/nodejs/logger/index.ts +1 -1
  172. package/src/resources/layers/common/src/nodejs/logger/logger.ts +10 -10
  173. package/src/resources/layers/common/tsconfig.json +7 -7
  174. package/src/resources/resources/iam/policyDocuments/cognitoPolicy.ts +54 -54
  175. package/src/resources/resources/iam/roles/createRole.ts +29 -29
  176. package/src/resources/route53/CreateZone.ts +61 -61
  177. package/src/resources/route53/create-zones.ts +40 -40
  178. package/src/resources/securityManager/index.ts +23 -23
  179. package/tsconfig.json +44 -42
@@ -1,62 +1,62 @@
1
- // import { CfnOutput } from "aws-cdk-lib";
2
- // import { HostedZoneProps, IHostedZone, IPublicHostedZone, PublicHostedZone } from "aws-cdk-lib/aws-route53";
3
- // import { Construct } from "constructs";
4
- // import { BaseResource } from "../base/BaseResource";
5
-
6
- // export class CreateHostedZone extends BaseResource {
7
-
8
- // public createdPublicZones: IPublicHostedZone[] = [];
9
-
10
- // constructor(scope: Construct) {
11
- // super(scope);
12
-
13
- // this.createZone();
14
-
15
- // }
16
-
17
- // public createZone() {
18
- // const props: HostedZoneProps = {
19
- // zoneName: this.appConfig.DNS.ZoneName
20
- // };
21
-
22
- // let zone: IPublicHostedZone;
23
-
24
- // if (!this.appConfig.DNS.ZoneExist) {
25
- // zone = new PublicHostedZone(this.scope, `${this.appConfig.DNS.ZoneNameWithoutPeriod}-hosted-zone`, props);
26
- // } else {
27
- // if (!this.appConfig.DNS.ZoneName || !this.appConfig.DNS.ZoneId) {
28
- // throw new Error("You must provide a Zone Name and Zone Id");
29
- // }
30
- // zone = PublicHostedZone.fromHostedZoneAttributes(this.scope, `${this.appConfig.DNS.ZoneNameWithoutPeriod}-hosted-zone`, {
31
- // zoneName: this.appConfig.DNS.ZoneName,
32
- // hostedZoneId: this.appConfig.DNS.ZoneId
33
- // });
34
- // }
35
-
36
- // this.createdPublicZones.push(zone);
37
-
38
- // this.createOutput(this.scope, this.createdPublicZones);
39
- // }
40
-
41
- // protected createOutput<HostedZone>(scope: Construct, createdAssets: HostedZone[]): void {
42
-
43
- // let nameServers = '';
44
-
45
- // this.createdPublicZones.forEach((zone, index) => {
46
- // console.log('Name Servers:', zone.hostedZoneNameServers);
47
-
48
- // zone.hostedZoneNameServers?.forEach((server, idx) => {
49
- // console.log(nameServers);
50
- // nameServers = `${nameServers} - ${idx}: ${server}`;
51
- // }, '');
52
-
53
- // new CfnOutput(scope, `zone-output-${index}`, {
54
- // value: zone.hostedZoneId,
55
- // exportName: 'hosted-zone-id'
56
- // });
57
-
58
- // nameServers = '';
59
- // });
60
- // }
61
-
1
+ // import { CfnOutput } from "aws-cdk-lib";
2
+ // import { HostedZoneProps, IHostedZone, IPublicHostedZone, PublicHostedZone } from "aws-cdk-lib/aws-route53";
3
+ // import { Construct } from "constructs";
4
+ // import { BaseResource } from "../base/BaseResource";
5
+
6
+ // export class CreateHostedZone extends BaseResource {
7
+
8
+ // public createdPublicZones: IPublicHostedZone[] = [];
9
+
10
+ // constructor(scope: Construct) {
11
+ // super(scope);
12
+
13
+ // this.createZone();
14
+
15
+ // }
16
+
17
+ // public createZone() {
18
+ // const props: HostedZoneProps = {
19
+ // zoneName: this.appConfig.DNS.ZoneName
20
+ // };
21
+
22
+ // let zone: IPublicHostedZone;
23
+
24
+ // if (!this.appConfig.DNS.ZoneExist) {
25
+ // zone = new PublicHostedZone(this.scope, `${this.appConfig.DNS.ZoneNameWithoutPeriod}-hosted-zone`, props);
26
+ // } else {
27
+ // if (!this.appConfig.DNS.ZoneName || !this.appConfig.DNS.ZoneId) {
28
+ // throw new Error("You must provide a Zone Name and Zone Id");
29
+ // }
30
+ // zone = PublicHostedZone.fromHostedZoneAttributes(this.scope, `${this.appConfig.DNS.ZoneNameWithoutPeriod}-hosted-zone`, {
31
+ // zoneName: this.appConfig.DNS.ZoneName,
32
+ // hostedZoneId: this.appConfig.DNS.ZoneId
33
+ // });
34
+ // }
35
+
36
+ // this.createdPublicZones.push(zone);
37
+
38
+ // this.createOutput(this.scope, this.createdPublicZones);
39
+ // }
40
+
41
+ // protected createOutput<HostedZone>(scope: Construct, createdAssets: HostedZone[]): void {
42
+
43
+ // let nameServers = '';
44
+
45
+ // this.createdPublicZones.forEach((zone, index) => {
46
+ // console.log('Name Servers:', zone.hostedZoneNameServers);
47
+
48
+ // zone.hostedZoneNameServers?.forEach((server, idx) => {
49
+ // console.log(nameServers);
50
+ // nameServers = `${nameServers} - ${idx}: ${server}`;
51
+ // }, '');
52
+
53
+ // new CfnOutput(scope, `zone-output-${index}`, {
54
+ // value: zone.hostedZoneId,
55
+ // exportName: 'hosted-zone-id'
56
+ // });
57
+
58
+ // nameServers = '';
59
+ // });
60
+ // }
61
+
62
62
  // }
@@ -1,41 +1,41 @@
1
- // import { CfnOutput, Token } from "aws-cdk-lib";
2
- // import { HostedZoneProps, PublicHostedZone, ZoneDelegationRecord } from "aws-cdk-lib/aws-route53";
3
- // import { Construct } from "constructs";
4
- // import { MicroserviceProps } from "../../interfaces/MicroserviceProps";
5
-
6
-
7
- // export const createZones = (scope: Construct, appConfig: MicroserviceProps) => {
8
-
9
- // const createdPublicZones: PublicHostedZone[] = [];
10
-
11
- // const props: HostedZoneProps = {
12
- // zoneName: appConfig.DNS.ZoneName
13
- // };
14
-
15
- // const createdZone = new PublicHostedZone(scope, `${appConfig.DNS.ZoneNameWithoutPeriod}-hosted-zone`, props);
16
-
17
- // createdPublicZones.push(createdZone);
18
-
19
- // zoneOutput(scope, createdPublicZones);
20
- // };
21
-
22
- // const zoneOutput = (scope: Construct, publicZones: PublicHostedZone[]) => {
23
-
24
-
25
- // let nameServers = '';
26
- // publicZones.forEach((zone, index) => {
27
- // console.log('Name Servers:', zone.hostedZoneNameServers);
28
- // zone.hostedZoneNameServers?.forEach((server, idx) => {
29
- // console.log(nameServers);
30
- // nameServers = `${nameServers} - ${idx}: ${server}`;
31
- // }, '');
32
-
33
- // new CfnOutput(scope, `zone-output-${index}`, {
34
- // value: zone.hostedZoneId,
35
- // exportName: 'hosted-zone-id'
36
- // });
37
-
38
- // nameServers = '';
39
- // });
40
-
1
+ // import { CfnOutput, Token } from "aws-cdk-lib";
2
+ // import { HostedZoneProps, PublicHostedZone, ZoneDelegationRecord } from "aws-cdk-lib/aws-route53";
3
+ // import { Construct } from "constructs";
4
+ // import { MicroserviceProps } from "../../interfaces/MicroserviceProps";
5
+
6
+
7
+ // export const createZones = (scope: Construct, appConfig: MicroserviceProps) => {
8
+
9
+ // const createdPublicZones: PublicHostedZone[] = [];
10
+
11
+ // const props: HostedZoneProps = {
12
+ // zoneName: appConfig.DNS.ZoneName
13
+ // };
14
+
15
+ // const createdZone = new PublicHostedZone(scope, `${appConfig.DNS.ZoneNameWithoutPeriod}-hosted-zone`, props);
16
+
17
+ // createdPublicZones.push(createdZone);
18
+
19
+ // zoneOutput(scope, createdPublicZones);
20
+ // };
21
+
22
+ // const zoneOutput = (scope: Construct, publicZones: PublicHostedZone[]) => {
23
+
24
+
25
+ // let nameServers = '';
26
+ // publicZones.forEach((zone, index) => {
27
+ // console.log('Name Servers:', zone.hostedZoneNameServers);
28
+ // zone.hostedZoneNameServers?.forEach((server, idx) => {
29
+ // console.log(nameServers);
30
+ // nameServers = `${nameServers} - ${idx}: ${server}`;
31
+ // }, '');
32
+
33
+ // new CfnOutput(scope, `zone-output-${index}`, {
34
+ // value: zone.hostedZoneId,
35
+ // exportName: 'hosted-zone-id'
36
+ // });
37
+
38
+ // nameServers = '';
39
+ // });
40
+
41
41
  // };
@@ -1,24 +1,24 @@
1
- import { SecretValue } from "aws-cdk-lib";
2
- import { Secret } from "aws-cdk-lib/aws-secretsmanager";
3
- import { Construct } from "constructs";
4
- import { MicroserviceProps } from "../../interfaces/MicroserviceProps";
5
-
6
- export const createSecretManager = (scope: Construct) => {
7
-
8
- const secureMgr = new Secret(scope, 'TemplatedSecret', {
9
- secretName: 'GITHUB_TOKEN',
10
- secretStringValue: SecretValue.unsafePlainText(process.env.GITHUB_TOKEN!),
11
- });
12
-
13
-
14
-
15
- };
16
-
17
- export const getSecretManager = (scope: Construct, prop: MicroserviceProps,
18
- secretManagerARN: string) => {
19
-
20
- const secretMgr = Secret.fromSecretCompleteArn(scope, `${prop.GLOBALS.name}-secret-manager`,
21
- secretManagerARN);
22
-
23
- return secretMgr;
1
+ import { SecretValue } from "aws-cdk-lib";
2
+ import { Secret } from "aws-cdk-lib/aws-secretsmanager";
3
+ import { Construct } from "constructs";
4
+ import { MicroserviceProps } from "../../interfaces/MicroserviceProps";
5
+
6
+ export const createSecretManager = (scope: Construct) => {
7
+
8
+ const secureMgr = new Secret(scope, 'TemplatedSecret', {
9
+ secretName: 'GITHUB_TOKEN',
10
+ secretStringValue: SecretValue.unsafePlainText(process.env.GITHUB_TOKEN!),
11
+ });
12
+
13
+
14
+
15
+ };
16
+
17
+ export const getSecretManager = (scope: Construct, prop: MicroserviceProps,
18
+ secretManagerARN: string) => {
19
+
20
+ const secretMgr = Secret.fromSecretCompleteArn(scope, `${prop.GLOBALS.name}-secret-manager`,
21
+ secretManagerARN);
22
+
23
+ return secretMgr;
24
24
  };
package/tsconfig.json CHANGED
@@ -1,43 +1,45 @@
1
- {
2
- "compilerOptions": {
3
- "target": "ESNext",
4
- "module": "commonjs",
5
- "lib": [
6
- "es2020",
7
- "ESNext",
8
- "dom",
9
- ],
10
- "declaration": true,
11
- "strict": true,
12
- "noImplicitAny": true,
13
- "strictNullChecks": true,
14
- "noImplicitThis": true,
15
- "alwaysStrict": true,
16
- "noUnusedLocals": false,
17
- "noUnusedParameters": false,
18
- "noImplicitReturns": true,
19
- "noFallthroughCasesInSwitch": false,
20
- "inlineSourceMap": true,
21
- "inlineSources": true,
22
- "experimentalDecorators": true,
23
- "strictPropertyInitialization": false,
24
- "resolveJsonModule": true,
25
- "rootDir": "src",
26
- "outDir": "dist",
27
- "typeRoots": [
28
- "./node_modules/@types"
29
- ],
30
- "paths": {
31
- "@davissylvester/common": ["./layers/common/dist/nodejs/node_modules/@davissylvester/common"],
32
-
33
- }
34
- },
35
- "exclude": [
36
- "node_modules",
37
- "cdk.out"
38
- ],
39
- "include": [
40
- "src"
41
- ],
42
- }
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ESNext",
4
+ "module": "commonjs",
5
+ "lib": [
6
+ "es2020",
7
+ "ESNext",
8
+ "dom",
9
+ ],
10
+ "declaration": true,
11
+ "strict": true,
12
+ "noImplicitAny": true,
13
+ "strictNullChecks": true,
14
+ "noImplicitThis": true,
15
+ "alwaysStrict": true,
16
+ "noUnusedLocals": false,
17
+ "noUnusedParameters": false,
18
+ "noImplicitReturns": true,
19
+ "noFallthroughCasesInSwitch": false,
20
+ "inlineSourceMap": true,
21
+ "inlineSources": true,
22
+ "experimentalDecorators": true,
23
+ "strictPropertyInitialization": false,
24
+ "resolveJsonModule": true,
25
+ "rootDir": "src",
26
+ "outDir": "dist",
27
+ "typeRoots": [
28
+ "./node_modules/@types"
29
+ ],
30
+ "skipLibCheck": true,
31
+ "paths": {
32
+ "@davissylvester/common": ["./layers/common/dist/nodejs/node_modules/@davissylvester/common"],
33
+
34
+ }
35
+ },
36
+ "exclude": [
37
+ "node_modules",
38
+ "cdk.out",
39
+ "__tests__"
40
+ ],
41
+ "include": [
42
+ "src"
43
+ ],
44
+ }
43
45