ec2-security-group-attached-to-eni - AWS Config

ec2-security-group-attached-to-eni

Checks that non-default security groups are attached to Amazon Elastic Compute Cloud (EC2) instances or an elastic network interfaces (ENIs). The rule returns NON_COMPLIANT if the security group is not associated with an EC2 instance or an ENI.

Identifier: EC2_SECURITY_GROUP_ATTACHED_TO_ENI

Resource Types: AWS::EC2::SecurityGroup

Trigger type: Configuration changes

AWS Region: All supported AWS regions except Middle East (UAE), Asia Pacific (Taipei), Canada West (Calgary) Region

Parameters:

None

AWS CloudFormation template

To create AWS Config managed rules with AWS CloudFormation templates, see Creating AWS Config Managed Rules With AWS CloudFormation Templates.