@openhi/constructs 0.0.152 → 0.0.154

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/lib/index.mjs CHANGED
@@ -26,7 +26,7 @@ import {
26
26
  demoScenarioIdentifier,
27
27
  import_workflows,
28
28
  openhiResourceIdentifier
29
- } from "./chunk-SXYY5WHG.mjs";
29
+ } from "./chunk-ZVDVKCNC.mjs";
30
30
  import {
31
31
  OWNING_DELETE_CASCADE_CONSUMER_NAME,
32
32
  OWNING_DELETE_CASCADE_DEFAULT_CONCURRENCY,
@@ -2335,6 +2335,32 @@ var SeedDemoDataLambda = class extends Construct13 {
2335
2335
  ]
2336
2336
  })
2337
2337
  );
2338
+ this.lambda.addToRolePolicy(
2339
+ new PolicyStatement3({
2340
+ effect: Effect3.ALLOW,
2341
+ actions: ["ssm:GetParameter"],
2342
+ resources: [
2343
+ Stack5.of(this).formatArn({
2344
+ service: "ssm",
2345
+ resource: "parameter",
2346
+ resourceName: "openhi/seed/users/*/password"
2347
+ })
2348
+ ]
2349
+ })
2350
+ );
2351
+ this.lambda.addToRolePolicy(
2352
+ new PolicyStatement3({
2353
+ effect: Effect3.ALLOW,
2354
+ actions: ["kms:Decrypt"],
2355
+ resources: [
2356
+ Stack5.of(this).formatArn({
2357
+ service: "kms",
2358
+ resource: "alias",
2359
+ resourceName: "aws/ssm"
2360
+ })
2361
+ ]
2362
+ })
2363
+ );
2338
2364
  this.rule = new Rule2(this, "rule", {
2339
2365
  eventBus: props.controlEventBus,
2340
2366
  eventPattern: {