Amazon Inspector · Schema

Ec2InstanceAggregation

The details that define an aggregation based on Amazon EC2 instances.

ComplianceContainer SecurityEC2LambdaSecurityVulnerability Scanning

Properties

Name Type Description
amis object
instanceIds object
instanceTags object
operatingSystems object
sortBy object
sortOrder object
View JSON Schema on GitHub

JSON Schema

inspector-ec2-instance-aggregation-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-inspector/refs/heads/main/json-schema/inspector-ec2-instance-aggregation-schema.json",
  "title": "Ec2InstanceAggregation",
  "description": "The details that define an aggregation based on Amazon EC2 instances.",
  "type": "object",
  "properties": {
    "amis": {
      "allOf": [
        {
          "$ref": "#/components/schemas/StringFilterList"
        },
        {
          "description": "The AMI IDs associated with the Amazon EC2 instances to aggregate findings for."
        }
      ]
    },
    "instanceIds": {
      "allOf": [
        {
          "$ref": "#/components/schemas/StringFilterList"
        },
        {
          "description": "The Amazon EC2 instance IDs to aggregate findings for."
        }
      ]
    },
    "instanceTags": {
      "allOf": [
        {
          "$ref": "#/components/schemas/MapFilterList"
        },
        {
          "description": "The Amazon EC2 instance tags to aggregate findings for."
        }
      ]
    },
    "operatingSystems": {
      "allOf": [
        {
          "$ref": "#/components/schemas/StringFilterList"
        },
        {
          "description": "The operating system types to aggregate findings for. Valid values must be uppercase and underscore separated, examples are <code>ORACLE_LINUX_7</code> and <code>ALPINE_LINUX_3_8</code>."
        }
      ]
    },
    "sortBy": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Ec2InstanceSortBy"
        },
        {
          "description": "The value to sort results by."
        }
      ]
    },
    "sortOrder": {
      "allOf": [
        {
          "$ref": "#/components/schemas/SortOrder"
        },
        {
          "description": "The order to sort results by."
        }
      ]
    }
  }
}