internet-gateway-authorized-vpc-only
Checks if internet gateways are attached to an authorized virtual private cloud (Amazon VPC). The rule is NON_COMPLIANT if internet gateways are attached to an unauthorized VPC.
Identifier: INTERNET_GATEWAY_AUTHORIZED_VPC_ONLY
Resource Types: AWS::EC2::InternetGateway
Trigger type: Configuration changes
Amazon Web Services Region: All supported Amazon regions except Asia Pacific (Jakarta), Asia Pacific (Hyderabad), Asia Pacific (Osaka), Asia Pacific (Malaysia), Canada West (Calgary), Europe (Spain) Region
Parameters:
- AuthorizedVpcIds (Optional)
- Type: String
-
Comma-separated list of the authorized VPC IDs with attached IGWs. If parameter is not provided all attached IGWs will be NON_COMPLIANT.
Amazon CloudFormation template
To create Amazon Config managed rules with Amazon CloudFormation templates, see Creating Amazon Config Managed Rules With Amazon CloudFormation Templates.