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 |
---|---|---|---|
| String | No | The Amazon Resource Name of a valid AWS Cross-Account Role. |
| String | Yes | Enter a name to identify this specific integration. Default value: the ID of the AWS account ( |
Return value
This method always returns null
.
Example
Request:
{ "params": { "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 }