This template creates a CloudFormation stack-based resource group that can hold only EC2 instances or DynamoDB tables.

CloudFormation Template