---
updatedAt: 2025-09-16T00:31:26.000Z
agentTools:
  projectIndex: https://docs.cgn.portal.checkpoint.com/llms.txt
---

# Get

Fetch all AWS EC2 instances for the user from all cloud accounts.

# OpenAPI definition

```json
{
  "info": {
    "title": "Inventory - AWS Compute and Containers",
    "version": "v2"
  },
  "openapi": "3.0.0",
  "servers": [
    {
      "url": "https://api.dome9.com/",
      "description": "US region"
    },
    {
      "url": "https://api.{region}.dome9.com/",
      "description": "Other regions",
      "variables": {
        "region": {
          "enum": [
            "eu1",
            "ap1",
            "ap2",
            "ap3",
            "cace1"
          ],
          "default": "eu1"
        }
      }
    }
  ],
  "paths": {
    "/v2/CloudInstance": {
      "get": {
        "tags": [
          "Cloud Instance"
        ],
        "summary": "Get",
        "operationId": "CloudInstance_Get_get_/v2/CloudInstance",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Dome9.Web.Api.Models.CloudInstanceViewModel"
                  }
                }
              }
            }
          }
        },
        "description": "Fetch all AWS EC2 instances for the user from all cloud accounts."
      }
    }
  },
  "components": {
    "schemas": {
      "Dome9.Web.Api.CloudAmi.CloudEc2TagViewModel": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        }
      },
      "Dome9.Web.Api.Models.CloudInstanceViewModel": {
        "type": "object",
        "properties": {
          "externalId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "region": {
            "enum": [
              "us_east_1",
              "us_west_1",
              "eu_west_1",
              "ap_southeast_1",
              "ap_northeast_1",
              "us_west_2",
              "sa_east_1",
              "az_1_region_a_geo_1",
              "az_2_region_a_geo_1",
              "az_3_region_a_geo_1",
              "ap_southeast_2",
              "mellanox_region",
              "us_gov_west_1",
              "eu_central_1",
              "ap_northeast_2",
              "ap_south_1",
              "us_east_2",
              "ca_central_1",
              "eu_west_2",
              "eu_west_3",
              "eu_north_1",
              "cn_north_1",
              "cn_northwest_1",
              "us_gov_east_1",
              "ap_east_1",
              "me_south_1",
              "af_south_1",
              "eu_south_1",
              "ap_northeast_3",
              "me_central_1",
              "ap_south_2",
              "ap_southeast_3",
              "ap_southeast_4",
              "eu_central_2",
              "eu_south_2",
              "il_central_1",
              "ca_west_1",
              "mx_central_1",
              "ap_southeast_5",
              "ap_southeast_7",
              "westus",
              "eastus",
              "eastus2",
              "northcentralus",
              "westus2",
              "southcentralus",
              "centralus",
              "usgovlowa",
              "usgovvirginia",
              "northeurope",
              "westeurope",
              "eastasia",
              "southeastasia",
              "japaneast",
              "japanwest",
              "brazilsouth",
              "australiaeast",
              "australiasoutheast",
              "centralindia",
              "southindia",
              "westindia",
              "canadaeast",
              "westcentralus",
              "chinaeast",
              "chinanorth",
              "canadacentral",
              "germanycentral",
              "germanynortheast",
              "koreacentral",
              "uksouth",
              "ukwest",
              "koreasouth",
              "francecentral",
              "francesouth",
              "germanywestcentral",
              "usdodcentral",
              "usdodeast",
              "usgovarizona",
              "usgovtexas",
              "australiacentral",
              "australiacentral2",
              "chinaeast2",
              "chinanorth2",
              "southafricanorth",
              "southafricawest",
              "uaecentral",
              "uaenorth",
              "ussecwest",
              "usseceast",
              "germanynorth",
              "switzerlandwest",
              "norwaywest",
              "norwayeast",
              "switzerlandnorth",
              "westus3",
              "swedencentral",
              "chinanorth3",
              "brazilsoutheast",
              "eastus2euap",
              "jioindiawest",
              "jioindiacentral",
              "qatarcentral",
              "spaincentral",
              "italynorth",
              "polandcentral",
              "mexicocentral",
              "asia",
              "asia_east1",
              "asia_northeast1",
              "asia_south1",
              "asia_southeast1",
              "australia_southeast1",
              "europe",
              "europe_north1",
              "europe_west1",
              "europe_west2",
              "europe_west3",
              "europe_west4",
              "northamerica_northeast1",
              "southamerica_east1",
              "us",
              "us_central1",
              "us_east1",
              "us_east4",
              "us_west1",
              "us_west2",
              "global",
              "asia_east2",
              "eur4",
              "nam4",
              "europe_west6",
              "japan_west",
              "asia_northeast2",
              "asia_northeast3",
              "us_west3",
              "us_west4",
              "asia_southeast2",
              "nam3",
              "nam5",
              "nam6",
              "nam7",
              "nam10",
              "nam_eur_asia1",
              "eur3",
              "eur5",
              "asia1",
              "nam11",
              "eu",
              "northamerica_northeast2",
              "southamerica_west1",
              "us_east5",
              "us_south1",
              "europe_central2",
              "europe_southwest1",
              "europe_west8",
              "europe_west9",
              "europe_west10",
              "europe_west12",
              "asia_south2",
              "australia_southeast2",
              "me_central1",
              "me_central2",
              "me_west1",
              "ap_sydney_1",
              "ap_melbourne_1",
              "sa_saopaulo_1",
              "sa_vinhedo_1",
              "ca_montreal_1",
              "ca_toronto_1",
              "sa_santiago_1",
              "eu_paris_1",
              "eu_marseille_1",
              "eu_frankfurt_1",
              "ap_hyderabad_1",
              "ap_mumbai_1",
              "il_jerusalem_1",
              "eu_milan_1",
              "ap_osaka_1",
              "ap_tokyo_1",
              "mx_queretaro_1",
              "eu_amsterdam_1",
              "me_jeddah_1",
              "ap_singapore_1",
              "af_johannesburg_1",
              "ap_seoul_1",
              "ap_chuncheon_1",
              "eu_madrid_1",
              "eu_stockholm_1",
              "eu_zurich_1",
              "me_abudhabi_1",
              "me_dubai_1",
              "uk_london_1",
              "uk_cardiff_1",
              "us_ashburn_1",
              "us_phoenix_1",
              "us_sanjose_1",
              "us_gov_ashburn_1",
              "us_gov_chicago_1",
              "us_gov_phoenix_1",
              "us_langley_1",
              "us_luke_1",
              "uk_gov_london_1",
              "uk_gov_cardiff_1",
              "sa_bogota_1",
              "us_chicago_1",
              "sa_valparaiso_1",
              "mx_monterrey_1",
              "eu_jovanovac_1",
              "ap_singapore_2"
            ],
            "type": "string"
          },
          "vpc": {
            "type": "string"
          },
          "cloudAccountId": {
            "format": "uuid",
            "type": "string",
            "example": "00000000-0000-0000-0000-000000000000"
          },
          "isRunning": {
            "type": "boolean"
          },
          "instanceType": {
            "type": "string"
          },
          "publicDnsName": {
            "type": "string"
          },
          "nics": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Dome9.Web.Api.Models.CloudInstanceNicViewModel"
            }
          },
          "tags": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "accountId": {
            "format": "int64",
            "type": "integer"
          },
          "image": {
            "type": "string"
          },
          "kernelId": {
            "type": "string"
          },
          "launchTime": {
            "format": "date-time",
            "type": "string"
          },
          "platform": {
            "type": "string"
          },
          "profileArn": {
            "type": "string"
          },
          "roleArns": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "isBillable": {
            "type": "boolean"
          },
          "ssmAgentInstanceInformation": {
            "$ref": "#/components/schemas/Dome9.Web.Api.Models.CloudSsmInstanceInformationViewModel"
          },
          "metadataOptions": {
            "$ref": "#/components/schemas/Dome9.Web.Api.Models.CloudInstanceMetadataOptionsViewModel"
          },
          "imageDetails": {
            "$ref": "#/components/schemas/Dome9.Web.Api.Models.CloudInstanceImageDetailsViewModel"
          },
          "ssmInstancePatchState": {
            "$ref": "#/components/schemas/Dome9.Web.Api.Models.AwsSsmInstancePatchStateViewModel"
          }
        }
      },
      "Dome9.Web.Api.Models.CloudInstanceNicViewModel": {
        "type": "object",
        "properties": {
          "publicIpAddress": {
            "type": "string"
          },
          "privateIpAddress": {
            "type": "string"
          },
          "securityGroupIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "privateDnsName": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "externalId": {
            "type": "string"
          },
          "subnetId": {
            "type": "string"
          },
          "macAddress": {
            "type": "string"
          }
        }
      },
      "Dome9.Web.Api.Models.CloudSsmInstanceInformationViewModel": {
        "type": "object",
        "properties": {
          "activationId": {
            "type": "string"
          },
          "agentVersion": {
            "type": "string"
          },
          "associationOverview": {
            "$ref": "#/components/schemas/Dome9.Web.Api.Models.AwsSsmInstanceInformationAssociationOverviewViewModel"
          },
          "associationStatus": {
            "type": "string"
          },
          "computerName": {
            "type": "string"
          },
          "iamRole": {
            "type": "string"
          },
          "instanceId": {
            "type": "string"
          },
          "ipAddress": {
            "type": "string"
          },
          "isLatestVersion": {
            "type": "boolean"
          },
          "lastAssociationExecutionDate": {
            "format": "int64",
            "type": "integer"
          },
          "lastSuccessfulAssociationExecutionDate": {
            "format": "int64",
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "pingStatus": {
            "type": "string"
          },
          "platformName": {
            "type": "string"
          },
          "platformType": {
            "type": "string"
          },
          "platformVersion": {
            "type": "string"
          },
          "registrationDate": {
            "format": "int64",
            "type": "integer"
          },
          "resourceType": {
            "type": "string"
          }
        }
      },
      "Dome9.Web.Api.Models.CloudInstanceMetadataOptionsViewModel": {
        "type": "object",
        "properties": {
          "httpEndpoint": {
            "type": "string"
          },
          "httpPutResponseHopLimit": {
            "format": "int32",
            "type": "integer"
          },
          "httpTokens": {
            "type": "string"
          },
          "state": {
            "type": "string"
          }
        }
      },
      "Dome9.Web.Api.Models.CloudInstanceImageDetailsViewModel": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "ownerId": {
            "type": "string"
          },
          "imageLocation": {
            "type": "string"
          },
          "isPublic": {
            "type": "boolean"
          },
          "state": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "creationDate": {
            "type": "string"
          },
          "hypervisor": {
            "type": "string"
          },
          "platform": {
            "type": "string"
          },
          "architecture": {
            "type": "string"
          },
          "rootDeviceName": {
            "type": "string"
          },
          "rootDeviceType": {
            "type": "string"
          },
          "virtualizationType": {
            "type": "string"
          },
          "ramdiskId": {
            "type": "string"
          },
          "imageOwnerAlias": {
            "type": "string"
          },
          "imageType": {
            "type": "string"
          },
          "kernelId": {
            "type": "string"
          },
          "productCodes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Dome9.Web.Api.Models.AwsEc2ProductCodeViewModel"
            }
          },
          "enaSupport": {
            "type": "boolean"
          },
          "sriovNetSupport": {
            "type": "string"
          },
          "stateReason": {
            "$ref": "#/components/schemas/Dome9.Web.Api.Models.AwsEc2StateReasonViewModel"
          },
          "tags": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Dome9.Web.Api.CloudAmi.CloudEc2TagViewModel"
            }
          }
        }
      },
      "Dome9.Web.Api.Models.AwsSsmInstancePatchStateViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "patchGroup": {
            "type": "string"
          },
          "baselineId": {
            "type": "string"
          },
          "installedCount": {
            "format": "int32",
            "type": "integer"
          },
          "missingCount": {
            "format": "int32",
            "type": "integer"
          },
          "failedCount": {
            "format": "int32",
            "type": "integer"
          },
          "installedOtherCount": {
            "format": "int32",
            "type": "integer"
          },
          "notApplicableCount": {
            "format": "int32",
            "type": "integer"
          },
          "securityNonCompliantCount": {
            "format": "int32",
            "type": "integer"
          },
          "unreportedNotApplicableCount": {
            "format": "int32",
            "type": "integer"
          }
        }
      },
      "Dome9.Web.Api.Models.AwsSsmInstanceInformationAssociationOverviewViewModel": {
        "type": "object",
        "properties": {
          "detailedStatus": {
            "type": "string"
          },
          "instanceAssociationStatusAggregatedCount": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Dome9.Web.Api.Models.AwsSsmInstanceAssociationStatusAggregatedCountViewModel"
            }
          }
        }
      },
      "Dome9.Web.Api.Models.AwsEc2ProductCodeViewModel": {
        "type": "object",
        "properties": {
          "productCodeId": {
            "type": "string"
          },
          "productCodeType": {
            "type": "string"
          }
        }
      },
      "Dome9.Web.Api.Models.AwsEc2StateReasonViewModel": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        }
      },
      "Dome9.Web.Api.Models.AwsSsmInstanceAssociationStatusAggregatedCountViewModel": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "value": {
            "format": "int32",
            "type": "integer"
          }
        }
      }
    },
    "securitySchemes": {
      "basic": {
        "type": "http",
        "scheme": "basic"
      }
    }
  },
  "security": [
    {
      "basic": []
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```