This template creates a custom anomaly monitor with a linked account. The monitor is of type CUSTOM and the monitor specification includes the specified linked account.

CloudFormation Template