Mondoo Docs

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.ec2
Min version: 5.15.0

Relationships

Mini Map
AWS
14 resources · 29 relationshipsClick to select, expand fields to see properties.

Fields (22)

FieldTypeDescription
ebsEncryptionByDefault
map[string]intmap[region]boolean used to denote if EBS encryption is on by default per region
eipprivate
aws.ec2.eipAmazon Elastic IP (EIP)
eips
[]aws.ec2.eipList of Elastic IPs (EIPs)
imageprivate
aws.ec2.imageAmazon EC2 image (AMI)
instanceprivate
aws.ec2.instanceAmazon EC2 instance
instances
[]aws.ec2.instanceList of instances across the AWS account (all regions)
internetgatewayprivate
aws.ec2.internetgatewayAmazon EC2 internet gateway
internetGateways
[]aws.ec2.internetgatewayList of internet gateways
keypairprivate
aws.ec2.keypairAmazon EC2 key pair
keypairs
[]aws.ec2.keypairList of keypairs for the account
networkaclprivate
aws.ec2.networkaclAmazon EC2 network ACL
networkAcls
[]aws.ec2.networkaclList of network ACLs
networkinterfaceprivate
aws.ec2.networkinterfaceAWS EC2 network interface
securitygroupprivate
aws.ec2.securitygroupAmazon EC2 security group
securityGroups
[]aws.ec2.securitygroupList of security groups available to the account
snapshotprivate
aws.ec2.snapshotAmazon EC2 (EBS) snapshot
snapshots
[]aws.ec2.snapshotList of snapshots across the account
vgwtelemetryprivate
aws.ec2.vgwtelemetryAmazon EC2 VPN tunnel telemetry
volumeprivate
aws.ec2.volumeAmazon EC2 (EBS) volume
volumes
[]aws.ec2.volumeList of volumes across the AWS account
vpnconnectionprivate
aws.ec2.vpnconnectionAmazon EC2 VPN connection
vpnConnections
[]aws.ec2.vpnconnectionList of VPN connections