Type-safe union of all valid AWS account names in the organization. Use this type to ensure compile-time validation of account name references.
function deployTo(account: AccountName) { const accountId = awsOrganizationAccounts[account]; // ...}deployTo('Production'); // ValiddeployTo('InvalidAccount'); // TypeScript error Copy
function deployTo(account: AccountName) { const accountId = awsOrganizationAccounts[account]; // ...}deployTo('Production'); // ValiddeployTo('InvalidAccount'); // TypeScript error
Type-safe union of all valid AWS account names in the organization. Use this type to ensure compile-time validation of account name references.