ec2-security-group-attached-to-eni - AWS Config
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

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), 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.