ReplicationSet
Source:
src/AWS/SSMIncidents/ReplicationSet.ts
The Incident Manager replication set — the account/region singleton that onboards AWS Systems Manager Incident Manager. Creating it replicates and encrypts Incident Manager data (response plans, incidents, contacts) to the configured Regions; deleting it offboards Incident Manager and removes all Incident Manager data account-wide.
Only one replication set can exist per account, so this is a
capture-and-restore singleton: adopting a pre-existing replication set that
Alchemy did not create requires --adopt.
Onboarding Incident Manager
Section titled “Onboarding Incident Manager”Replication set in the current Region
const replicationSet = yield* SSMIncidents.ReplicationSet("Incidents", {});Multi-Region replication with a KMS key
const replicationSet = yield* SSMIncidents.ReplicationSet("Incidents", { regions: { "us-east-1": {}, "us-west-2": { sseKmsKeyId: key.keyArn }, }, deletionProtected: true,});