Rotation
Source:
src/AWS/SSMContacts/Rotation.ts
An Incident Manager on-call rotation — a recurring schedule that rotates
engagement duty between contacts. Attach rotations to an
ONCALL_SCHEDULE contact via its engagement plan’s RotationIds.
Creating Rotations
Section titled “Creating Rotations”const rotation = yield* SSMContacts.Rotation("Primary", { contactIds: [alice.contactArn, bob.contactArn], timeZoneId: "America/Los_Angeles", startTime: "2026-01-01T00:00:00Z", recurrence: { NumberOfOnCalls: 1, RecurrenceMultiplier: 1, DailySettings: [{ HourOfDay: 9, MinuteOfHour: 0 }], },});