Amazon Inspector · JSON Structure

Inspector Ec2 Instance Aggregation Structure

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

Type: object Properties: 6
ComplianceContainer SecurityEC2LambdaSecurityVulnerability Scanning

Ec2InstanceAggregation is a JSON Structure definition published by Amazon Inspector, describing 6 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

amis instanceIds instanceTags operatingSystems sortBy sortOrder

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-inspector/refs/heads/main/json-structure/inspector-ec2-instance-aggregation-structure.json",
  "name": "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."
        }
      ]
    }
  }
}