Plan
Source:
src/AWS/SSMContacts/Plan.ts
The engagement plan of an Incident Manager contact — the staged sequence
of contact channels (for PERSONAL contacts), contacts (for ESCALATION
plans), or rotations (for ONCALL_SCHEDULE contacts) that Incident
Manager engages during an incident.
Manage a contact’s plan either inline via the plan prop on
SSMContacts.Contact or standalone with this resource — not both.
Deleting this resource resets the contact’s plan to empty.
Managing Engagement Plans
Section titled “Managing Engagement Plans”const plan = yield* SSMContacts.Plan("OncallPlan", { contactId: oncall.contactArn, stages: [ { DurationInMinutes: 5, Targets: [ { ChannelTargetInfo: { ContactChannelId: email.contactChannelArn, RetryIntervalInMinutes: 1, }, }, ], }, ],});