{ "$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 arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail." } ] }, "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 true or false. If set to true, IAM Access Analyzer retrieves CloudTrail data from all regions to analyze and generate a policy." } ] } }, "required": [ "cloudTrailArn" ] }