This template creates an AWS DMS replication subnet group. The subnet group must contain at least two subnets in two different Availability Zones in the same AWS Region.

CloudFormation Template