Skip to main content

configureAmazonEC2IntegrationUsingCrossAccountRole

This method configures the Amazon EC2 integration using the provided Amazon Resource Name of a valid AWS Cross-Account Role.

For details regarding the integration steps, refer to this KB article.

Parameters

Parameter

Type

Optional

Description

crossAccountRoleArn

String

No

The Amazon Resource Name of a valid AWS Cross-Account Role.

companyId

String

Yes

The ID of the target company.

Default value: the ID of the company that the API key used to make the request belongs to.

integrationName

String

Yes

Enter a name to identify this specific integration.

Default value: the ID of the AWS account (awsAccountId).

Return value

This method always returns null.

Example

Request:

{
    "params": {
        "companyId": "55115935b1a43dcc4a7b23c6",
        "crossAccountRoleArn": "arn:aws:iam::111222345123:role/test",
        "integrationName": "integration1"
    },
    "jsonrpc": "2.0",
    "method": "configureAmazonEC2IntegrationUsingCrossAccountRole",
    "id": "5c6df60c-786a-4ea3-8ff3-b6e52b42aa46"
}

Response:

  {
      "id": "5c6df60c-786a-4ea3-8ff3-b6e52b42aa46",
      "jsonrpc": "2.0",
      "result": null
  }