@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.
@@ -1618,10 +1618,7 @@ class JaypieQueuedLambda extends constructs.Construct {
1618
1618
  deadLetterQueueEnabled,
1619
1619
  deadLetterTopic,
1620
1620
  description,
1621
- environment: {
1622
- ...environment,
1623
- CDK_ENV_QUEUE_URL: this._queue.queueUrl,
1624
- },
1621
+ environment,
1625
1622
  envSecrets,
1626
1623
  ephemeralStorageSize,
1627
1624
  filesystem,
@@ -1650,6 +1647,9 @@ class JaypieQueuedLambda extends constructs.Construct {
1650
1647
  vpc,
1651
1648
  vpcSubnets,
1652
1649
  });
1650
+ // Add queue URL to Lambda environment after construction
1651
+ // (environment prop is passed through to JaypieLambda which handles array/object resolution)
1652
+ this._lambdaConstruct.addEnvironment("CDK_ENV_QUEUE_URL", this._queue.queueUrl);
1653
1653
  // Set up queue and lambda integration
1654
1654
  this._queue.grantConsumeMessages(this._lambdaConstruct);
1655
1655
  this._queue.grantSendMessages(this._lambdaConstruct);
@@ -3945,6 +3945,7 @@ class JaypieSsoPermissions extends constructs.Construct {
3945
3945
  "cost-optimization-hub:*",
3946
3946
  "dynamodb:*",
3947
3947
  "ec2:*",
3948
+ "ecr:*",
3948
3949
  "iam:Get*",
3949
3950
  "iam:List*",
3950
3951
  "iam:PassRole",