Skip to content

ContactChannel

Source: src/AWS/SSMContacts/ContactChannel.ts

An Incident Manager contact channel — the method (SMS, voice, or email) that Incident Manager uses to engage a contact during an incident.

Email channel without activation

const email = yield* SSMContacts.ContactChannel("Email", {
contactId: oncall.contactArn,
type: "EMAIL",
deliveryAddress: { SimpleAddress: "oncall@example.com" },
deferActivation: true,
});

SMS channel

const sms = yield* SSMContacts.ContactChannel("Sms", {
contactId: oncall.contactArn,
type: "SMS",
deliveryAddress: { SimpleAddress: "+15551234567" },
});