Amazon EC2
aws.ec2 MQL resource for querying AWS infrastructure with cnquery and cnspec.
AWS
Amazon EC2
Use MQL in cnspec shell or policy:
aws.ec2Min version: 5.15.0
Relationships
14 resources · 29 relationships·Click to select, expand fields to see properties.
Fields (22)
| Field | Type | Description |
|---|---|---|
ebsEncryptionByDefault | map[string]int | map[region]boolean used to denote if EBS encryption is on by default per region |
eipprivate | aws.ec2.eip | Amazon Elastic IP (EIP) |
eips | []aws.ec2.eip | List of Elastic IPs (EIPs) |
imageprivate | aws.ec2.image | Amazon EC2 image (AMI) |
instanceprivate | aws.ec2.instance | Amazon EC2 instance |
instances | []aws.ec2.instance | List of instances across the AWS account (all regions) |
internetgatewayprivate | aws.ec2.internetgateway | Amazon EC2 internet gateway |
internetGateways | []aws.ec2.internetgateway | List of internet gateways |
keypairprivate | aws.ec2.keypair | Amazon EC2 key pair |
keypairs | []aws.ec2.keypair | List of keypairs for the account |
networkaclprivate | aws.ec2.networkacl | Amazon EC2 network ACL |
networkAcls | []aws.ec2.networkacl | List of network ACLs |
networkinterfaceprivate | aws.ec2.networkinterface | AWS EC2 network interface |
securitygroupprivate | aws.ec2.securitygroup | Amazon EC2 security group |
securityGroups | []aws.ec2.securitygroup | List of security groups available to the account |
snapshotprivate | aws.ec2.snapshot | Amazon EC2 (EBS) snapshot |
snapshots | []aws.ec2.snapshot | List of snapshots across the account |
vgwtelemetryprivate | aws.ec2.vgwtelemetry | Amazon EC2 VPN tunnel telemetry |
volumeprivate | aws.ec2.volume | Amazon EC2 (EBS) volume |
volumes | []aws.ec2.volume | List of volumes across the AWS account |
vpnconnectionprivate | aws.ec2.vpnconnection | Amazon EC2 VPN connection |
vpnConnections | []aws.ec2.vpnconnection | List of VPN connections |