StartEngagement
Source:
src/AWS/SSMContacts/StartEngagement.ts
Runtime binding for ssm-contacts:StartEngagement.
Page the bound contact (or run its escalation plan) — Incident Manager
works through the contact’s engagement plan, sending the subject and
content over each stage’s channels until the page is acknowledged. The
contact’s ARN is injected as ContactId.
Provide the implementation with
Effect.provide(AWS.SSMContacts.StartEngagementHttp).
Starting Engagements
Section titled “Starting Engagements”// init — bind the operation to the contactconst startEngagement = yield* AWS.SSMContacts.StartEngagement(oncall);
// runtime — page the contact when an alert firesconst { EngagementArn } = yield* startEngagement({ Sender: "alert-bot", Subject: "Database CPU at 95%", Content: "Primary DB is saturated - please investigate.",});