@aws-solutions-constructs/aws-sqs-pipes-stepfunctions 2.73.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.
Files changed (92) hide show
  1. package/.eslintignore +7 -0
  2. package/.jsii +4457 -0
  3. package/README.md +100 -0
  4. package/architecture.png +0 -0
  5. package/integ.config.json +0 -0
  6. package/lib/index.d.ts +140 -0
  7. package/lib/index.js +77 -0
  8. package/package.json +96 -0
  9. package/test/integ.sqspstp-custom-log-level.d.ts +13 -0
  10. package/test/integ.sqspstp-custom-log-level.js +33 -0
  11. package/test/integ.sqspstp-custom-log-level.js.snapshot/cdk.out +1 -0
  12. package/test/integ.sqspstp-custom-log-level.js.snapshot/integ.json +12 -0
  13. package/test/integ.sqspstp-custom-log-level.js.snapshot/manifest.json +205 -0
  14. package/test/integ.sqspstp-custom-log-level.js.snapshot/sqspstp-custom-log-level.assets.json +19 -0
  15. package/test/integ.sqspstp-custom-log-level.js.snapshot/sqspstp-custom-log-level.template.json +654 -0
  16. package/test/integ.sqspstp-custom-log-level.js.snapshot/sqspstpcustomloglevelIntegDefaultTestDeployAssertD542618D.assets.json +19 -0
  17. package/test/integ.sqspstp-custom-log-level.js.snapshot/sqspstpcustomloglevelIntegDefaultTestDeployAssertD542618D.template.json +36 -0
  18. package/test/integ.sqspstp-custom-log-level.js.snapshot/tree.json +957 -0
  19. package/test/integ.sqspstp-existing-queue.d.ts +13 -0
  20. package/test/integ.sqspstp-existing-queue.js +35 -0
  21. package/test/integ.sqspstp-existing-queue.js.snapshot/cdk.out +1 -0
  22. package/test/integ.sqspstp-existing-queue.js.snapshot/integ.json +12 -0
  23. package/test/integ.sqspstp-existing-queue.js.snapshot/manifest.json +205 -0
  24. package/test/integ.sqspstp-existing-queue.js.snapshot/sqspstp-existing-queue.assets.json +19 -0
  25. package/test/integ.sqspstp-existing-queue.js.snapshot/sqspstp-existing-queue.template.json +654 -0
  26. package/test/integ.sqspstp-existing-queue.js.snapshot/sqspstpexistingqueueIntegDefaultTestDeployAssert6DA9FDD7.assets.json +19 -0
  27. package/test/integ.sqspstp-existing-queue.js.snapshot/sqspstpexistingqueueIntegDefaultTestDeployAssert6DA9FDD7.template.json +36 -0
  28. package/test/integ.sqspstp-existing-queue.js.snapshot/tree.json +957 -0
  29. package/test/integ.sqspstp-filter.d.ts +13 -0
  30. package/test/integ.sqspstp-filter.js +44 -0
  31. package/test/integ.sqspstp-filter.js.snapshot/cdk.out +1 -0
  32. package/test/integ.sqspstp-filter.js.snapshot/integ.json +12 -0
  33. package/test/integ.sqspstp-filter.js.snapshot/manifest.json +205 -0
  34. package/test/integ.sqspstp-filter.js.snapshot/sqspstp-filter.assets.json +19 -0
  35. package/test/integ.sqspstp-filter.js.snapshot/sqspstp-filter.template.json +662 -0
  36. package/test/integ.sqspstp-filter.js.snapshot/sqspstpfilterIntegDefaultTestDeployAssert0C52837E.assets.json +19 -0
  37. package/test/integ.sqspstp-filter.js.snapshot/sqspstpfilterIntegDefaultTestDeployAssert0C52837E.template.json +36 -0
  38. package/test/integ.sqspstp-filter.js.snapshot/tree.json +965 -0
  39. package/test/integ.sqspstp-lambda-function-enrichment.d.ts +13 -0
  40. package/test/integ.sqspstp-lambda-function-enrichment.js +40 -0
  41. package/test/integ.sqspstp-lambda-function-enrichment.js.snapshot/asset.33adcab38bd8c4e154734b436a40ee81920a89cd6c787ce62302c33df5e1dfcb/index.js +9 -0
  42. package/test/integ.sqspstp-lambda-function-enrichment.js.snapshot/cdk.out +1 -0
  43. package/test/integ.sqspstp-lambda-function-enrichment.js.snapshot/integ.json +12 -0
  44. package/test/integ.sqspstp-lambda-function-enrichment.js.snapshot/manifest.json +223 -0
  45. package/test/integ.sqspstp-lambda-function-enrichment.js.snapshot/sqspstp-lambda-function-enrichment.assets.json +32 -0
  46. package/test/integ.sqspstp-lambda-function-enrichment.js.snapshot/sqspstp-lambda-function-enrichment.template.json +757 -0
  47. package/test/integ.sqspstp-lambda-function-enrichment.js.snapshot/sqspstplambdafunctionenrichmentIntegDefaultTestDeployAssert1F2A8125.assets.json +19 -0
  48. package/test/integ.sqspstp-lambda-function-enrichment.js.snapshot/sqspstplambdafunctionenrichmentIntegDefaultTestDeployAssert1F2A8125.template.json +36 -0
  49. package/test/integ.sqspstp-lambda-function-enrichment.js.snapshot/tree.json +1127 -0
  50. package/test/integ.sqspstp-logs-off.d.ts +13 -0
  51. package/test/integ.sqspstp-logs-off.js +33 -0
  52. package/test/integ.sqspstp-logs-off.js.snapshot/cdk.out +1 -0
  53. package/test/integ.sqspstp-logs-off.js.snapshot/integ.json +12 -0
  54. package/test/integ.sqspstp-logs-off.js.snapshot/manifest.json +199 -0
  55. package/test/integ.sqspstp-logs-off.js.snapshot/sqspstp-logs-off.assets.json +19 -0
  56. package/test/integ.sqspstp-logs-off.js.snapshot/sqspstp-logs-off.template.json +601 -0
  57. package/test/integ.sqspstp-logs-off.js.snapshot/sqspstplogsoffIntegDefaultTestDeployAssert25C29ACD.assets.json +19 -0
  58. package/test/integ.sqspstp-logs-off.js.snapshot/sqspstplogsoffIntegDefaultTestDeployAssert25C29ACD.template.json +36 -0
  59. package/test/integ.sqspstp-logs-off.js.snapshot/tree.json +902 -0
  60. package/test/integ.sqspstp-no-arguments.d.ts +13 -0
  61. package/test/integ.sqspstp-no-arguments.js +32 -0
  62. package/test/integ.sqspstp-no-arguments.js.snapshot/cdk.out +1 -0
  63. package/test/integ.sqspstp-no-arguments.js.snapshot/integ.json +12 -0
  64. package/test/integ.sqspstp-no-arguments.js.snapshot/manifest.json +205 -0
  65. package/test/integ.sqspstp-no-arguments.js.snapshot/sqspstp-no-arguments.assets.json +19 -0
  66. package/test/integ.sqspstp-no-arguments.js.snapshot/sqspstp-no-arguments.template.json +654 -0
  67. package/test/integ.sqspstp-no-arguments.js.snapshot/sqspstpnoargumentsIntegDefaultTestDeployAssert83953622.assets.json +19 -0
  68. package/test/integ.sqspstp-no-arguments.js.snapshot/sqspstpnoargumentsIntegDefaultTestDeployAssert83953622.template.json +36 -0
  69. package/test/integ.sqspstp-no-arguments.js.snapshot/tree.json +957 -0
  70. package/test/integ.sqspstp-set-queue-batch-size.d.ts +13 -0
  71. package/test/integ.sqspstp-set-queue-batch-size.js +39 -0
  72. package/test/integ.sqspstp-set-queue-batch-size.js.snapshot/cdk.out +1 -0
  73. package/test/integ.sqspstp-set-queue-batch-size.js.snapshot/integ.json +12 -0
  74. package/test/integ.sqspstp-set-queue-batch-size.js.snapshot/manifest.json +205 -0
  75. package/test/integ.sqspstp-set-queue-batch-size.js.snapshot/sqspstp-set-queue-batch-size.assets.json +19 -0
  76. package/test/integ.sqspstp-set-queue-batch-size.js.snapshot/sqspstp-set-queue-batch-size.template.json +658 -0
  77. package/test/integ.sqspstp-set-queue-batch-size.js.snapshot/sqspstpsetqueuebatchsizeIntegDefaultTestDeployAssertA1752E9D.assets.json +19 -0
  78. package/test/integ.sqspstp-set-queue-batch-size.js.snapshot/sqspstpsetqueuebatchsizeIntegDefaultTestDeployAssertA1752E9D.template.json +36 -0
  79. package/test/integ.sqspstp-set-queue-batch-size.js.snapshot/tree.json +961 -0
  80. package/test/integ.sqspstp-state-machine-enrichment.d.ts +13 -0
  81. package/test/integ.sqspstp-state-machine-enrichment.js +39 -0
  82. package/test/integ.sqspstp-state-machine-enrichment.js.snapshot/cdk.out +1 -0
  83. package/test/integ.sqspstp-state-machine-enrichment.js.snapshot/integ.json +12 -0
  84. package/test/integ.sqspstp-state-machine-enrichment.js.snapshot/manifest.json +241 -0
  85. package/test/integ.sqspstp-state-machine-enrichment.js.snapshot/sqspstp-state-machine-enrichment.assets.json +19 -0
  86. package/test/integ.sqspstp-state-machine-enrichment.js.snapshot/sqspstp-state-machine-enrichment.template.json +868 -0
  87. package/test/integ.sqspstp-state-machine-enrichment.js.snapshot/sqspstpstatemachineenrichmentIntegDefaultTestDeployAssert47A5DE6D.assets.json +19 -0
  88. package/test/integ.sqspstp-state-machine-enrichment.js.snapshot/sqspstpstatemachineenrichmentIntegDefaultTestDeployAssert47A5DE6D.template.json +36 -0
  89. package/test/integ.sqspstp-state-machine-enrichment.js.snapshot/tree.json +1252 -0
  90. package/test/lambda/index.js +9 -0
  91. package/test/sqs-pipes-stepfunctions.test.d.ts +13 -0
  92. package/test/sqs-pipes-stepfunctions.test.js +394 -0
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
5
+ * with the License. A copy of the License is located at
6
+ *
7
+ * http://www.apache.org/licenses/LICENSE-2.0
8
+ *
9
+ * or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
10
+ * OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
11
+ * and limitations under the License.
12
+ */
13
+ export {};
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ /**
3
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
6
+ * with the License. A copy of the License is located at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
11
+ * OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
12
+ * and limitations under the License.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ /// !cdk-integ *
16
+ const aws_cdk_lib_1 = require("aws-cdk-lib");
17
+ const lib_1 = require("../lib");
18
+ const core_1 = require("@aws-solutions-constructs/core");
19
+ const integ_tests_alpha_1 = require("@aws-cdk/integ-tests-alpha");
20
+ const defaults = require("@aws-solutions-constructs/core");
21
+ const lambda = require("aws-cdk-lib/aws-lambda");
22
+ const app = new aws_cdk_lib_1.App();
23
+ const stack = new aws_cdk_lib_1.Stack(app, (0, core_1.generateIntegStackName)(__filename));
24
+ const enrichmentFunction = new lambda.Function(stack, 'enrichment-function', {
25
+ runtime: defaults.COMMERCIAL_REGION_LAMBDA_NODE_RUNTIME,
26
+ handler: 'index.handler',
27
+ code: lambda.Code.fromAsset(`${__dirname}/lambda`)
28
+ });
29
+ const props = {
30
+ stateMachineProps: {
31
+ definitionBody: defaults.CreateTestStateMachineDefinitionBody(stack, 's3stp-test')
32
+ },
33
+ enrichmentFunction,
34
+ logLevel: defaults.PipesLogLevel.TRACE
35
+ };
36
+ new lib_1.SqsToPipesToStepfunctions(stack, 'test-sqs-pipes-states-construct', props);
37
+ new integ_tests_alpha_1.IntegTest(stack, 'Integ', { testCases: [
38
+ stack
39
+ ] });
40
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZWcuc3FzcHN0cC1sYW1iZGEtZnVuY3Rpb24tZW5yaWNobWVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImludGVnLnNxc3BzdHAtbGFtYmRhLWZ1bmN0aW9uLWVucmljaG1lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBOzs7Ozs7Ozs7OztHQVdHOztBQUVILGdCQUFnQjtBQUNoQiw2Q0FBeUM7QUFDekMsZ0NBQW1GO0FBQ25GLHlEQUF3RTtBQUN4RSxrRUFBdUQ7QUFDdkQsMkRBQTJEO0FBQzNELGlEQUFpRDtBQUVqRCxNQUFNLEdBQUcsR0FBRyxJQUFJLGlCQUFHLEVBQUUsQ0FBQztBQUN0QixNQUFNLEtBQUssR0FBRyxJQUFJLG1CQUFLLENBQUMsR0FBRyxFQUFFLElBQUEsNkJBQXNCLEVBQUMsVUFBVSxDQUFDLENBQUMsQ0FBQztBQUVqRSxNQUFNLGtCQUFrQixHQUFHLElBQUksTUFBTSxDQUFDLFFBQVEsQ0FBQyxLQUFLLEVBQUUscUJBQXFCLEVBQUU7SUFDM0UsT0FBTyxFQUFFLFFBQ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RhY2ssICdlbnJpY2htZW50LWZ1bmN0aW9uJywge1xuICBydW50aW1lOiBkZWZhdWx0cy5DT01NRVJDSUFMX1JFR0lPTl9MQU1CREFfTk9ERV9SVU5USU1FLFxuICBoYW5kbGVyOiAnaW5kZXguaGFuZGxlcicsXG4gIGNvZGU6IGxhbWJkYS5Db2RlLmZyb21Bc3NldChgJHtfX2Rpcm5hbWV9L2xhbWJkYWApXG59KTtcblxuY29uc3QgcHJvcHM6IFNxc1RvUGlwZXNUb1N0ZXBmdW5jdGlvbnNQcm9wcyA9IHtcbiAgc3RhdGVNYWNoaW5lUHJvcHM6IHtcbiAgICBkZWZpbml0aW9uQm9keTogZGVmYXVsdHMuQ3JlYXRlVGVzdFN0YXRlTWFjaGluZURlZmluaXRpb25Cb2R5KHN0YWNrLCAnczNzdHAtdGVzdCcpXG4gIH0sXG4gIGVucmljaG1lbnRGdW5jdGlvbixcbiAgbG9nTGV2ZWw6IGRlZmF1bHRzLlBpcGVzTG9nTGV2ZWwuVFJBQ0Vcbn07XG5cbm5ldyBTcXNUb1BpcGVzVG9TdGVwZnVuY3Rpb25zKHN0YWNrLCAndGVzdC1zcXMtcGlwZXMtc3RhdGVzLWNvbnN0cnVjdCcsIHByb3BzKTtcblxubmV3IEludGVnVGVzdChzdGFjaywgJ0ludGVnJywgeyB0ZXN0Q2FzZXM6IFtcbiAgc3RhY2tcbl0gfSk7XG4iXX0=
@@ -0,0 +1,9 @@
1
+ exports.handler = async (event) => {
2
+ console.log(event);
3
+ const response = event.map((x) =>{
4
+ const body = JSON.parse(x.body);
5
+ body.newAttrib = "content";
6
+ return body;
7
+ });
8
+ return response;
9
+ }
@@ -0,0 +1 @@
1
+ {"version":"38.0.1"}
@@ -0,0 +1,12 @@
1
+ {
2
+ "version": "38.0.1",
3
+ "testCases": {
4
+ "sqspstp-lambda-function-enrichment/Integ/DefaultTest": {
5
+ "stacks": [
6
+ "sqspstp-lambda-function-enrichment"
7
+ ],
8
+ "assertionStack": "sqspstp-lambda-function-enrichment/Integ/DefaultTest/DeployAssert",
9
+ "assertionStackName": "sqspstplambdafunctionenrichmentIntegDefaultTestDeployAssert1F2A8125"
10
+ }
11
+ }
12
+ }
@@ -0,0 +1,223 @@
1
+ {
2
+ "version": "38.0.1",
3
+ "artifacts": {
4
+ "sqspstplambdafunctionenrichmentIntegDefaultTestDeployAssert1F2A8125.assets": {
5
+ "type": "cdk:asset-manifest",
6
+ "properties": {
7
+ "file": "sqspstplambdafunctionenrichmentIntegDefaultTestDeployAssert1F2A8125.assets.json",
8
+ "requiresBootstrapStackVersion": 6,
9
+ "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version"
10
+ }
11
+ },
12
+ "sqspstplambdafunctionenrichmentIntegDefaultTestDeployAssert1F2A8125": {
13
+ "type": "aws:cloudformation:stack",
14
+ "environment": "aws://unknown-account/unknown-region",
15
+ "properties": {
16
+ "templateFile": "sqspstplambdafunctionenrichmentIntegDefaultTestDeployAssert1F2A8125.template.json",
17
+ "terminationProtection": false,
18
+ "validateOnSynth": false,
19
+ "notificationArns": [],
20
+ "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}",
21
+ "cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}",
22
+ "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/21fbb51d7b23f6a6c262b46a9caee79d744a3ac019fd45422d988b96d44b2a22.json",
23
+ "requiresBootstrapStackVersion": 6,
24
+ "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
25
+ "additionalDependencies": [
26
+ "sqspstplambdafunctionenrichmentIntegDefaultTestDeployAssert1F2A8125.assets"
27
+ ],
28
+ "lookupRole": {
29
+ "arn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-lookup-role-${AWS::AccountId}-${AWS::Region}",
30
+ "requiresBootstrapStackVersion": 8,
31
+ "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version"
32
+ }
33
+ },
34
+ "dependencies": [
35
+ "sqspstplambdafunctionenrichmentIntegDefaultTestDeployAssert1F2A8125.assets"
36
+ ],
37
+ "metadata": {
38
+ "/sqspstp-lambda-function-enrichment/Integ/DefaultTest/DeployAssert/BootstrapVersion": [
39
+ {
40
+ "type": "aws:cdk:logicalId",
41
+ "data": "BootstrapVersion"
42
+ }
43
+ ],
44
+ "/sqspstp-lambda-function-enrichment/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion": [
45
+ {
46
+ "type": "aws:cdk:logicalId",
47
+ "data": "CheckBootstrapVersion"
48
+ }
49
+ ]
50
+ },
51
+ "displayName": "sqspstp-lambda-function-enrichment/Integ/DefaultTest/DeployAssert"
52
+ },
53
+ "sqspstp-lambda-function-enrichment.assets": {
54
+ "type": "cdk:asset-manifest",
55
+ "properties": {
56
+ "file": "sqspstp-lambda-function-enrichment.assets.json",
57
+ "requiresBootstrapStackVersion": 6,
58
+ "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version"
59
+ }
60
+ },
61
+ "sqspstp-lambda-function-enrichment": {
62
+ "type": "aws:cloudformation:stack",
63
+ "environment": "aws://unknown-account/unknown-region",
64
+ "properties": {
65
+ "templateFile": "sqspstp-lambda-function-enrichment.template.json",
66
+ "terminationProtection": false,
67
+ "validateOnSynth": false,
68
+ "notificationArns": [],
69
+ "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}",
70
+ "cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}",
71
+ "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/306dbf92baf052489aeba6e3114641443f51d18af1130ff101b339295e2f7776.json",
72
+ "requiresBootstrapStackVersion": 6,
73
+ "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
74
+ "additionalDependencies": [
75
+ "sqspstp-lambda-function-enrichment.assets"
76
+ ],
77
+ "lookupRole": {
78
+ "arn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-lookup-role-${AWS::AccountId}-${AWS::Region}",
79
+ "requiresBootstrapStackVersion": 8,
80
+ "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version"
81
+ }
82
+ },
83
+ "dependencies": [
84
+ "sqspstp-lambda-function-enrichment.assets"
85
+ ],
86
+ "metadata": {
87
+ "/sqspstp-lambda-function-enrichment/enrichment-function/ServiceRole/Resource": [
88
+ {
89
+ "type": "aws:cdk:logicalId",
90
+ "data": "enrichmentfunctionServiceRoleF21A0515"
91
+ }
92
+ ],
93
+ "/sqspstp-lambda-function-enrichment/enrichment-function/Resource": [
94
+ {
95
+ "type": "aws:cdk:logicalId",
96
+ "data": "enrichmentfunction84C1BE72"
97
+ }
98
+ ],
99
+ "/sqspstp-lambda-function-enrichment/lambdas3stp-test/ServiceRole/Resource": [
100
+ {
101
+ "type": "aws:cdk:logicalId",
102
+ "data": "lambdas3stptestServiceRoleF17BB6C7"
103
+ }
104
+ ],
105
+ "/sqspstp-lambda-function-enrichment/lambdas3stp-test/Resource": [
106
+ {
107
+ "type": "aws:cdk:logicalId",
108
+ "data": "lambdas3stptest9FBDC6CE"
109
+ }
110
+ ],
111
+ "/sqspstp-lambda-function-enrichment/test-sqs-pipes-states-construct/queue-dlq/Resource": [
112
+ {
113
+ "type": "aws:cdk:logicalId",
114
+ "data": "testsqspipesstatesconstructqueuedlq420A82FD"
115
+ }
116
+ ],
117
+ "/sqspstp-lambda-function-enrichment/test-sqs-pipes-states-construct/queue-dlq/Policy/Resource": [
118
+ {
119
+ "type": "aws:cdk:logicalId",
120
+ "data": "testsqspipesstatesconstructqueuedlqPolicyB1D70483"
121
+ }
122
+ ],
123
+ "/sqspstp-lambda-function-enrichment/test-sqs-pipes-states-construct/queue/Resource": [
124
+ {
125
+ "type": "aws:cdk:logicalId",
126
+ "data": "testsqspipesstatesconstructqueueA7C76715"
127
+ }
128
+ ],
129
+ "/sqspstp-lambda-function-enrichment/test-sqs-pipes-states-construct/queue/Policy/Resource": [
130
+ {
131
+ "type": "aws:cdk:logicalId",
132
+ "data": "testsqspipesstatesconstructqueuePolicyFD32B562"
133
+ }
134
+ ],
135
+ "/sqspstp-lambda-function-enrichment/test-sqs-pipes-states-construct/StateMachineLogGroup/Resource": [
136
+ {
137
+ "type": "aws:cdk:logicalId",
138
+ "data": "testsqspipesstatesconstructStateMachineLogGroupADE94F1D"
139
+ }
140
+ ],
141
+ "/sqspstp-lambda-function-enrichment/test-sqs-pipes-states-construct/StateMachine/Role/Resource": [
142
+ {
143
+ "type": "aws:cdk:logicalId",
144
+ "data": "testsqspipesstatesconstructStateMachineRoleBF97BFC0"
145
+ }
146
+ ],
147
+ "/sqspstp-lambda-function-enrichment/test-sqs-pipes-states-construct/StateMachine/Role/DefaultPolicy/Resource": [
148
+ {
149
+ "type": "aws:cdk:logicalId",
150
+ "data": "testsqspipesstatesconstructStateMachineRoleDefaultPolicyD1BA2BF2"
151
+ }
152
+ ],
153
+ "/sqspstp-lambda-function-enrichment/test-sqs-pipes-states-construct/StateMachine/Resource": [
154
+ {
155
+ "type": "aws:cdk:logicalId",
156
+ "data": "testsqspipesstatesconstructStateMachine29272AA9"
157
+ }
158
+ ],
159
+ "/sqspstp-lambda-function-enrichment/test-sqs-pipes-states-construct/ExecutionFailedAlarm/Resource": [
160
+ {
161
+ "type": "aws:cdk:logicalId",
162
+ "data": "testsqspipesstatesconstructExecutionFailedAlarm1002FF55"
163
+ }
164
+ ],
165
+ "/sqspstp-lambda-function-enrichment/test-sqs-pipes-states-construct/ExecutionThrottledAlarm/Resource": [
166
+ {
167
+ "type": "aws:cdk:logicalId",
168
+ "data": "testsqspipesstatesconstructExecutionThrottledAlarm0242B01A"
169
+ }
170
+ ],
171
+ "/sqspstp-lambda-function-enrichment/test-sqs-pipes-states-construct/ExecutionAbortedAlarm/Resource": [
172
+ {
173
+ "type": "aws:cdk:logicalId",
174
+ "data": "testsqspipesstatesconstructExecutionAbortedAlarm14349A7B"
175
+ }
176
+ ],
177
+ "/sqspstp-lambda-function-enrichment/test-sqs-pipes-states-construct/PipeRole--test-sqs-pipes-states-construct/Resource": [
178
+ {
179
+ "type": "aws:cdk:logicalId",
180
+ "data": "testsqspipesstatesconstructPipeRoletestsqspipesstatesconstruct2CC9A13C"
181
+ }
182
+ ],
183
+ "/sqspstp-lambda-function-enrichment/test-sqs-pipes-states-construct/enrichmentpolicytest-sqs-pipes-states-construct/Resource": [
184
+ {
185
+ "type": "aws:cdk:logicalId",
186
+ "data": "testsqspipesstatesconstructenrichmentpolicytestsqspipesstatesconstructC752476A"
187
+ }
188
+ ],
189
+ "/sqspstp-lambda-function-enrichment/test-sqs-pipes-states-construct/LogGroup-test-sqs-pipes-states-construct/Resource": [
190
+ {
191
+ "type": "aws:cdk:logicalId",
192
+ "data": "testsqspipesstatesconstructLogGrouptestsqspipesstatesconstructF827FE15"
193
+ }
194
+ ],
195
+ "/sqspstp-lambda-function-enrichment/test-sqs-pipes-states-construct/pipe-test-sqs-pipes-states-construct": [
196
+ {
197
+ "type": "aws:cdk:logicalId",
198
+ "data": "testsqspipesstatesconstructpipetestsqspipesstatesconstruct71A64A15"
199
+ }
200
+ ],
201
+ "/sqspstp-lambda-function-enrichment/BootstrapVersion": [
202
+ {
203
+ "type": "aws:cdk:logicalId",
204
+ "data": "BootstrapVersion"
205
+ }
206
+ ],
207
+ "/sqspstp-lambda-function-enrichment/CheckBootstrapVersion": [
208
+ {
209
+ "type": "aws:cdk:logicalId",
210
+ "data": "CheckBootstrapVersion"
211
+ }
212
+ ]
213
+ },
214
+ "displayName": "sqspstp-lambda-function-enrichment"
215
+ },
216
+ "Tree": {
217
+ "type": "cdk:tree",
218
+ "properties": {
219
+ "file": "tree.json"
220
+ }
221
+ }
222
+ }
223
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "version": "38.0.1",
3
+ "files": {
4
+ "33adcab38bd8c4e154734b436a40ee81920a89cd6c787ce62302c33df5e1dfcb": {
5
+ "source": {
6
+ "path": "asset.33adcab38bd8c4e154734b436a40ee81920a89cd6c787ce62302c33df5e1dfcb",
7
+ "packaging": "zip"
8
+ },
9
+ "destinations": {
10
+ "current_account-current_region": {
11
+ "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
12
+ "objectKey": "33adcab38bd8c4e154734b436a40ee81920a89cd6c787ce62302c33df5e1dfcb.zip",
13
+ "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
14
+ }
15
+ }
16
+ },
17
+ "306dbf92baf052489aeba6e3114641443f51d18af1130ff101b339295e2f7776": {
18
+ "source": {
19
+ "path": "sqspstp-lambda-function-enrichment.template.json",
20
+ "packaging": "file"
21
+ },
22
+ "destinations": {
23
+ "current_account-current_region": {
24
+ "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
25
+ "objectKey": "306dbf92baf052489aeba6e3114641443f51d18af1130ff101b339295e2f7776.json",
26
+ "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
27
+ }
28
+ }
29
+ }
30
+ },
31
+ "dockerImages": {}
32
+ }