Skip to content

AlternateContact

Source: src/AWS/Account/AlternateContact.ts

An alternate contact for an AWS account. AWS accounts support one alternate contact for each of the BILLING, OPERATIONS, and SECURITY categories. These are account-global singletons: setting one overwrites any existing contact of the same type, and deleting removes it entirely.

Operations Contact

const contact = yield* AlternateContact("OpsContact", {
alternateContactType: "OPERATIONS",
name: "Ops Team",
title: "On-Call Engineer",
emailAddress: "ops@example.com",
phoneNumber: "+15555550123",
});

Billing Contact for an Organizations Member Account

const contact = yield* AlternateContact("BillingContact", {
alternateContactType: "BILLING",
name: "Finance",
title: "AP Clerk",
emailAddress: "ap@example.com",
phoneNumber: "+15555550124",
accountId: "123456789012",
});