Page tree

Overview

This topic only applies to Armor Anywhere users.

The Get Cloud Connections API returns detailed information about a specified cloud connection.

You can use POST Cloud Connections API to find the connectionsId (id).



Sample request

GET https://api.armor.com/cloud-connections/2

Input

The following table describes the different parts of this API call: 

API Call / URLMethod / Type
/cloud-connections/{connectionId}
GET

The following table describes the parameter (or parameters) for this API call:

ParameterDescriptionFormatRequired or optionalExample
connectionId

The ID of the cloud connection

IntegerRequired2

Sample return

StatusResponse
200
{
  "connectionName": "AWS(Development)",
  "description": "For Search",
  "providerAccountId": "345186984524",
  "armorAwsAccountId": "679703615338",
  "externalId": "b364a1a3-19fe-4c74-80ec-848f4ee125df",
  "providerAccessResource": "arn:aws:iam::d345186984524:role/armor_audit",
  "providerTypeName": "AWS",
  "accountConnectionId": 1,
  "serviceTypeName": "CloudTrail Log Ingestion",
  "accountId": 2
}
400
Bad Request