forked from aws-samples/aws-private-ca-matter-infrastructure
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
40 lines (40 loc) · 3.05 KB
/
package.json
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
{
"name": "matter-pki-cdk",
"version": "1.0.0",
"description": "Setting up infrastructure for Matter PKI",
"private": true,
"bin": {
"matter": "bin/matter.js"
},
"scripts": {
"build": "tsc",
"watch": "tsc -w",
"test": "CDK_DEFAULT_ACCOUNT=123 CDK_DEFAULT_REGION=us-west-2 jest",
"cdk": "cdk",
"generateCfn": "cdk synth --context generatePaa=1 >templates/PAAStack2.yaml && yq 'del(.Parameters.BootstrapVersion,.Rules,.Resources.CDKMetadata,.Conditions.CDKMetadataAvailable,..|select(has(\"Metadata\")).Metadata)' templates/PAAStack2.yaml > templates/PAAStack3.yaml && yq '.Resources.CustomLambdaFunctionUtilsCustomResourceProviderHandler6BCB6537.Properties.Code.S3Key = \"LambdaFunctionUtils.zip\" | .Resources.CustomLambdaFunctionUtilsCustomResourceProviderHandler6BCB6537.Properties.Code.S3Bucket.\"Fn::Sub\" = \"${AWS::AccountId}-matter-cfn-deployment-assets\"' templates/PAAStack3.yaml >templates/PAAStack4.yaml && cdk synth --context generatePaiCnt=2 >templates/PAIStack2.yaml && yq 'del(.Parameters.BootstrapVersion,.Rules,.Resources.CDKMetadata,.Conditions.CDKMetadataAvailable,..|select(has(\"Metadata\")).Metadata)' templates/PAIStack2.yaml > templates/PAIStack3.yaml && yq '.Resources.AWS679f53fac002430cb0da5b7982bd22872D164C4C.Properties.Code.S3Key = \"PcaAwsCall.zip\" | .Resources.AWS679f53fac002430cb0da5b7982bd22872D164C4C.Properties.Code.S3Bucket.\"Fn::Sub\" = \"${AWS::AccountId}-matter-cfn-deployment-assets\" | .Resources.SqsToDacIssuingLambdaLambdaFunction63CBA51A.Properties.Code.S3Key = \"DACIssuingLambda.zip\" | .Resources.SqsToDacIssuingLambdaLambdaFunction63CBA51A.Properties.Code.S3Bucket.\"Fn::Sub\" = \"${AWS::AccountId}-matter-cfn-deployment-assets\" | .Resources.LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aFD4BFC8A.Properties.Code.S3Key = \"LogRetentionLambda.zip\" | .Resources.LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aFD4BFC8A.Properties.Code.S3Bucket.\"Fn::Sub\" = \"${AWS::AccountId}-matter-cfn-deployment-assets\" | .Resources.CustomLambdaFunctionUtilsCustomResourceProviderHandler6BCB6537.Properties.Code.S3Key = \"LambdaFunctionUtils.zip\" | .Resources.CustomLambdaFunctionUtilsCustomResourceProviderHandler6BCB6537.Properties.Code.S3Bucket.\"Fn::Sub\" = \"${AWS::AccountId}-matter-cfn-deployment-assets\"' templates/PAIStack3.yaml >templates/PAIStack4.yaml && echo \"===Test templates/PAAStack4.yaml and templates/PAIStack4.yaml template files before updating target files===\""
},
"author": {
"name": "Amazon Web Services",
"url": "https://aws.amazon.com",
"organization": true
},
"devDependencies": {
"@types/babel__traverse": "^7.20.6",
"@types/jest": "^29.5.12",
"@types/node": "^22.5.4",
"aws-cdk": "2.155.0",
"jest": "^29.7.0",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"typescript": "~5.5.4"
},
"dependencies": {
"@aws-sdk/client-acm-pca": "^3.645.0",
"@aws-solutions-constructs/aws-s3-sqs": "^2.68.0",
"@aws-solutions-constructs/aws-sqs-lambda": "^2.68.0",
"aws-cdk-lib": "2.155.0",
"constructs": "^10.3.0",
"npm": "^10.8.3",
"prettier": "^3.3.3"
}
}