@openhi/constructs 0.0.116 → 0.0.117

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.
@@ -2,7 +2,7 @@ import {
2
2
  handler,
3
3
  parseCurrentResourceKeys,
4
4
  shouldDropAsGlobalTableReplicationRecord
5
- } from "./chunk-X5MHU7DA.mjs";
5
+ } from "./chunk-I7IIPV5X.mjs";
6
6
  import "./chunk-CEOAGPYY.mjs";
7
7
  import "./chunk-LZOMFHX3.mjs";
8
8
  export {
package/lib/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { OPEN_HI_STAGE, OPEN_HI_DEPLOYMENT_TARGET_ROLE, OpenHiEnvironmentConfig, OpenHiConfig } from '@openhi/config';
2
- import { Stage, StageProps, App, AppProps, Stack, StackProps, RemovalPolicy } from 'aws-cdk-lib';
2
+ import { Stage, StageProps, App, AppProps, Stack, StackProps, RemovalPolicy, Duration } from 'aws-cdk-lib';
3
3
  import { IConstruct, Construct } from 'constructs';
4
4
  import { Certificate, CertificateProps, ICertificate } from 'aws-cdk-lib/aws-certificatemanager';
5
5
  import { HttpApiProps, HttpApi, IHttpApi, DomainName } from 'aws-cdk-lib/aws-apigatewayv2';
@@ -9,7 +9,7 @@ import { Key, KeyProps, IKey } from 'aws-cdk-lib/aws-kms';
9
9
  import { NodejsFunction } from 'aws-cdk-lib/aws-lambda-nodejs';
10
10
  import { D as DynamoDbStreamKinesisRecord } from './dynamodb-stream-record-CJtV6a1t.mjs';
11
11
  import * as events from 'aws-cdk-lib/aws-events';
12
- import { EventBus, EventBusProps, Rule, IEventBus } from 'aws-cdk-lib/aws-events';
12
+ import { EventBus, Archive, EventBusProps, Rule, IEventBus } from 'aws-cdk-lib/aws-events';
13
13
  import * as kinesis from 'aws-cdk-lib/aws-kinesis';
14
14
  import * as kinesisfirehose from 'aws-cdk-lib/aws-kinesisfirehose';
15
15
  import * as s3 from 'aws-cdk-lib/aws-s3';
@@ -722,9 +722,14 @@ declare class WorkflowDedupConsumerNameInvalidError extends Error {
722
722
  constructor(message: string);
723
723
  }
724
724
 
725
- /**
726
- * @see sites/www-docs/content/packages/@openhi/constructs/components/event-bridge/data-event-bus.md
727
- */
725
+ interface DataEventBusOptions {
726
+ /**
727
+ * Retention for the bus's event archive. Defaults to 7 days. Pass
728
+ * `Duration.days(0)` (or omit and override the archive in a subclass)
729
+ * to disable archiving entirely.
730
+ */
731
+ readonly archiveRetention?: Duration;
732
+ }
728
733
  declare class DataEventBus extends EventBus {
729
734
  /*****************************************************************************
730
735
  *
@@ -734,7 +739,16 @@ declare class DataEventBus extends EventBus {
734
739
  *
735
740
  ****************************************************************************/
736
741
  static getEventBusName(scope: Construct): string;
737
- constructor(scope: Construct, props?: EventBusProps);
742
+ /**
743
+ * Replay archive of every event written to this bus, retained for the
744
+ * configured TTL (default 7 days). Enables EventBridge `StartReplay`
745
+ * for incident response and ad-hoc backfill.
746
+ *
747
+ * Named `replayArchive` rather than `archive` to avoid shadowing the
748
+ * inherited `EventBus.archive(id, options)` instance method.
749
+ */
750
+ readonly replayArchive: Archive;
751
+ constructor(scope: Construct, props?: (EventBusProps & DataEventBusOptions) | undefined);
738
752
  }
739
753
 
740
754
  /**
@@ -2226,4 +2240,4 @@ declare class RenameCascadeWorkflow extends Construct {
2226
2240
  constructor(scope: Construct, props: RenameCascadeWorkflowProps);
2227
2241
  }
2228
2242
 
2229
- export { type BuildParameterNameProps, ChildHostedZone, type ChildHostedZoneProps, 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, DataEventBus, DataStoreHistoricalArchive, type DataStoreHistoricalArchiveProps, DataStorePostgresReplica, type DataStorePostgresReplicaProps, type DemoWorkspaceDataPlaneFixtures, DiscoverableStringParameter, type DiscoverableStringParameterProps, DynamoDbDataStore, type DynamoDbDataStoreProps, type FhirCurrentResourceChangeDetail, type GrantConsumerOptions, HostingMode, OPENHI_TAG_SUFFIX_BRANCH_NAME, OPENHI_TAG_SUFFIX_REPO_NAME, OPENHI_TAG_SUFFIX_SERVICE_TYPE, OPENHI_TAG_SUFFIX_STAGE_TYPE, OpenHiApp, type OpenHiAppProps, OpenHiAuthService, type OpenHiAuthServiceProps, OpenHiDataService, type OpenHiDataServiceProps, OpenHiEnvironment, type OpenHiEnvironmentProps, OpenHiGlobalService, type OpenHiGlobalServiceProps, OpenHiGraphqlService, type OpenHiGraphqlServiceProps, OpenHiRestApiService, type OpenHiRestApiServiceProps, OpenHiService, type OpenHiServiceProps, type OpenHiServiceType, OpenHiStage, type OpenHiStageProps, OpenHiWebsiteService, type OpenHiWebsiteServiceProps, OpsEventBus, OwningDeleteCascadeLambdas, type OwningDeleteCascadeLambdasProps, OwningDeleteCascadeWorkflow, type OwningDeleteCascadeWorkflowProps, POSTGRES_REPLICA_CLUSTER_ARN_SSM_NAME, POSTGRES_REPLICA_DATABASE_NAME_SSM_NAME, POSTGRES_REPLICA_SECRET_ARN_SSM_NAME, PlatformDeployBridge, PlatformDeployBridgeLambda, type PlatformDeployBridgeLambdaProps, type PlatformDeployBridgeProps, PostAuthenticationLambda, PostConfirmationLambda, type PostConfirmationLambdaProps, PreTokenGenerationLambda, type PreTokenGenerationLambdaProps, ProvisionDefaultWorkspaceLambda, type ProvisionDefaultWorkspaceLambdaProps, REST_API_BASE_URL_SSM_NAME, RenameCascadeLambdas, type RenameCascadeLambdasProps, RenameCascadeWorkflow, type RenameCascadeWorkflowProps, RootGraphqlApi, type RootGraphqlApiProps, RootHostedZone, RootHttpApi, type RootHttpApiProps, RootWildcardCertificate, SEED_SYSTEM_DATA_ACTOR_SYSTEM, SEED_SYSTEM_DATA_CONSUMER_NAME, SEED_SYSTEM_DATA_CONTROL_BUS_ENV_VAR, SSM_PARAM_NAME_FULL_DOMAIN, STATIC_HOSTING_SERVICE_TYPE, SeedDemoDataLambda, type SeedDemoDataLambdaProps, SeedDemoDataWorkflow, type SeedDemoDataWorkflowProps, SeedSystemDataLambda, type SeedSystemDataLambdaProps, SeedSystemDataWorkflow, type SeedSystemDataWorkflowProps, StaticContent, type StaticContentProps, StaticHosting, type StaticHostingProps, UserOnboardingWorkflow, type UserOnboardingWorkflowProps, WorkflowDedupConsumerNameInvalidError, WorkflowDedupTable, WorkflowDedupTableDuplicateError, type WorkflowDedupTableProps, buildFhirCurrentResourceChangeDetail, getDynamoDbDataStoreTableName, getPostgresReplicaSchemaName, getWorkflowDedupTableName, openHiTagKey };
2243
+ export { type BuildParameterNameProps, ChildHostedZone, type ChildHostedZoneProps, 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, DataEventBus, type DataEventBusOptions, DataStoreHistoricalArchive, type DataStoreHistoricalArchiveProps, DataStorePostgresReplica, type DataStorePostgresReplicaProps, type DemoWorkspaceDataPlaneFixtures, DiscoverableStringParameter, type DiscoverableStringParameterProps, DynamoDbDataStore, type DynamoDbDataStoreProps, type FhirCurrentResourceChangeDetail, type GrantConsumerOptions, HostingMode, OPENHI_TAG_SUFFIX_BRANCH_NAME, OPENHI_TAG_SUFFIX_REPO_NAME, OPENHI_TAG_SUFFIX_SERVICE_TYPE, OPENHI_TAG_SUFFIX_STAGE_TYPE, OpenHiApp, type OpenHiAppProps, OpenHiAuthService, type OpenHiAuthServiceProps, OpenHiDataService, type OpenHiDataServiceProps, OpenHiEnvironment, type OpenHiEnvironmentProps, OpenHiGlobalService, type OpenHiGlobalServiceProps, OpenHiGraphqlService, type OpenHiGraphqlServiceProps, OpenHiRestApiService, type OpenHiRestApiServiceProps, OpenHiService, type OpenHiServiceProps, type OpenHiServiceType, OpenHiStage, type OpenHiStageProps, OpenHiWebsiteService, type OpenHiWebsiteServiceProps, OpsEventBus, OwningDeleteCascadeLambdas, type OwningDeleteCascadeLambdasProps, OwningDeleteCascadeWorkflow, type OwningDeleteCascadeWorkflowProps, POSTGRES_REPLICA_CLUSTER_ARN_SSM_NAME, POSTGRES_REPLICA_DATABASE_NAME_SSM_NAME, POSTGRES_REPLICA_SECRET_ARN_SSM_NAME, PlatformDeployBridge, PlatformDeployBridgeLambda, type PlatformDeployBridgeLambdaProps, type PlatformDeployBridgeProps, PostAuthenticationLambda, PostConfirmationLambda, type PostConfirmationLambdaProps, PreTokenGenerationLambda, type PreTokenGenerationLambdaProps, ProvisionDefaultWorkspaceLambda, type ProvisionDefaultWorkspaceLambdaProps, REST_API_BASE_URL_SSM_NAME, RenameCascadeLambdas, type RenameCascadeLambdasProps, RenameCascadeWorkflow, type RenameCascadeWorkflowProps, RootGraphqlApi, type RootGraphqlApiProps, RootHostedZone, RootHttpApi, type RootHttpApiProps, RootWildcardCertificate, SEED_SYSTEM_DATA_ACTOR_SYSTEM, SEED_SYSTEM_DATA_CONSUMER_NAME, SEED_SYSTEM_DATA_CONTROL_BUS_ENV_VAR, SSM_PARAM_NAME_FULL_DOMAIN, STATIC_HOSTING_SERVICE_TYPE, SeedDemoDataLambda, type SeedDemoDataLambdaProps, SeedDemoDataWorkflow, type SeedDemoDataWorkflowProps, SeedSystemDataLambda, type SeedSystemDataLambdaProps, SeedSystemDataWorkflow, type SeedSystemDataWorkflowProps, StaticContent, type StaticContentProps, StaticHosting, type StaticHostingProps, UserOnboardingWorkflow, type UserOnboardingWorkflowProps, WorkflowDedupConsumerNameInvalidError, WorkflowDedupTable, WorkflowDedupTableDuplicateError, type WorkflowDedupTableProps, buildFhirCurrentResourceChangeDetail, getDynamoDbDataStoreTableName, getPostgresReplicaSchemaName, getWorkflowDedupTableName, openHiTagKey };
package/lib/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { RemovalPolicy, App, AppProps, Stage, StageProps, Stack, StackProps } from 'aws-cdk-lib';
1
+ import { Duration, RemovalPolicy, App, AppProps, Stage, StageProps, Stack, StackProps } from 'aws-cdk-lib';
2
2
  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';
@@ -8,7 +8,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';
10
10
  import * as events from 'aws-cdk-lib/aws-events';
11
- import { EventBus, EventBusProps, Rule, IEventBus } from 'aws-cdk-lib/aws-events';
11
+ import { EventBus, EventBusProps, Archive, Rule, IEventBus } from 'aws-cdk-lib/aws-events';
12
12
  import * as kinesis from 'aws-cdk-lib/aws-kinesis';
13
13
  import * as kinesisfirehose from 'aws-cdk-lib/aws-kinesisfirehose';
14
14
  import * as s3 from 'aws-cdk-lib/aws-s3';
@@ -1359,9 +1359,14 @@ declare class WorkflowDedupConsumerNameInvalidError extends Error {
1359
1359
  constructor(message: string);
1360
1360
  }
1361
1361
 
1362
- /**
1363
- * @see sites/www-docs/content/packages/@openhi/constructs/components/event-bridge/data-event-bus.md
1364
- */
1362
+ interface DataEventBusOptions {
1363
+ /**
1364
+ * Retention for the bus's event archive. Defaults to 7 days. Pass
1365
+ * `Duration.days(0)` (or omit and override the archive in a subclass)
1366
+ * to disable archiving entirely.
1367
+ */
1368
+ readonly archiveRetention?: Duration;
1369
+ }
1365
1370
  declare class DataEventBus extends EventBus {
1366
1371
  /*****************************************************************************
1367
1372
  *
@@ -1371,7 +1376,16 @@ declare class DataEventBus extends EventBus {
1371
1376
  *
1372
1377
  ****************************************************************************/
1373
1378
  static getEventBusName(scope: Construct): string;
1374
- constructor(scope: Construct, props?: EventBusProps);
1379
+ /**
1380
+ * Replay archive of every event written to this bus, retained for the
1381
+ * configured TTL (default 7 days). Enables EventBridge `StartReplay`
1382
+ * for incident response and ad-hoc backfill.
1383
+ *
1384
+ * Named `replayArchive` rather than `archive` to avoid shadowing the
1385
+ * inherited `EventBus.archive(id, options)` instance method.
1386
+ */
1387
+ readonly replayArchive: Archive;
1388
+ constructor(scope: Construct, props?: (EventBusProps & DataEventBusOptions) | undefined);
1375
1389
  }
1376
1390
 
1377
1391
  /**
@@ -2864,4 +2878,4 @@ declare class RenameCascadeWorkflow extends Construct {
2864
2878
  }
2865
2879
 
2866
2880
  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, OpenHiWebsiteService, 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, SSM_PARAM_NAME_FULL_DOMAIN, STATIC_HOSTING_SERVICE_TYPE, SeedDemoDataLambda, SeedDemoDataWorkflow, SeedSystemDataLambda, SeedSystemDataWorkflow, StaticContent, StaticHosting, USER_ONBOARDING_EVENT_SOURCE, UserOnboardingWorkflow, WorkflowDedupConsumerNameInvalidError, WorkflowDedupTable, WorkflowDedupTableDuplicateError, buildFhirCurrentResourceChangeDetail, buildProvisionDefaultWorkspaceRequestedDetail, demoMembershipId, demoRoleAssignmentId, demoRolesForUserInTenant, demoScenarioIdentifier, getDynamoDbDataStoreTableName, getPostgresReplicaSchemaName, getWorkflowDedupTableName, openHiTagKey, openhiResourceIdentifier };
2867
- export type { BridgedStatus, BuildParameterNameProps, CascadeChunkInput, CascadeFinalizeInput, CascadeFinalizeOutput, CascadeListInput, CascadeListOutput, ChildHostedZoneProps, CloudFormationStackStatusChangeDetail, DataStoreHistoricalArchiveProps, DataStorePostgresReplicaProps, DemoDevUser, DemoTenantSpec, DemoWorkspaceDataPlaneFixtures, DemoWorkspaceSpec, DiscoverableStringParameterProps, DynamoDbDataStoreProps, FhirCurrentResourceChangeDetail, GrantConsumerOptions, HostingMode, OpenHiAppProps, OpenHiAuthServiceProps, OpenHiDataServiceProps, OpenHiEnvironmentProps, OpenHiGlobalServiceProps, OpenHiGraphqlServiceProps, OpenHiRestApiServiceProps, OpenHiServiceProps, OpenHiServiceType, OpenHiStageProps, OpenHiWebsiteServiceProps, OwningDeleteCascadeLambdasProps, OwningDeleteCascadeWorkflowProps, PlatformDeployBridgeLambdaProps, PlatformDeployBridgeProps, PostConfirmationLambdaProps, PreTokenGenerationLambdaProps, ProvisionDefaultWorkspaceLambdaProps, ProvisionDefaultWorkspaceRequestedDetail, RenameCascadeChunkInput, RenameCascadeFinalizeInput, RenameCascadeFinalizeOutput, RenameCascadeLambdasProps, RenameCascadeListInput, RenameCascadeListOutput, RenameCascadeWorkflowProps, RootGraphqlApiProps, RootHttpApiProps, SeedDemoDataLambdaProps, SeedDemoDataWorkflowProps, SeedSystemDataLambdaProps, SeedSystemDataWorkflowProps, StaticContentProps, StaticHostingProps, UserOnboardingWorkflowProps, WorkflowDedupTableProps };
2881
+ export type { BridgedStatus, BuildParameterNameProps, CascadeChunkInput, CascadeFinalizeInput, CascadeFinalizeOutput, CascadeListInput, CascadeListOutput, ChildHostedZoneProps, CloudFormationStackStatusChangeDetail, DataEventBusOptions, DataStoreHistoricalArchiveProps, DataStorePostgresReplicaProps, DemoDevUser, DemoTenantSpec, DemoWorkspaceDataPlaneFixtures, DemoWorkspaceSpec, DiscoverableStringParameterProps, DynamoDbDataStoreProps, FhirCurrentResourceChangeDetail, GrantConsumerOptions, HostingMode, OpenHiAppProps, OpenHiAuthServiceProps, OpenHiDataServiceProps, OpenHiEnvironmentProps, OpenHiGlobalServiceProps, OpenHiGraphqlServiceProps, OpenHiRestApiServiceProps, OpenHiServiceProps, OpenHiServiceType, OpenHiStageProps, OpenHiWebsiteServiceProps, OwningDeleteCascadeLambdasProps, OwningDeleteCascadeWorkflowProps, PlatformDeployBridgeLambdaProps, PlatformDeployBridgeProps, PostConfirmationLambdaProps, PreTokenGenerationLambdaProps, ProvisionDefaultWorkspaceLambdaProps, ProvisionDefaultWorkspaceRequestedDetail, RenameCascadeChunkInput, RenameCascadeFinalizeInput, RenameCascadeFinalizeOutput, RenameCascadeLambdasProps, RenameCascadeListInput, RenameCascadeListOutput, RenameCascadeWorkflowProps, RootGraphqlApiProps, RootHttpApiProps, SeedDemoDataLambdaProps, SeedDemoDataWorkflowProps, SeedSystemDataLambdaProps, SeedSystemDataWorkflowProps, StaticContentProps, StaticHostingProps, UserOnboardingWorkflowProps, WorkflowDedupTableProps };
package/lib/index.js CHANGED
@@ -2022,7 +2022,9 @@ var WorkflowDedupConsumerNameInvalidError = class extends Error {
2022
2022
  };
2023
2023
 
2024
2024
  // src/components/event-bridge/data-event-bus.ts
2025
+ var import_aws_cdk_lib8 = require("aws-cdk-lib");
2025
2026
  var import_aws_events = require("aws-cdk-lib/aws-events");
2027
+ var DEFAULT_ARCHIVE_RETENTION = import_aws_cdk_lib8.Duration.days(7);
2026
2028
  var DataEventBus = class _DataEventBus extends import_aws_events.EventBus {
2027
2029
  /*****************************************************************************
2028
2030
  *
@@ -2035,11 +2037,19 @@ var DataEventBus = class _DataEventBus extends import_aws_events.EventBus {
2035
2037
  const stack = OpenHiService.of(scope);
2036
2038
  return `datav1${stack.branchHash}`;
2037
2039
  }
2038
- constructor(scope, props) {
2040
+ constructor(scope, props = void 0) {
2041
+ const { archiveRetention, ...busProps } = props ?? {};
2039
2042
  super(scope, "data-event-bus-v1", {
2040
- ...props,
2043
+ ...busProps,
2041
2044
  eventBusName: _DataEventBus.getEventBusName(scope)
2042
2045
  });
2046
+ this.replayArchive = new import_aws_events.Archive(this, "Archive", {
2047
+ sourceEventBus: this,
2048
+ archiveName: `${_DataEventBus.getEventBusName(scope)}-archive`,
2049
+ description: "Replay archive for the OpenHI data event bus (data-store change notifications).",
2050
+ eventPattern: { account: [import_aws_cdk_lib8.Stack.of(this).account] },
2051
+ retention: archiveRetention ?? DEFAULT_ARCHIVE_RETENTION
2052
+ });
2043
2053
  }
2044
2054
  };
2045
2055
 
@@ -2090,7 +2100,7 @@ var ControlEventBus = class _ControlEventBus extends import_aws_events3.EventBus
2090
2100
  // src/components/postgres/data-store-postgres-replica.ts
2091
2101
  var import_node_fs5 = __toESM(require("fs"));
2092
2102
  var import_node_path5 = __toESM(require("path"));
2093
- var import_aws_cdk_lib8 = require("aws-cdk-lib");
2103
+ var import_aws_cdk_lib9 = require("aws-cdk-lib");
2094
2104
  var ec2 = __toESM(require("aws-cdk-lib/aws-ec2"));
2095
2105
  var import_aws_lambda5 = require("aws-cdk-lib/aws-lambda");
2096
2106
  var import_aws_lambda_event_sources = require("aws-cdk-lib/aws-lambda-event-sources");
@@ -2156,7 +2166,7 @@ var DataStorePostgresReplica = class extends import_constructs6.Construct {
2156
2166
  super(scope, id);
2157
2167
  this.databaseName = props.databaseName ?? DEFAULT_DATABASE_NAME;
2158
2168
  this.schemaName = getPostgresReplicaSchemaName(props.branchHash);
2159
- const region = import_aws_cdk_lib8.Stack.of(this).region;
2169
+ const region = import_aws_cdk_lib9.Stack.of(this).region;
2160
2170
  this.vpc = props.vpc ?? new ec2.Vpc(this, "Vpc", {
2161
2171
  availabilityZones: [`${region}a`, `${region}b`],
2162
2172
  natGateways: 0,
@@ -2192,7 +2202,7 @@ var DataStorePostgresReplica = class extends import_constructs6.Construct {
2192
2202
  entry: resolveHandlerEntry5(__dirname),
2193
2203
  runtime: import_aws_lambda5.Runtime.NODEJS_LATEST,
2194
2204
  memorySize: 512,
2195
- timeout: import_aws_cdk_lib8.Duration.minutes(1),
2205
+ timeout: import_aws_cdk_lib9.Duration.minutes(1),
2196
2206
  vpc: this.vpc,
2197
2207
  vpcSubnets: { subnetType: ec2.SubnetType.PRIVATE_ISOLATED },
2198
2208
  description: "Replicates DynamoDB current-resource changes into the Postgres `resources` JSONB table (ADR 2026-04-17-01).",
@@ -2219,7 +2229,7 @@ var DataStorePostgresReplica = class extends import_constructs6.Construct {
2219
2229
  new import_aws_lambda_event_sources.KinesisEventSource(props.kinesisStream, {
2220
2230
  startingPosition: import_aws_lambda5.StartingPosition.LATEST,
2221
2231
  batchSize: 100,
2222
- maxBatchingWindow: import_aws_cdk_lib8.Duration.seconds(5),
2232
+ maxBatchingWindow: import_aws_cdk_lib9.Duration.seconds(5),
2223
2233
  retryAttempts: 10,
2224
2234
  bisectBatchOnError: true,
2225
2235
  parallelizationFactor: 2,
@@ -2252,7 +2262,7 @@ var DataStorePostgresReplica = class extends import_constructs6.Construct {
2252
2262
  };
2253
2263
 
2254
2264
  // src/components/route-53/child-hosted-zone.ts
2255
- var import_aws_cdk_lib9 = require("aws-cdk-lib");
2265
+ var import_aws_cdk_lib10 = require("aws-cdk-lib");
2256
2266
  var import_aws_route53 = require("aws-cdk-lib/aws-route53");
2257
2267
  var ChildHostedZone = class extends import_aws_route53.HostedZone {
2258
2268
  constructor(scope, id, props) {
@@ -2261,7 +2271,7 @@ var ChildHostedZone = class extends import_aws_route53.HostedZone {
2261
2271
  zone: props.parentHostedZone,
2262
2272
  recordName: this.zoneName,
2263
2273
  values: this.hostedZoneNameServers || [],
2264
- ttl: import_aws_cdk_lib9.Duration.minutes(5)
2274
+ ttl: import_aws_cdk_lib10.Duration.minutes(5)
2265
2275
  });
2266
2276
  }
2267
2277
  };
@@ -2284,7 +2294,7 @@ var import_constructs9 = require("constructs");
2284
2294
  // src/components/static-hosting/static-hosting.ts
2285
2295
  var fs6 = __toESM(require("fs"));
2286
2296
  var path6 = __toESM(require("path"));
2287
- var import_aws_cdk_lib10 = require("aws-cdk-lib");
2297
+ var import_aws_cdk_lib11 = require("aws-cdk-lib");
2288
2298
  var import_aws_cloudfront = require("aws-cdk-lib/aws-cloudfront");
2289
2299
  var import_aws_cloudfront_origins = require("aws-cdk-lib/aws-cloudfront-origins");
2290
2300
  var import_aws_lambda6 = require("aws-cdk-lib/aws-lambda");
@@ -2335,9 +2345,9 @@ var _StaticHosting = class _StaticHosting extends import_constructs8.Construct {
2335
2345
  const cachePolicy = new import_aws_cloudfront.CachePolicy(this, "cache-policy", {
2336
2346
  cachePolicyName: `static-hosting-${stack.branchHash}`,
2337
2347
  comment: "Static hosting default: 60s default / 300s max, gzip+brotli.",
2338
- defaultTtl: import_aws_cdk_lib10.Duration.seconds(60),
2339
- minTtl: import_aws_cdk_lib10.Duration.seconds(0),
2340
- maxTtl: import_aws_cdk_lib10.Duration.seconds(300),
2348
+ defaultTtl: import_aws_cdk_lib11.Duration.seconds(60),
2349
+ minTtl: import_aws_cdk_lib11.Duration.seconds(0),
2350
+ maxTtl: import_aws_cdk_lib11.Duration.seconds(300),
2341
2351
  headerBehavior: import_aws_cloudfront.CacheHeaderBehavior.none(),
2342
2352
  queryStringBehavior: import_aws_cloudfront.CacheQueryStringBehavior.none(),
2343
2353
  cookieBehavior: import_aws_cloudfront.CacheCookieBehavior.none(),
@@ -2492,7 +2502,7 @@ var import_constructs11 = require("constructs");
2492
2502
  // src/workflows/control-plane/platform-deploy-bridge/platform-deploy-bridge-lambda.ts
2493
2503
  var import_node_fs6 = __toESM(require("fs"));
2494
2504
  var import_node_path6 = __toESM(require("path"));
2495
- var import_aws_cdk_lib11 = require("aws-cdk-lib");
2505
+ var import_aws_cdk_lib12 = require("aws-cdk-lib");
2496
2506
  var import_aws_events4 = require("aws-cdk-lib/aws-events");
2497
2507
  var import_aws_events_targets = require("aws-cdk-lib/aws-events-targets");
2498
2508
  var import_aws_iam2 = require("aws-cdk-lib/aws-iam");
@@ -2516,15 +2526,15 @@ var PlatformDeployBridgeLambda = class extends import_constructs10.Construct {
2516
2526
  OPENHI_TAG_SUFFIX_REPO_NAME
2517
2527
  );
2518
2528
  const tagKeyPrefix = `${service.appName}:`;
2519
- const ownStackName = import_aws_cdk_lib11.Stack.of(this).stackName;
2520
- const ownSuffix = `-${service.serviceId}-${import_aws_cdk_lib11.Stack.of(this).account}-${import_aws_cdk_lib11.Stack.of(this).region}`;
2529
+ const ownStackName = import_aws_cdk_lib12.Stack.of(this).stackName;
2530
+ const ownSuffix = `-${service.serviceId}-${import_aws_cdk_lib12.Stack.of(this).account}-${import_aws_cdk_lib12.Stack.of(this).region}`;
2521
2531
  const sharedPrefix = ownStackName.endsWith(ownSuffix) ? ownStackName.slice(0, -ownSuffix.length) : service.branchHash;
2522
- const stackIdPrefix = `arn:aws:cloudformation:${import_aws_cdk_lib11.Stack.of(this).region}:${import_aws_cdk_lib11.Stack.of(this).account}:stack/${sharedPrefix}-`;
2532
+ const stackIdPrefix = `arn:aws:cloudformation:${import_aws_cdk_lib12.Stack.of(this).region}:${import_aws_cdk_lib12.Stack.of(this).account}:stack/${sharedPrefix}-`;
2523
2533
  this.lambda = new import_aws_lambda_nodejs7.NodejsFunction(this, "handler", {
2524
2534
  entry: resolveHandlerEntry6(__dirname),
2525
2535
  runtime: import_aws_lambda7.Runtime.NODEJS_LATEST,
2526
2536
  memorySize: 256,
2527
- timeout: import_aws_cdk_lib11.Duration.seconds(30),
2537
+ timeout: import_aws_cdk_lib12.Duration.seconds(30),
2528
2538
  environment: {
2529
2539
  [CONTROL_EVENT_BUS_NAME_ENV_VAR]: props.controlEventBus.eventBusName,
2530
2540
  [OPENHI_REPO_TAG_KEY_ENV_VAR]: repoTagKey,
@@ -2536,7 +2546,7 @@ var PlatformDeployBridgeLambda = class extends import_constructs10.Construct {
2536
2546
  effect: import_aws_iam2.Effect.ALLOW,
2537
2547
  actions: ["cloudformation:DescribeStacks"],
2538
2548
  resources: [
2539
- `arn:aws:cloudformation:${import_aws_cdk_lib11.Stack.of(this).region}:${import_aws_cdk_lib11.Stack.of(this).account}:stack/*`
2549
+ `arn:aws:cloudformation:${import_aws_cdk_lib12.Stack.of(this).region}:${import_aws_cdk_lib12.Stack.of(this).account}:stack/*`
2540
2550
  ]
2541
2551
  })
2542
2552
  );
@@ -2555,7 +2565,7 @@ var PlatformDeployBridgeLambda = class extends import_constructs10.Construct {
2555
2565
  targets: [
2556
2566
  new import_aws_events_targets.LambdaFunction(this.lambda, {
2557
2567
  retryAttempts: 2,
2558
- maxEventAge: import_aws_cdk_lib11.Duration.hours(2)
2568
+ maxEventAge: import_aws_cdk_lib12.Duration.hours(2)
2559
2569
  })
2560
2570
  ]
2561
2571
  });
@@ -3268,7 +3278,7 @@ _validateFixturesAgainstTenantSpecs();
3268
3278
  // src/workflows/control-plane/seed-demo-data/seed-demo-data-lambda.ts
3269
3279
  var import_node_fs7 = __toESM(require("fs"));
3270
3280
  var import_node_path7 = __toESM(require("path"));
3271
- var import_aws_cdk_lib12 = require("aws-cdk-lib");
3281
+ var import_aws_cdk_lib13 = require("aws-cdk-lib");
3272
3282
  var import_aws_events6 = require("aws-cdk-lib/aws-events");
3273
3283
  var import_aws_events_targets2 = require("aws-cdk-lib/aws-events-targets");
3274
3284
  var import_aws_iam3 = require("aws-cdk-lib/aws-iam");
@@ -6162,7 +6172,7 @@ var SeedDemoDataLambda = class extends import_constructs12.Construct {
6162
6172
  entry: resolveHandlerEntry7(__dirname),
6163
6173
  runtime: import_aws_lambda8.Runtime.NODEJS_LATEST,
6164
6174
  memorySize: 512,
6165
- timeout: import_aws_cdk_lib12.Duration.minutes(2),
6175
+ timeout: import_aws_cdk_lib13.Duration.minutes(2),
6166
6176
  environment: {
6167
6177
  DYNAMO_TABLE_NAME: props.dataStoreTable.tableName,
6168
6178
  [SEED_DEMO_DATA_USER_POOL_ID_ENV_VAR]: props.userPool.userPoolId
@@ -6191,7 +6201,7 @@ var SeedDemoDataLambda = class extends import_constructs12.Construct {
6191
6201
  "cognito-idp:AdminSetUserPassword"
6192
6202
  ],
6193
6203
  resources: [
6194
- import_aws_cdk_lib12.Stack.of(this).formatArn({
6204
+ import_aws_cdk_lib13.Stack.of(this).formatArn({
6195
6205
  service: "cognito-idp",
6196
6206
  resource: "userpool",
6197
6207
  resourceName: props.userPool.userPoolId
@@ -6208,7 +6218,7 @@ var SeedDemoDataLambda = class extends import_constructs12.Construct {
6208
6218
  targets: [
6209
6219
  new import_aws_events_targets2.LambdaFunction(this.lambda, {
6210
6220
  retryAttempts: 2,
6211
- maxEventAge: import_aws_cdk_lib12.Duration.hours(2)
6221
+ maxEventAge: import_aws_cdk_lib13.Duration.hours(2)
6212
6222
  })
6213
6223
  ]
6214
6224
  });
@@ -6243,7 +6253,7 @@ var SEED_SYSTEM_DATA_CONTROL_BUS_ENV_VAR = "CONTROL_EVENT_BUS_NAME";
6243
6253
  var import_node_fs8 = __toESM(require("fs"));
6244
6254
  var import_node_path8 = __toESM(require("path"));
6245
6255
  var import_types13 = require("@openhi/types");
6246
- var import_aws_cdk_lib13 = require("aws-cdk-lib");
6256
+ var import_aws_cdk_lib14 = require("aws-cdk-lib");
6247
6257
  var import_aws_events7 = require("aws-cdk-lib/aws-events");
6248
6258
  var import_aws_events_targets3 = require("aws-cdk-lib/aws-events-targets");
6249
6259
  var import_aws_iam4 = require("aws-cdk-lib/aws-iam");
@@ -6265,7 +6275,7 @@ var SeedSystemDataLambda = class extends import_constructs14.Construct {
6265
6275
  entry: resolveHandlerEntry8(__dirname),
6266
6276
  runtime: import_aws_lambda9.Runtime.NODEJS_LATEST,
6267
6277
  memorySize: 512,
6268
- timeout: import_aws_cdk_lib13.Duration.minutes(1),
6278
+ timeout: import_aws_cdk_lib14.Duration.minutes(1),
6269
6279
  environment: {
6270
6280
  DYNAMO_TABLE_NAME: props.dataStoreTable.tableName,
6271
6281
  [SEED_SYSTEM_DATA_CONTROL_BUS_ENV_VAR]: props.controlEventBus.eventBusName
@@ -6287,7 +6297,7 @@ var SeedSystemDataLambda = class extends import_constructs14.Construct {
6287
6297
  })
6288
6298
  );
6289
6299
  props.controlEventBus.grantPutEventsTo(this.lambda);
6290
- const hostStackName = import_aws_cdk_lib13.Stack.of(this).stackName;
6300
+ const hostStackName = import_aws_cdk_lib14.Stack.of(this).stackName;
6291
6301
  this.rule = new import_aws_events7.Rule(this, "rule", {
6292
6302
  eventBus: props.controlEventBus,
6293
6303
  eventPattern: {
@@ -6302,7 +6312,7 @@ var SeedSystemDataLambda = class extends import_constructs14.Construct {
6302
6312
  targets: [
6303
6313
  new import_aws_events_targets3.LambdaFunction(this.lambda, {
6304
6314
  retryAttempts: 2,
6305
- maxEventAge: import_aws_cdk_lib13.Duration.hours(2)
6315
+ maxEventAge: import_aws_cdk_lib14.Duration.hours(2)
6306
6316
  })
6307
6317
  ]
6308
6318
  });
@@ -6464,7 +6474,7 @@ var buildProvisionDefaultWorkspaceRequestedDetail = (event) => {
6464
6474
  // src/workflows/control-plane/user-onboarding/provision-default-workspace-lambda.ts
6465
6475
  var import_node_fs9 = __toESM(require("fs"));
6466
6476
  var import_node_path9 = __toESM(require("path"));
6467
- var import_aws_cdk_lib14 = require("aws-cdk-lib");
6477
+ var import_aws_cdk_lib15 = require("aws-cdk-lib");
6468
6478
  var import_aws_events8 = require("aws-cdk-lib/aws-events");
6469
6479
  var import_aws_events_targets4 = require("aws-cdk-lib/aws-events-targets");
6470
6480
  var import_aws_iam5 = require("aws-cdk-lib/aws-iam");
@@ -6511,7 +6521,7 @@ var ProvisionDefaultWorkspaceLambda = class extends import_constructs16.Construc
6511
6521
  targets: [
6512
6522
  new import_aws_events_targets4.LambdaFunction(this.lambda, {
6513
6523
  retryAttempts: 2,
6514
- maxEventAge: import_aws_cdk_lib14.Duration.hours(2)
6524
+ maxEventAge: import_aws_cdk_lib15.Duration.hours(2)
6515
6525
  })
6516
6526
  ]
6517
6527
  });
@@ -7331,7 +7341,7 @@ var OWNING_DELETE_OPS_EVENT_BUS_ENV_VAR = "OWNING_DELETE_OPS_EVENT_BUS_NAME";
7331
7341
  // src/workflows/control-plane/owning-delete-cascade/owning-delete-cascade-lambdas.ts
7332
7342
  var import_node_fs12 = __toESM(require("fs"));
7333
7343
  var import_node_path12 = __toESM(require("path"));
7334
- var import_aws_cdk_lib15 = require("aws-cdk-lib");
7344
+ var import_aws_cdk_lib16 = require("aws-cdk-lib");
7335
7345
  var import_aws_iam8 = require("aws-cdk-lib/aws-iam");
7336
7346
  var import_aws_lambda13 = require("aws-cdk-lib/aws-lambda");
7337
7347
  var import_aws_lambda_nodejs13 = require("aws-cdk-lib/aws-lambda-nodejs");
@@ -7355,7 +7365,7 @@ var OwningDeleteCascadeLambdas = class extends import_constructs20.Construct {
7355
7365
  entry: listResolved.entry,
7356
7366
  runtime: import_aws_lambda13.Runtime.NODEJS_LATEST,
7357
7367
  memorySize: 512,
7358
- timeout: import_aws_cdk_lib15.Duration.minutes(1),
7368
+ timeout: import_aws_cdk_lib16.Duration.minutes(1),
7359
7369
  environment: {
7360
7370
  DYNAMO_TABLE_NAME: props.dataStoreTable.tableName
7361
7371
  }
@@ -7369,7 +7379,7 @@ var OwningDeleteCascadeLambdas = class extends import_constructs20.Construct {
7369
7379
  entry: deleteResolved.entry,
7370
7380
  runtime: import_aws_lambda13.Runtime.NODEJS_LATEST,
7371
7381
  memorySize: 512,
7372
- timeout: import_aws_cdk_lib15.Duration.minutes(1),
7382
+ timeout: import_aws_cdk_lib16.Duration.minutes(1),
7373
7383
  environment: {
7374
7384
  DYNAMO_TABLE_NAME: props.dataStoreTable.tableName
7375
7385
  }
@@ -7388,7 +7398,7 @@ var OwningDeleteCascadeLambdas = class extends import_constructs20.Construct {
7388
7398
  entry: finalizeResolved.entry,
7389
7399
  runtime: import_aws_lambda13.Runtime.NODEJS_LATEST,
7390
7400
  memorySize: 512,
7391
- timeout: import_aws_cdk_lib15.Duration.minutes(1),
7401
+ timeout: import_aws_cdk_lib16.Duration.minutes(1),
7392
7402
  environment: {
7393
7403
  DYNAMO_TABLE_NAME: props.dataStoreTable.tableName,
7394
7404
  [OWNING_DELETE_OPS_EVENT_BUS_ENV_VAR]: props.opsEventBus.eventBusName
@@ -7406,7 +7416,7 @@ var OwningDeleteCascadeLambdas = class extends import_constructs20.Construct {
7406
7416
  };
7407
7417
 
7408
7418
  // src/workflows/control-plane/owning-delete-cascade/owning-delete-cascade-workflow.ts
7409
- var import_aws_cdk_lib16 = require("aws-cdk-lib");
7419
+ var import_aws_cdk_lib17 = require("aws-cdk-lib");
7410
7420
  var import_aws_events9 = require("aws-cdk-lib/aws-events");
7411
7421
  var import_aws_events_targets5 = require("aws-cdk-lib/aws-events-targets");
7412
7422
  var import_aws_stepfunctions = require("aws-cdk-lib/aws-stepfunctions");
@@ -7521,7 +7531,7 @@ var OwningDeleteCascadeWorkflow = class extends import_constructs21.Construct {
7521
7531
  }
7522
7532
  });
7523
7533
  const interPageWait = new import_aws_stepfunctions.Wait(this, "inter-page-wait", {
7524
- time: import_aws_stepfunctions.WaitTime.duration(import_aws_cdk_lib16.Duration.seconds(0))
7534
+ time: import_aws_stepfunctions.WaitTime.duration(import_aws_cdk_lib17.Duration.seconds(0))
7525
7535
  });
7526
7536
  const isExhausted = new import_aws_stepfunctions.Choice(this, "is-exhausted");
7527
7537
  const finalize = new import_aws_stepfunctions_tasks.LambdaInvoke(this, "finalize", {
@@ -7552,7 +7562,7 @@ var OwningDeleteCascadeWorkflow = class extends import_constructs21.Construct {
7552
7562
  // Long timeout because real-world cascades can run minutes when
7553
7563
  // a workspace has thousands of members. The stuck-cascade alarm
7554
7564
  // fires at 15 minutes; the state machine itself does not abort.
7555
- timeout: import_aws_cdk_lib16.Duration.hours(2)
7565
+ timeout: import_aws_cdk_lib17.Duration.hours(2)
7556
7566
  });
7557
7567
  this.rule = new import_aws_events9.Rule(this, "rule", {
7558
7568
  eventBus: props.dataEventBus,
@@ -7563,7 +7573,7 @@ var OwningDeleteCascadeWorkflow = class extends import_constructs21.Construct {
7563
7573
  targets: [
7564
7574
  new import_aws_events_targets5.SfnStateMachine(this.stateMachine, {
7565
7575
  retryAttempts: 2,
7566
- maxEventAge: import_aws_cdk_lib16.Duration.hours(2)
7576
+ maxEventAge: import_aws_cdk_lib17.Duration.hours(2)
7567
7577
  })
7568
7578
  ]
7569
7579
  });
@@ -7581,7 +7591,7 @@ var RENAME_CASCADE_OPS_EVENT_BUS_ENV_VAR = "RENAME_CASCADE_OPS_EVENT_BUS_NAME";
7581
7591
  // src/workflows/control-plane/rename-cascade/rename-cascade-lambdas.ts
7582
7592
  var import_node_fs13 = __toESM(require("fs"));
7583
7593
  var import_node_path13 = __toESM(require("path"));
7584
- var import_aws_cdk_lib17 = require("aws-cdk-lib");
7594
+ var import_aws_cdk_lib18 = require("aws-cdk-lib");
7585
7595
  var import_aws_iam9 = require("aws-cdk-lib/aws-iam");
7586
7596
  var import_aws_lambda14 = require("aws-cdk-lib/aws-lambda");
7587
7597
  var import_aws_lambda_nodejs14 = require("aws-cdk-lib/aws-lambda-nodejs");
@@ -7605,7 +7615,7 @@ var RenameCascadeLambdas = class extends import_constructs22.Construct {
7605
7615
  entry: listResolved.entry,
7606
7616
  runtime: import_aws_lambda14.Runtime.NODEJS_LATEST,
7607
7617
  memorySize: 512,
7608
- timeout: import_aws_cdk_lib17.Duration.minutes(1),
7618
+ timeout: import_aws_cdk_lib18.Duration.minutes(1),
7609
7619
  environment: {
7610
7620
  DYNAMO_TABLE_NAME: props.dataStoreTable.tableName
7611
7621
  }
@@ -7619,7 +7629,7 @@ var RenameCascadeLambdas = class extends import_constructs22.Construct {
7619
7629
  entry: rewriteResolved.entry,
7620
7630
  runtime: import_aws_lambda14.Runtime.NODEJS_LATEST,
7621
7631
  memorySize: 512,
7622
- timeout: import_aws_cdk_lib17.Duration.minutes(1),
7632
+ timeout: import_aws_cdk_lib18.Duration.minutes(1),
7623
7633
  environment: {
7624
7634
  DYNAMO_TABLE_NAME: props.dataStoreTable.tableName
7625
7635
  }
@@ -7638,7 +7648,7 @@ var RenameCascadeLambdas = class extends import_constructs22.Construct {
7638
7648
  entry: finalizeResolved.entry,
7639
7649
  runtime: import_aws_lambda14.Runtime.NODEJS_LATEST,
7640
7650
  memorySize: 512,
7641
- timeout: import_aws_cdk_lib17.Duration.minutes(1),
7651
+ timeout: import_aws_cdk_lib18.Duration.minutes(1),
7642
7652
  environment: {
7643
7653
  [RENAME_CASCADE_OPS_EVENT_BUS_ENV_VAR]: props.opsEventBus.eventBusName
7644
7654
  }
@@ -7654,7 +7664,7 @@ var RenameCascadeLambdas = class extends import_constructs22.Construct {
7654
7664
  };
7655
7665
 
7656
7666
  // src/workflows/control-plane/rename-cascade/rename-cascade-workflow.ts
7657
- var import_aws_cdk_lib18 = require("aws-cdk-lib");
7667
+ var import_aws_cdk_lib19 = require("aws-cdk-lib");
7658
7668
  var import_aws_events10 = require("aws-cdk-lib/aws-events");
7659
7669
  var import_aws_events_targets6 = require("aws-cdk-lib/aws-events-targets");
7660
7670
  var import_aws_stepfunctions2 = require("aws-cdk-lib/aws-stepfunctions");
@@ -7804,7 +7814,7 @@ var RenameCascadeWorkflow = class extends import_constructs23.Construct {
7804
7814
  // Long timeout — large renames may rewrite thousands of rows;
7805
7815
  // the `CascadeSlow` alarm fires at 300s p99 but the state
7806
7816
  // machine itself does not abort.
7807
- timeout: import_aws_cdk_lib18.Duration.hours(2)
7817
+ timeout: import_aws_cdk_lib19.Duration.hours(2)
7808
7818
  });
7809
7819
  this.rule = new import_aws_events10.Rule(this, "rule", {
7810
7820
  eventBus: props.dataEventBus,
@@ -7815,7 +7825,7 @@ var RenameCascadeWorkflow = class extends import_constructs23.Construct {
7815
7825
  targets: [
7816
7826
  new import_aws_events_targets6.SfnStateMachine(this.stateMachine, {
7817
7827
  retryAttempts: 2,
7818
- maxEventAge: import_aws_cdk_lib18.Duration.hours(2)
7828
+ maxEventAge: import_aws_cdk_lib19.Duration.hours(2)
7819
7829
  })
7820
7830
  ]
7821
7831
  });