Checks if your EC2 instances belong to a virtual private cloud (VPC). Optionally, you can specify the VPC ID to associate with your instances.

This config rule supports the following parameters:

  • vpcId
    • Required: No
    • Type: String
    • Description:VPC ID that contains these EC2 instances.

CloudFormation Template