Amazon EC2 security group
aws.ec2.securitygroup MQL resource for querying AWS infrastructure with cnquery and cnspec.
AWSPrivate Resource
Amazon EC2 security group
Min version: 5.15.0Defaults:
id name region vpc.idRelationships
11 resources · 21 relationships·Click to select, expand fields to see properties.
Fields (11)
| Field | Type | Description |
|---|---|---|
arnrequired | string | Security group ARN |
descriptionrequired | string | Description of the security group |
idrequired | string | Security group ID |
ippermissionprivate | aws.ec2.securitygroup.ippermission | Amazon EC2 security group IP permission |
ipPermissions | []aws.ec2.securitygroup.ippermission | IP permissions (ingress) for the security group |
ipPermissionsEgress | []aws.ec2.securitygroup.ippermission | IP permissions (egress) for the security group |
isAttachedToNetworkInterface | int | Whether the security group is attached to Amazon Elastic Compute Cloud |
namerequired | string | Name of the security group |
regionrequired | string | Region associated with the security group |
tagsrequired | map[string]string | A map of tags associated with the security group |
vpc | aws.vpc | VPC associated with the security group |