@openhi/constructs 0.0.152 → 0.0.153
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/{chunk-SXYY5WHG.mjs → chunk-ZVDVKCNC.mjs} +83 -15
- package/lib/chunk-ZVDVKCNC.mjs.map +1 -0
- package/lib/index.js +27 -1
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +27 -1
- package/lib/index.mjs.map +1 -1
- package/lib/seed-demo-data.handler.d.mts +45 -10
- package/lib/seed-demo-data.handler.d.ts +45 -10
- package/lib/seed-demo-data.handler.js +82 -15
- package/lib/seed-demo-data.handler.js.map +1 -1
- package/lib/seed-demo-data.handler.mjs +9 -3
- package/package.json +1 -1
- package/lib/chunk-SXYY5WHG.mjs.map +0 -1
package/lib/index.mjs
CHANGED
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
demoScenarioIdentifier,
|
|
27
27
|
import_workflows,
|
|
28
28
|
openhiResourceIdentifier
|
|
29
|
-
} from "./chunk-
|
|
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: {
|