@openhi/constructs 0.0.114 → 0.0.115

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 (33) hide show
  1. package/lib/chunk-AHYQFT4N.mjs +212 -0
  2. package/lib/chunk-AHYQFT4N.mjs.map +1 -0
  3. package/lib/{chunk-CUUKXDB2.mjs → chunk-AJQUWHFK.mjs} +460 -54
  4. package/lib/chunk-AJQUWHFK.mjs.map +1 -0
  5. package/lib/{chunk-GBDIGTNV.mjs → chunk-QWWLM452.mjs} +2 -2
  6. package/lib/{chunk-QMBJ4VHC.mjs → chunk-U7L7T4XU.mjs} +25 -25
  7. package/lib/{chunk-QMBJ4VHC.mjs.map → chunk-U7L7T4XU.mjs.map} +1 -1
  8. package/lib/{chunk-NZRW7ROK.mjs → chunk-YYRWDEG4.mjs} +2 -2
  9. package/lib/{chunk-KSFC72TT.mjs → chunk-ZHMHLK3S.mjs} +2 -2
  10. package/lib/{events-DPodvl07.d.mts → events-CMG8xanm.d.mts} +7 -53
  11. package/lib/{events-DPodvl07.d.ts → events-CMG8xanm.d.ts} +7 -53
  12. package/lib/index.d.mts +64 -77
  13. package/lib/index.d.ts +70 -129
  14. package/lib/index.js +499 -241
  15. package/lib/index.js.map +1 -1
  16. package/lib/index.mjs +58 -184
  17. package/lib/index.mjs.map +1 -1
  18. package/lib/pre-token-generation.handler.mjs +3 -3
  19. package/lib/provision-default-workspace.handler.mjs +3 -3
  20. package/lib/rest-api-lambda.handler.mjs +282 -452
  21. package/lib/rest-api-lambda.handler.mjs.map +1 -1
  22. package/lib/seed-demo-data.handler.d.mts +6 -3
  23. package/lib/seed-demo-data.handler.d.ts +6 -3
  24. package/lib/seed-demo-data.handler.js +656 -0
  25. package/lib/seed-demo-data.handler.js.map +1 -1
  26. package/lib/seed-demo-data.handler.mjs +4 -4
  27. package/package.json +1 -1
  28. package/lib/chunk-53OHXLIL.mjs +0 -27
  29. package/lib/chunk-53OHXLIL.mjs.map +0 -1
  30. package/lib/chunk-CUUKXDB2.mjs.map +0 -1
  31. /package/lib/{chunk-GBDIGTNV.mjs.map → chunk-QWWLM452.mjs.map} +0 -0
  32. /package/lib/{chunk-NZRW7ROK.mjs.map → chunk-YYRWDEG4.mjs.map} +0 -0
  33. /package/lib/{chunk-KSFC72TT.mjs.map → chunk-ZHMHLK3S.mjs.map} +0 -0
package/lib/index.d.ts CHANGED
@@ -3,7 +3,7 @@ import { Construct, IConstruct } from 'constructs';
3
3
  import { ICertificate, Certificate, CertificateProps } from 'aws-cdk-lib/aws-certificatemanager';
4
4
  import { IHttpApi, HttpApiProps, HttpApi, DomainName } from 'aws-cdk-lib/aws-apigatewayv2';
5
5
  import { IGraphqlApi, GraphqlApi, GraphqlApiProps } from 'aws-cdk-lib/aws-appsync';
6
- import { UserPoolClient, UserPoolClientProps, IUserPool, UserPool, UserPoolProps, UserPoolDomain, UserPoolDomainProps, IUserPoolClient, IUserPoolDomain } from 'aws-cdk-lib/aws-cognito';
6
+ import { UserPool, UserPoolProps, UserPoolClient, UserPoolClientProps, UserPoolDomain, UserPoolDomainProps, IUserPool, IUserPoolClient, IUserPoolDomain } from 'aws-cdk-lib/aws-cognito';
7
7
  import { Key, KeyProps, IKey } from 'aws-cdk-lib/aws-kms';
8
8
  import { NodejsFunction } from 'aws-cdk-lib/aws-lambda-nodejs';
9
9
  import { AttributeValue } from '@aws-sdk/client-dynamodb';
@@ -23,7 +23,7 @@ import { Distribution, DistributionProps } from 'aws-cdk-lib/aws-cloudfront';
23
23
  import { StateMachine } from 'aws-cdk-lib/aws-stepfunctions';
24
24
  import { RenamableEntityType } from '@openhi/workflows';
25
25
  export { ControlPlaneOwningDeleteCompleteV1, ControlPlaneOwningDeleteCompleteV1Detail, ControlPlaneOwningDeleteFailedV1, ControlPlaneOwningDeleteFailedV1Detail, ControlPlaneOwningDeleteV1, ControlPlaneOwningDeleteV1Detail, ControlPlaneRenameCompleteV1, ControlPlaneRenameCompleteV1Detail, ControlPlaneRenameFailedV1, ControlPlaneRenameFailedV1Detail, ControlPlaneRenameV1, ControlPlaneRenameV1Detail, OPENHI_DATA_SOURCE, OPENHI_OPS_SOURCE, OWNING_ENTITY_TYPE, OwningEntityType, PlatformDeploymentCompletedV1, PlatformSystemDataSeededV1, RENAMABLE_ENTITY_TYPE, RenamableEntityType } from '@openhi/workflows';
26
- import { PlatformRoleCode } from '@openhi/types';
26
+ import { PlatformRoleCode, Patient, Practitioner, Observation, Encounter, Account } from '@openhi/types';
27
27
  import { PostConfirmationTriggerEvent } from 'aws-lambda';
28
28
 
29
29
  /*******************************************************************************
@@ -514,10 +514,9 @@ declare const DEMO_PERIOD: {
514
514
  * `"platform"` literal is a reserved value that never matches a real
515
515
  * Tenant id and signals "this RA scopes across all tenants".
516
516
  *
517
- * Renaming this constant is a wire-format break — the IAM grant in
518
- * `seed-demo-data-lambda.ts` enumerates exact-match `LeadingKeys`
519
- * computed from this value, and the in-band records written under it
520
- * become unreachable if the sentinel changes.
517
+ * Renaming this constant is a wire-format break — the handler emits
518
+ * RoleAssignment records keyed on this value, and the in-band records
519
+ * written under it become unreachable if the sentinel changes.
521
520
  */
522
521
  declare const PLATFORM_SCOPE_TENANT_ID = "platform";
523
522
  /** Placeholder Tenant id seeded by the workflow as the dev-user `currentTenant`. */
@@ -558,8 +557,8 @@ interface DemoWorkspaceSpec {
558
557
  readonly name: string;
559
558
  /**
560
559
  * Role suffix used in the demo URN value (`<scenario>:<roleSuffix>`).
561
- * Mirrors seed-fixtures' role suffix convention: `workspace` for
562
- * single-workspace tenants, `workspace-<sub>` for the mixed tenant.
560
+ * `workspace` for single-workspace tenants, `workspace-<sub>` for the
561
+ * mixed tenant.
563
562
  */
564
563
  readonly roleSuffix: string;
565
564
  }
@@ -572,8 +571,7 @@ interface DemoTenantSpec {
572
571
  /**
573
572
  * Scenario slug — `placeholder`, `demo-wound-care`, `demo-primary-care`,
574
573
  * `demo-mixed`. The placeholder tenant's slug is `placeholder`; the
575
- * three demo tenants mirror seed-fixtures' `fixture-*` slugs renamed
576
- * to `demo-*`.
574
+ * three demo tenants use `demo-*` slugs.
577
575
  */
578
576
  readonly scenario: string;
579
577
  /** Stable id (DynamoDB record id; also drives the canonical OHI URN). */
@@ -608,8 +606,6 @@ declare const demoMembershipId: (devUserId: string, tenantId: string) => string;
608
606
  declare const demoRoleAssignmentId: (devUserId: string, tenantId: string, roleCode: PlatformRoleCode) => string;
609
607
  /**
610
608
  * Demo-scenario FHIR `Identifier` entry — `urn:openhi:demo:<scenario>:<role>`.
611
- * Mirrors the `urn:openhi:fixture:<scenario>:<role>` pattern from
612
- * `@openhi/seed-fixtures/src/urn.ts`, renamed to the `demo` namespace.
613
609
  */
614
610
  declare const demoScenarioIdentifier: (scenario: string, roleSuffix: string) => {
615
611
  system: string;
@@ -638,48 +634,6 @@ declare const openhiResourceIdentifier: (params: {
638
634
  * is no per-(user, tenant) variance to drive from.
639
635
  */
640
636
  declare const demoRolesForUserInTenant: (_user: DemoDevUser, _tenantId: string) => ReadonlyArray<PlatformRoleCode>;
641
- /**
642
- * DynamoDB single-table partition-key builders. The IAM grant in
643
- * `seed-demo-data-lambda.ts` uses these to enumerate exact-match
644
- * `dynamodb:LeadingKeys` values; the entity definitions in
645
- * `data/dynamo/entities/control/` own the canonical key templates.
646
- *
647
- * These builders MUST emit the keys ElectroDB actually writes — not
648
- * the entity definition's pretty template. None of the control-plane
649
- * entities sets `casing: "none"` on the base-table PK template, so
650
- * ElectroDB applies its default lowercase casing at runtime: the
651
- * entity's `ROLE#ID#${id}` becomes `role#id#<id>` on the wire. A
652
- * builder that returns the uppercase template form produces a
653
- * silently-broken IAM grant (every PutItem denied with "no
654
- * identity-based policy allows" because the request's leading-key
655
- * never matches a policy value).
656
- */
657
- declare const rolePartitionKey: (roleId: string) => string;
658
- declare const demoTenantPartitionKey: (tenantId: string) => string;
659
- declare const demoWorkspacePartitionKey: (tenantId: string, workspaceId: string) => string;
660
- declare const demoMembershipPartitionKey: (tenantId: string, membershipId: string) => string;
661
- declare const demoRoleAssignmentPartitionKey: (tenantId: string, roleAssignmentId: string) => string;
662
- /** User entity PK template — `USER#ID#<id>` → `user#id#<id>` on the wire. */
663
- declare const demoUserPartitionKey: (userId: string) => string;
664
- /**
665
- * Tenant + Workspace PKs the workflow writes on every fire: the 4
666
- * tenant PKs (placeholder + 3 demo) plus their workspaces (1 + 1 + 1 + 2 = 5).
667
- */
668
- declare const demoBasePartitionKeys: () => ReadonlyArray<string>;
669
- /**
670
- * Membership + RoleAssignment + User PKs the workflow writes per dev
671
- * user. Empty when `devUsers` is empty (used by tests). The list
672
- * mirrors the handler's iteration order so the IAM grant covers every
673
- * write the handler can make.
674
- *
675
- * Per dev user the function emits:
676
- * - one User PK,
677
- * - per tenant in {@link DEMO_TENANT_SPECS}: one Membership PK plus
678
- * one `tenant-admin` RoleAssignment PK,
679
- * - one platform-scoped `system-admin` RoleAssignment PK keyed by
680
- * {@link PLATFORM_SCOPE_TENANT_ID}.
681
- */
682
- declare const demoDevUserPartitionKeys: (devUsers: ReadonlyArray<DemoDevUser>) => ReadonlyArray<string>;
683
637
 
684
638
  /**
685
639
  * @see sites/www-docs/content/packages/@openhi/constructs/workflows/control-plane/user-onboarding/events.md
@@ -1089,47 +1043,6 @@ declare class RootGraphqlApi extends GraphqlApi {
1089
1043
  constructor(scope: Construct, props?: Omit<RootGraphqlApiProps, "name">);
1090
1044
  }
1091
1045
 
1092
- interface CognitoFixtureSeederClientProps extends Partial<Omit<UserPoolClientProps, "userPool" | "generateSecret">> {
1093
- readonly userPool: IUserPool;
1094
- }
1095
- /**
1096
- * Dedicated Cognito app client for the OpenHI fixture-seeder CLI
1097
- * (`@openhi/seed-fixtures`).
1098
- *
1099
- * Why a dedicated client (vs reusing the SPA client):
1100
- * - Tightly scoped: only the seeder consumes tokens issued here, so an
1101
- * audit trail of seeder activity is cleanly separable.
1102
- * - Decoupled from the SPA client's OAuth flows — no risk of breaking
1103
- * web-app sign-in by tweaking auth-flow settings here.
1104
- * - Stage-conditional creation upstream (only provisioned in non-prod
1105
- * environments) means prod stacks never carry a code path that could
1106
- * issue a fixture-seeder token in the first place.
1107
- *
1108
- * Why USER_PASSWORD_AUTH (vs M2M client-credentials):
1109
- * - Cognito's M2M tier has a per-app-client monthly fee plus per-token
1110
- * activity charges. For sporadic non-prod fixture runs the per-client
1111
- * fee dominates the bill, especially if every dev branch spins up
1112
- * its own auth stack.
1113
- * - USER_PASSWORD_AUTH against a service `fixture-seeder` user keeps
1114
- * the cost in MAU territory (free under the 50K MAU tier).
1115
- * - Tradeoff: passwords need rotation and the service user must be
1116
- * provisioned per non-prod environment (manual or scripted post-deploy).
1117
- *
1118
- * No client secret (`generateSecret: false`): USER_PASSWORD_AUTH
1119
- * authenticates with the password directly; a secret would just add
1120
- * another credential to manage without strengthening anything.
1121
- */
1122
- declare class CognitoFixtureSeederClient extends UserPoolClient {
1123
- /**
1124
- * SSM parameter name suffix used to publish this client's ID for
1125
- * cross-stack lookups. Built into a full parameter name via
1126
- * `buildParameterName` with `serviceType` AUTH (since the auth stack
1127
- * owns this resource).
1128
- */
1129
- static readonly SSM_PARAM_NAME = "COGNITO_FIXTURE_SEEDER_CLIENT";
1130
- constructor(scope: Construct, props: CognitoFixtureSeederClientProps);
1131
- }
1132
-
1133
1046
  /**
1134
1047
  * @see sites/www-docs/content/packages/@openhi/constructs/components/cognito/cognito-user-pool.md
1135
1048
  */
@@ -1800,17 +1713,6 @@ declare class OpenHiAuthService extends OpenHiService {
1800
1713
  * Returns an IUserPoolClient by looking up the Auth stack's User Pool Client ID from SSM.
1801
1714
  */
1802
1715
  static userPoolClientFromConstruct(scope: Construct): IUserPoolClient;
1803
- /**
1804
- * Returns the dedicated fixture-seeder IUserPoolClient by looking up
1805
- * its ID from SSM. Only non-prod auth stacks publish this parameter
1806
- * (per the conditional in {@link createFixtureSeederClient}); calling
1807
- * this against a prod-deployed stack will fail at lookup time.
1808
- *
1809
- * Consumed by `OpenHiRestApiService` (in non-prod) so the authorizer
1810
- * accepts tokens issued by this client, and by the seed-fixtures CLI
1811
- * to drive USER_PASSWORD_AUTH against this client's ID.
1812
- */
1813
- static fixtureSeederClientFromConstruct(scope: Construct): IUserPoolClient;
1814
1716
  /**
1815
1717
  * Returns an IUserPoolDomain by looking up the Auth stack's User Pool Domain from SSM.
1816
1718
  */
@@ -1830,12 +1732,6 @@ declare class OpenHiAuthService extends OpenHiService {
1830
1732
  readonly userPool: IUserPool;
1831
1733
  readonly userPoolClient: IUserPoolClient;
1832
1734
  readonly userPoolDomain: IUserPoolDomain;
1833
- /**
1834
- * Dedicated USER_PASSWORD_AUTH client for the seed-fixtures CLI.
1835
- * Only created in non-prod environments (see
1836
- * {@link createFixtureSeederClient}). `undefined` in prod.
1837
- */
1838
- readonly fixtureSeederClient?: IUserPoolClient;
1839
1735
  /**
1840
1736
  * Cross-stack reference to the data store table. Cached so repeated
1841
1737
  * lookups share a single CDK construct id ("dynamo-db-data-store") in
@@ -1914,18 +1810,6 @@ declare class OpenHiAuthService extends OpenHiService {
1914
1810
  * Override to customize.
1915
1811
  */
1916
1812
  protected createUserPoolClient(): IUserPoolClient;
1917
- /**
1918
- * Creates the dedicated USER_PASSWORD_AUTH app client for the
1919
- * `@openhi/seed-fixtures` CLI, **only** in non-prod environments.
1920
- * Returns `undefined` when this stack is being deployed to a prod
1921
- * stage so the prod auth stack carries no fixture-seeder code path.
1922
- *
1923
- * Operator post-deploy: create a `fixture-seeder` Cognito user with
1924
- * a service password (manually via console or scripted with
1925
- * `aws cognito-idp admin-create-user`); the CLI consumes those creds
1926
- * via env vars to drive `InitiateAuth`.
1927
- */
1928
- protected createFixtureSeederClient(): IUserPoolClient | undefined;
1929
1813
  /**
1930
1814
  * Creates the User Pool Domain (Cognito hosted UI) and exports domain name to SSM.
1931
1815
  * Look up via {@link OpenHiAuthService.userPoolDomainFromConstruct}.
@@ -2191,12 +2075,69 @@ declare class OpenHiRestApiService extends OpenHiService {
2191
2075
  protected createRootHttpApi(domainName: DomainName): RootHttpApi;
2192
2076
  }
2193
2077
 
2078
+ /**
2079
+ * @see sites/www-docs/content/packages/@openhi/constructs/workflows/control-plane/seed-demo-data/data-plane-fixtures.md
2080
+ *
2081
+ * Hand-authored FHIR data-plane fixture bodies the `seed-demo-data`
2082
+ * workflow upserts into the data store on every non-prod deploy.
2083
+ * Mirrors the OPS-009 v1 resource set: Patient, Practitioner,
2084
+ * Observation, Encounter, Account.
2085
+ *
2086
+ * Ids are deterministic — re-fires of the workflow upsert the same
2087
+ * records, satisfying the workflow's idempotency contract (no
2088
+ * duplicates) and letting the IAM grant in `seed-demo-data-lambda.ts`
2089
+ * enumerate exact-match `dynamodb:LeadingKeys` rather than a wildcard.
2090
+ *
2091
+ * The placeholder tenant carries no data-plane fixtures — only the
2092
+ * three real demo tenants (wound-care, primary-care, mixed) get
2093
+ * Patient/Practitioner/Observation/Encounter/Account records. The
2094
+ * placeholder tenant exists solely as a routing target for the
2095
+ * Cognito pre-token-generation fallback and never holds clinical
2096
+ * data.
2097
+ */
2098
+ /**
2099
+ * Logical group of FHIR resources owned by a single (tenant, workspace)
2100
+ * pair. The workflow walks `DEMO_DATA_PLANE_FIXTURES` and writes every
2101
+ * entry against the matching workspace's `OpenHiContext`.
2102
+ */
2103
+ interface DemoWorkspaceDataPlaneFixtures {
2104
+ readonly tenantId: string;
2105
+ readonly workspaceId: string;
2106
+ /**
2107
+ * Scenario slug used in the demo-URN identifier — mirrors the
2108
+ * `DemoTenantSpec.scenario` value for the parent tenant. For the
2109
+ * mixed tenant both workspaces share the `demo-mixed` scenario.
2110
+ */
2111
+ readonly scenario: string;
2112
+ readonly patients: ReadonlyArray<Patient>;
2113
+ readonly practitioners: ReadonlyArray<Practitioner>;
2114
+ readonly observations: ReadonlyArray<Observation>;
2115
+ readonly encounters: ReadonlyArray<Encounter>;
2116
+ readonly accounts: ReadonlyArray<Account>;
2117
+ }
2118
+ /**
2119
+ * Per-workspace fixtures the data-plane phase writes on every fire.
2120
+ * The placeholder tenant carries no fixtures. The mixed tenant carries
2121
+ * one fixture group per workspace; the two single-workspace tenants
2122
+ * carry one each. Total: 4 fixture groups × ≈ 9 resources = ~36
2123
+ * data-plane records.
2124
+ *
2125
+ * Ids embed the tenant + workspace slug so they remain unambiguous
2126
+ * across the four workspaces (the FHIR resource id is the only thing
2127
+ * that survives into the partition key, so a duplicate id across
2128
+ * workspaces would still collide on read paths that scan-by-id).
2129
+ */
2130
+ declare const DEMO_DATA_PLANE_FIXTURES: ReadonlyArray<DemoWorkspaceDataPlaneFixtures>;
2131
+
2194
2132
  interface SeedDemoDataLambdaProps {
2195
2133
  /**
2196
2134
  * Data-store table the workflow upserts demo-data records into.
2197
- * Wired via `DYNAMO_TABLE_NAME` env var; granted scoped read on the
2198
- * Role PKs (pre-flight check) and scoped write on the enumerated
2199
- * demo Tenant / Workspace / Membership / RoleAssignment / User PKs.
2135
+ * Wired via `DYNAMO_TABLE_NAME` env var; granted `dynamodb:GetItem`
2136
+ * (pre-flight Role lookup) and `dynamodb:PutItem`/`dynamodb:UpdateItem`
2137
+ * (write phase). The grants are scoped to the table ARN only; the
2138
+ * handler itself is the scope guarantee for which records the
2139
+ * workflow touches (see the construct body for the previous
2140
+ * `LeadingKeys`-based grants and the reason they were dropped).
2200
2141
  */
2201
2142
  readonly dataStoreTable: ITable;
2202
2143
  /**
@@ -2649,5 +2590,5 @@ declare class RenameCascadeWorkflow extends Construct {
2649
2590
  constructor(scope: Construct, props: RenameCascadeWorkflowProps);
2650
2591
  }
2651
2592
 
2652
- export { BRIDGED_STATUSES, CLOUDFORMATION_EVENT_SOURCE, CLOUDFORMATION_STACK_STATUS_CHANGE_DETAIL_TYPE, CONTROL_EVENT_BUS_NAME_ENV_VAR, ChildHostedZone, CognitoFixtureSeederClient, CognitoUserPool, CognitoUserPoolClient, CognitoUserPoolDomain, CognitoUserPoolKmsKey, ControlEventBus, DATA_STORE_CHANGE_DETAIL_MAX_UTF8_BYTES, DATA_STORE_CHANGE_DETAIL_TYPE, DATA_STORE_CHANGE_EVENT_SOURCE, DEMO_PERIOD, DEMO_TENANT_SPECS, DEMO_URN_SYSTEM, DEV_USERS, DataEventBus, DataStoreHistoricalArchive, DataStorePostgresReplica, DiscoverableStringParameter, DynamoDbDataStore, OPENHI_REPO_TAG_KEY_ENV_VAR, OPENHI_RESOURCE_URN_SYSTEM, OPENHI_TAG_KEY_PREFIX_ENV_VAR, OPENHI_TAG_SUFFIX_BRANCH_NAME, OPENHI_TAG_SUFFIX_REPO_NAME, OPENHI_TAG_SUFFIX_SERVICE_TYPE, OPENHI_TAG_SUFFIX_STAGE_TYPE, OWNING_DELETE_CASCADE_CONSUMER_NAME, OWNING_DELETE_CASCADE_DEFAULT_CONCURRENCY, OWNING_DELETE_CASCADE_STUCK_THRESHOLD_MINUTES, OWNING_DELETE_OPS_EVENT_BUS_ENV_VAR, OpenHiApp, OpenHiAuthService, OpenHiDataService, OpenHiEnvironment, OpenHiGlobalService, OpenHiGraphqlService, OpenHiRestApiService, OpenHiService, OpenHiStage, OpsEventBus, OwningDeleteCascadeLambdas, OwningDeleteCascadeWorkflow, PLACEHOLDER_TENANT_ID, PLACEHOLDER_WORKSPACE_ID, PLATFORM_DEPLOY_BRIDGE_ACTOR_SYSTEM, PLATFORM_SCOPE_TENANT_ID, POSTGRES_REPLICA_CLUSTER_ARN_SSM_NAME, POSTGRES_REPLICA_DATABASE_NAME_SSM_NAME, POSTGRES_REPLICA_SECRET_ARN_SSM_NAME, PROVISION_DEFAULT_WORKSPACE_DETAIL_TYPE, PlatformDeployBridge, PlatformDeployBridgeLambda, PostAuthenticationLambda, PostConfirmationLambda, PreTokenGenerationLambda, ProvisionDefaultWorkspaceLambda, RENAME_CASCADE_CONSUMER_NAME, RENAME_CASCADE_DEFAULT_CONCURRENCY, RENAME_CASCADE_FAILED_THRESHOLD, RENAME_CASCADE_OPS_EVENT_BUS_ENV_VAR, RENAME_CASCADE_SLOW_THRESHOLD_SECONDS, REST_API_BASE_URL_SSM_NAME, RenameCascadeLambdas, RenameCascadeWorkflow, RootGraphqlApi, RootHostedZone, RootHttpApi, RootWildcardCertificate, SEED_DEMO_DATA_CONSUMER_NAME, SEED_SYSTEM_DATA_ACTOR_SYSTEM, SEED_SYSTEM_DATA_CONSUMER_NAME, SEED_SYSTEM_DATA_CONTROL_BUS_ENV_VAR, STATIC_HOSTING_SERVICE_TYPE, SeedDemoDataLambda, SeedDemoDataWorkflow, SeedSystemDataLambda, SeedSystemDataWorkflow, StaticHosting, USER_ONBOARDING_EVENT_SOURCE, UserOnboardingWorkflow, WorkflowDedupConsumerNameInvalidError, WorkflowDedupTable, WorkflowDedupTableDuplicateError, buildFhirCurrentResourceChangeDetail, buildProvisionDefaultWorkspaceRequestedDetail, demoBasePartitionKeys, demoDevUserPartitionKeys, demoMembershipId, demoMembershipPartitionKey, demoRoleAssignmentId, demoRoleAssignmentPartitionKey, demoRolesForUserInTenant, demoScenarioIdentifier, demoTenantPartitionKey, demoUserPartitionKey, demoWorkspacePartitionKey, getDynamoDbDataStoreTableName, getPostgresReplicaSchemaName, getWorkflowDedupTableName, openHiTagKey, openhiResourceIdentifier, rolePartitionKey };
2653
- export type { BridgedStatus, BuildParameterNameProps, CascadeChunkInput, CascadeFinalizeInput, CascadeFinalizeOutput, CascadeListInput, CascadeListOutput, ChildHostedZoneProps, CloudFormationStackStatusChangeDetail, CognitoFixtureSeederClientProps, DataStoreHistoricalArchiveProps, DataStorePostgresReplicaProps, DemoDevUser, DemoTenantSpec, DemoWorkspaceSpec, DiscoverableStringParameterProps, DynamoDbDataStoreProps, FhirCurrentResourceChangeDetail, GrantConsumerOptions, OpenHiAppProps, OpenHiAuthServiceProps, OpenHiDataServiceProps, OpenHiEnvironmentProps, OpenHiGlobalServiceProps, OpenHiGraphqlServiceProps, OpenHiRestApiServiceProps, OpenHiServiceProps, OpenHiServiceType, OpenHiStageProps, OwningDeleteCascadeLambdasProps, OwningDeleteCascadeWorkflowProps, PlatformDeployBridgeLambdaProps, PlatformDeployBridgeProps, PostConfirmationLambdaProps, PreTokenGenerationLambdaProps, ProvisionDefaultWorkspaceLambdaProps, ProvisionDefaultWorkspaceRequestedDetail, RenameCascadeChunkInput, RenameCascadeFinalizeInput, RenameCascadeFinalizeOutput, RenameCascadeLambdasProps, RenameCascadeListInput, RenameCascadeListOutput, RenameCascadeWorkflowProps, RootGraphqlApiProps, RootHttpApiProps, SeedDemoDataLambdaProps, SeedDemoDataWorkflowProps, SeedSystemDataLambdaProps, SeedSystemDataWorkflowProps, StaticHostingProps, UserOnboardingWorkflowProps, WorkflowDedupTableProps };
2593
+ export { BRIDGED_STATUSES, CLOUDFORMATION_EVENT_SOURCE, CLOUDFORMATION_STACK_STATUS_CHANGE_DETAIL_TYPE, CONTROL_EVENT_BUS_NAME_ENV_VAR, ChildHostedZone, CognitoUserPool, CognitoUserPoolClient, CognitoUserPoolDomain, CognitoUserPoolKmsKey, ControlEventBus, DATA_STORE_CHANGE_DETAIL_MAX_UTF8_BYTES, DATA_STORE_CHANGE_DETAIL_TYPE, DATA_STORE_CHANGE_EVENT_SOURCE, DEMO_DATA_PLANE_FIXTURES, DEMO_PERIOD, DEMO_TENANT_SPECS, DEMO_URN_SYSTEM, DEV_USERS, DataEventBus, DataStoreHistoricalArchive, DataStorePostgresReplica, DiscoverableStringParameter, DynamoDbDataStore, OPENHI_REPO_TAG_KEY_ENV_VAR, OPENHI_RESOURCE_URN_SYSTEM, OPENHI_TAG_KEY_PREFIX_ENV_VAR, OPENHI_TAG_SUFFIX_BRANCH_NAME, OPENHI_TAG_SUFFIX_REPO_NAME, OPENHI_TAG_SUFFIX_SERVICE_TYPE, OPENHI_TAG_SUFFIX_STAGE_TYPE, OWNING_DELETE_CASCADE_CONSUMER_NAME, OWNING_DELETE_CASCADE_DEFAULT_CONCURRENCY, OWNING_DELETE_CASCADE_STUCK_THRESHOLD_MINUTES, OWNING_DELETE_OPS_EVENT_BUS_ENV_VAR, OpenHiApp, OpenHiAuthService, OpenHiDataService, OpenHiEnvironment, OpenHiGlobalService, OpenHiGraphqlService, OpenHiRestApiService, OpenHiService, OpenHiStage, OpsEventBus, OwningDeleteCascadeLambdas, OwningDeleteCascadeWorkflow, PLACEHOLDER_TENANT_ID, PLACEHOLDER_WORKSPACE_ID, PLATFORM_DEPLOY_BRIDGE_ACTOR_SYSTEM, PLATFORM_SCOPE_TENANT_ID, POSTGRES_REPLICA_CLUSTER_ARN_SSM_NAME, POSTGRES_REPLICA_DATABASE_NAME_SSM_NAME, POSTGRES_REPLICA_SECRET_ARN_SSM_NAME, PROVISION_DEFAULT_WORKSPACE_DETAIL_TYPE, PlatformDeployBridge, PlatformDeployBridgeLambda, PostAuthenticationLambda, PostConfirmationLambda, PreTokenGenerationLambda, ProvisionDefaultWorkspaceLambda, RENAME_CASCADE_CONSUMER_NAME, RENAME_CASCADE_DEFAULT_CONCURRENCY, RENAME_CASCADE_FAILED_THRESHOLD, RENAME_CASCADE_OPS_EVENT_BUS_ENV_VAR, RENAME_CASCADE_SLOW_THRESHOLD_SECONDS, REST_API_BASE_URL_SSM_NAME, RenameCascadeLambdas, RenameCascadeWorkflow, RootGraphqlApi, RootHostedZone, RootHttpApi, RootWildcardCertificate, SEED_DEMO_DATA_CONSUMER_NAME, SEED_SYSTEM_DATA_ACTOR_SYSTEM, SEED_SYSTEM_DATA_CONSUMER_NAME, SEED_SYSTEM_DATA_CONTROL_BUS_ENV_VAR, STATIC_HOSTING_SERVICE_TYPE, SeedDemoDataLambda, SeedDemoDataWorkflow, SeedSystemDataLambda, SeedSystemDataWorkflow, StaticHosting, USER_ONBOARDING_EVENT_SOURCE, UserOnboardingWorkflow, WorkflowDedupConsumerNameInvalidError, WorkflowDedupTable, WorkflowDedupTableDuplicateError, buildFhirCurrentResourceChangeDetail, buildProvisionDefaultWorkspaceRequestedDetail, demoMembershipId, demoRoleAssignmentId, demoRolesForUserInTenant, demoScenarioIdentifier, getDynamoDbDataStoreTableName, getPostgresReplicaSchemaName, getWorkflowDedupTableName, openHiTagKey, openhiResourceIdentifier };
2594
+ export type { BridgedStatus, BuildParameterNameProps, CascadeChunkInput, CascadeFinalizeInput, CascadeFinalizeOutput, CascadeListInput, CascadeListOutput, ChildHostedZoneProps, CloudFormationStackStatusChangeDetail, DataStoreHistoricalArchiveProps, DataStorePostgresReplicaProps, DemoDevUser, DemoTenantSpec, DemoWorkspaceDataPlaneFixtures, DemoWorkspaceSpec, DiscoverableStringParameterProps, DynamoDbDataStoreProps, FhirCurrentResourceChangeDetail, GrantConsumerOptions, OpenHiAppProps, OpenHiAuthServiceProps, OpenHiDataServiceProps, OpenHiEnvironmentProps, OpenHiGlobalServiceProps, OpenHiGraphqlServiceProps, OpenHiRestApiServiceProps, OpenHiServiceProps, OpenHiServiceType, OpenHiStageProps, OwningDeleteCascadeLambdasProps, OwningDeleteCascadeWorkflowProps, PlatformDeployBridgeLambdaProps, PlatformDeployBridgeProps, PostConfirmationLambdaProps, PreTokenGenerationLambdaProps, ProvisionDefaultWorkspaceLambdaProps, ProvisionDefaultWorkspaceRequestedDetail, RenameCascadeChunkInput, RenameCascadeFinalizeInput, RenameCascadeFinalizeOutput, RenameCascadeLambdasProps, RenameCascadeListInput, RenameCascadeListOutput, RenameCascadeWorkflowProps, RootGraphqlApiProps, RootHttpApiProps, SeedDemoDataLambdaProps, SeedDemoDataWorkflowProps, SeedSystemDataLambdaProps, SeedSystemDataWorkflowProps, StaticHostingProps, UserOnboardingWorkflowProps, WorkflowDedupTableProps };