Interface: MigrationPlannedEvent
Defined in: packages/depot-cdk/src/stage-depot-migration-types.ts:68
Informative or command event sent over EventBridge as a new version of a dataset is registered.
It is important look at the executionResponsibility field to determine whether action is required from the receiver.
Extends
MigrationEventBase
Properties
datasetAlias
readonlydatasetAlias:string
Defined in: packages/depot-cdk/src/stage-depot-migration-types.ts:13
The dataset name (alias) this event relates to
Inherited from
MigrationEventBase.datasetAlias
datasetId
readonlydatasetId:string
Defined in: packages/depot-cdk/src/stage-depot-migration-types.ts:9
The dataset id this event relates to
Inherited from
MigrationEventBase.datasetId
datasetVersionHash
readonlydatasetVersionHash:string
Defined in: packages/depot-cdk/src/stage-depot-migration-types.ts:80
A hash representing the version of the dataset being migrated to.
environmentId
readonlyenvironmentId:string
Defined in: packages/depot-cdk/src/stage-depot-migration-types.ts:5
The environment id this event relates to
Inherited from
MigrationEventBase.environmentId
environmentUri
readonlyenvironmentUri:string
Defined in: packages/depot-cdk/src/stage-depot-migration-types.ts:17
The environment uri (version) of the dataset infrastructure deployment.
Inherited from
MigrationEventBase.environmentUri
executionResponsibility
readonlyexecutionResponsibility:ResponsibleParty
Defined in: packages/depot-cdk/src/stage-depot-migration-types.ts:112
Which party is responsible for executing the migration plan. One of
- [ResponsibleParty.MIGRATIONS\_DISABLED](../enumerations/ResponsibleParty.md#migrations_disabled) - migrations are disabled for this dataset.
- [ResponsibleParty.EXECUTED\_BY\_SENDER](../enumerations/ResponsibleParty.md#executed_by_sender) - Depot has already executed the migration plan synchronously.
- [ResponsibleParty.TO\_BE\_EXECUTED\_BY\_RECEIVER](../enumerations/ResponsibleParty.md#to_be_executed_by_receiver) - Depot has not or not yet executed the migration plan synchronously.
migrationId
readonlymigrationId:string
Defined in: packages/depot-cdk/src/stage-depot-migration-types.ts:98
The id of the migration plan, typically a UUID.
migrationPlanBucket
readonlymigrationPlanBucket:string
Defined in: packages/depot-cdk/src/stage-depot-migration-types.ts:89
The name of the S3 bucket in which the migration plan has been recorded.
migrationPlanKey
readonlymigrationPlanKey:string
Defined in: packages/depot-cdk/src/stage-depot-migration-types.ts:94
The key of the S3 object in which the migration plan has been recorded, as a JSON document conforming to MigrationPlan.
oldDatasetVersionHash
readonlyoldDatasetVersionHash:string
Defined in: packages/depot-cdk/src/stage-depot-migration-types.ts:84
A hash representing the version of the dataset being migrated from.
oldEnvironmentUri
readonlyoldEnvironmentUri:string
Defined in: packages/depot-cdk/src/stage-depot-migration-types.ts:76
The "old" environment uri (version) of the dataset infrastructure deployment.
Note that whilst Depot has traditionally updated the environmentUri on each dataset update, this may no longer be true in the future (May 2025).
summary
readonlysummary:MigrationPlanSummary
Defined in: packages/depot-cdk/src/stage-depot-migration-types.ts:102
A high level view of what the migration plan contains. Some migration plans are actually no-operations
type
readonlytype:"planned"
Defined in: packages/depot-cdk/src/stage-depot-migration-types.ts:69