{ "$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 ORACLE_LINUX_7 and ALPINE_LINUX_3_8." } ] }, "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." } ] } } }