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

Return value

This method does not return any value.

Example

Request:

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

Response:

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