TrailProperties

Contains details about the CloudTrail trail being analyzed to generate a policy.

Access ControlComplianceIAMPolicy ManagementSecurity

Properties

Name Type Description
cloudTrailArn object
regions object
allRegions object
View JSON Schema on GitHub

JSON Schema

iam-access-analyzer-trail-properties-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-properties-schema.json",
  "title": "TrailProperties",
  "description": "Contains details about the CloudTrail trail being analyzed to generate a policy.",
  "type": "object",
  "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."
        }
      ]
    }
  },
  "required": [
    "cloudTrailArn"
  ]
}