@jaypie/constructs 1.2.35 → 1.2.37
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/dist/cjs/index.cjs +5 -4
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/index.js +5 -4
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -1582,10 +1582,7 @@ class JaypieQueuedLambda extends Construct {
|
|
|
1582
1582
|
deadLetterQueueEnabled,
|
|
1583
1583
|
deadLetterTopic,
|
|
1584
1584
|
description,
|
|
1585
|
-
environment
|
|
1586
|
-
...environment,
|
|
1587
|
-
CDK_ENV_QUEUE_URL: this._queue.queueUrl,
|
|
1588
|
-
},
|
|
1585
|
+
environment,
|
|
1589
1586
|
envSecrets,
|
|
1590
1587
|
ephemeralStorageSize,
|
|
1591
1588
|
filesystem,
|
|
@@ -1614,6 +1611,9 @@ class JaypieQueuedLambda extends Construct {
|
|
|
1614
1611
|
vpc,
|
|
1615
1612
|
vpcSubnets,
|
|
1616
1613
|
});
|
|
1614
|
+
// Add queue URL to Lambda environment after construction
|
|
1615
|
+
// (environment prop is passed through to JaypieLambda which handles array/object resolution)
|
|
1616
|
+
this._lambdaConstruct.addEnvironment("CDK_ENV_QUEUE_URL", this._queue.queueUrl);
|
|
1617
1617
|
// Set up queue and lambda integration
|
|
1618
1618
|
this._queue.grantConsumeMessages(this._lambdaConstruct);
|
|
1619
1619
|
this._queue.grantSendMessages(this._lambdaConstruct);
|
|
@@ -3909,6 +3909,7 @@ class JaypieSsoPermissions extends Construct {
|
|
|
3909
3909
|
"cost-optimization-hub:*",
|
|
3910
3910
|
"dynamodb:*",
|
|
3911
3911
|
"ec2:*",
|
|
3912
|
+
"ecr:*",
|
|
3912
3913
|
"iam:Get*",
|
|
3913
3914
|
"iam:List*",
|
|
3914
3915
|
"iam:PassRole",
|