TrailList

TrailList schema from AWS IAM Access Analyzer API

Access ControlComplianceIAMPolicy ManagementSecurity
View JSON Schema on GitHub

JSON Schema

iam-access-analyzer-trail-list-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-iam-access-analyzer/refs/heads/main/json-schema/iam-access-analyzer-trail-list-schema.json",
  "title": "TrailList",
  "description": "TrailList schema from AWS IAM Access Analyzer API",
  "type": "array",
  "items": {
    "type": "object",
    "required": [
      "cloudTrailArn"
    ],
    "properties": {
      "cloudTrailArn": {
        "allOf": [
          {
            "$ref": "#/components/schemas/CloudTrailArn"
          },
          {
            "description": "Specifies the ARN of the trail. The format of a trail ARN is <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>."
          }
        ]
      },
      "regions": {
        "allOf": [
          {
            "$ref": "#/components/schemas/RegionList"
          },
          {
            "description": "A list of regions to get CloudTrail data from and analyze to generate a policy."
          }
        ]
      },
      "allRegions": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Boolean"
          },
          {
            "description": "Possible values are <code>true</code> or <code>false</code>. If set to <code>true</code>, IAM Access Analyzer retrieves CloudTrail data from all regions to analyze and generate a policy."
          }
        ]
      }
    },
    "description": "Contains details about the CloudTrail trail being analyzed to generate a policy."
  }
}