Module Values.AwsCloudTrailTrailDetailsSource

Provides details about a CloudTrail trail.

Sourcetype nonrec t = {
  1. cloudWatchLogsLogGroupArn : NonEmptyString.t option;
    (*

    The ARN of the log group that CloudTrail logs are delivered to.

    *)
  2. cloudWatchLogsRoleArn : NonEmptyString.t option;
    (*

    The ARN of the role that the CloudWatch Events endpoint assumes when it writes to the log group.

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

    Indicates whether the trail has custom event selectors.

    *)
  4. homeRegion : NonEmptyString.t option;
    (*

    The Region where the trail was created.

    *)
  5. includeGlobalServiceEvents : Boolean.t option;
    (*

    Indicates whether the trail publishes events from global services such as IAM to the log files.

    *)
  6. isMultiRegionTrail : Boolean.t option;
    (*

    Indicates whether the trail applies only to the current Region or to all Regions.

    *)
  7. isOrganizationTrail : Boolean.t option;
    (*

    Whether the trail is created for all accounts in an organization in Organizations, or only for the current Amazon Web Services account.

    *)
  8. kmsKeyId : NonEmptyString.t option;
    (*

    The KMS key ID to use to encrypt the logs.

    *)
  9. logFileValidationEnabled : Boolean.t option;
    (*

    Indicates whether CloudTrail log file validation is enabled.

    *)
  10. name : NonEmptyString.t option;
    (*

    The name of the trail.

    *)
  11. s3BucketName : NonEmptyString.t option;
    (*

    The name of the S3 bucket where the log files are published.

    *)
  12. s3KeyPrefix : NonEmptyString.t option;
    (*

    The S3 key prefix. The key prefix is added after the name of the S3 bucket where the log files are published.

    *)
  13. snsTopicArn : NonEmptyString.t option;
    (*

    The ARN of the SNS topic that is used for notifications of log file delivery.

    *)
  14. snsTopicName : NonEmptyString.t option;
    (*

    The name of the SNS topic that is used for notifications of log file delivery.

    *)
  15. trailArn : NonEmptyString.t option;
    (*

    The ARN of the trail.

    *)
}
Sourceval make : ?cloudWatchLogsLogGroupArn:??? -> ?cloudWatchLogsRoleArn:??? -> ?hasCustomEventSelectors:??? -> ?homeRegion:??? -> ?includeGlobalServiceEvents:??? -> ?isMultiRegionTrail:??? -> ?isOrganizationTrail:??? -> ?kmsKeyId:??? -> ?logFileValidationEnabled:??? -> ?name:??? -> ?s3BucketName:??? -> ?s3KeyPrefix:??? -> ?snsTopicArn:??? -> ?snsTopicName:??? -> ?trailArn:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `String of NonEmptyString.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