Guided Walkthroughs
Step-by-step configuration wizards for your environment
Dedicated Security Account
AWS Backup Strategy
VPC Connectivity Setup
Automated Patching
All Guides
A config rule that checks that Internet gateways (IGWs) are only attached to an authorized Amazon Virtual Private Cloud (VPCs). The rule is NON_COMPLIANT if IGWs are not attached to an authorized VPC.
AWSTemplateFormatVersion: "2010-09-09"
Description: ""
Resources:
ConfigRule:
Type: "AWS::Config::ConfigRule"
Properties:
ConfigRuleName: "internet-gateway-authorized-vpc-only"
Scope:
ComplianceResourceTypes:
- "AWS::EC2::InternetGateway"
Description: "A config rule that checks that Internet gateways (IGWs) are only attached to an authorized Amazon Virtual Private Cloud (VPCs). The rule is NON_COMPLIANT if IGWs are not attached to an authorized VPC."
Source:
Owner: "AWS"
SourceIdentifier: "INTERNET_GATEWAY_AUTHORIZED_VPC_ONLY"
Parameters: {}
Metadata: {}
Conditions: {}