v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1437208153.9 KB

Describes the IAM role that enables Amazon Inspector to access your AWS account.

post/#X-Amz-Target=InspectorService.DescribeCrossAccountAccessRole

Headers

X-Amz-Target'InspectorService.DescribeCrossAccountAccessRole' required

Response

Success

roleArnstring required

The ARN that specifies the IAM role that Amazon Inspector uses to access your AWS account.

validboolean required

A Boolean value that specifies whether the IAM role has the necessary policies attached to enable Amazon Inspector to access your AWS account.

registeredAtstring date-time required

The date when the cross-account access role was registered.

Example response

{
  "registeredAt": "1458069182.826",
  "roleArn": "arn:aws:iam::123456789012:role/inspector",
  "valid": true
}