Module Values.TrailPropertiesSource

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

Sourcetype nonrec t = {
  1. cloudTrailArn : CloudTrailArn.t option;
    (*

    Specifies the ARN of the trail. The format of a trail ARN is arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail.

    *)
  2. regions : RegionList.t option;
    (*

    A list of regions to get CloudTrail data from and analyze to generate a policy.

    *)
  3. allRegions : Boolean.t option;
    (*

    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.

    *)
}
Sourceval make : ?cloudTrailArn:??? -> ?regions:??? -> ?allRegions:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `List of [> `String of String_.t ] list | `String of CloudTrailArn.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t