Values.AwsCloudTrailTrailDetailsSourceProvides details about a CloudTrail trail.
type nonrec t = {cloudWatchLogsLogGroupArn : NonEmptyString.t option;The ARN of the log group that CloudTrail logs are delivered to.
*)cloudWatchLogsRoleArn : NonEmptyString.t option;The ARN of the role that the CloudWatch Events endpoint assumes when it writes to the log group.
*)hasCustomEventSelectors : Boolean.t option;Indicates whether the trail has custom event selectors.
*)homeRegion : NonEmptyString.t option;The Region where the trail was created.
*)includeGlobalServiceEvents : Boolean.t option;Indicates whether the trail publishes events from global services such as IAM to the log files.
*)isMultiRegionTrail : Boolean.t option;Indicates whether the trail applies only to the current Region or to all Regions.
*)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.
*)kmsKeyId : NonEmptyString.t option;The KMS key ID to use to encrypt the logs.
*)logFileValidationEnabled : Boolean.t option;Indicates whether CloudTrail log file validation is enabled.
*)name : NonEmptyString.t option;The name of the trail.
*)s3BucketName : NonEmptyString.t option;The name of the S3 bucket where the log files are published.
*)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.
*)snsTopicArn : NonEmptyString.t option;The ARN of the SNS topic that is used for notifications of log file delivery.
*)snsTopicName : NonEmptyString.t option;The name of the SNS topic that is used for notifications of log file delivery.
*)trailArn : NonEmptyString.t option;The ARN of the trail.
*)}val make :
?cloudWatchLogsLogGroupArn:??? ->
?cloudWatchLogsRoleArn:??? ->
?hasCustomEventSelectors:??? ->
?homeRegion:??? ->
?includeGlobalServiceEvents:??? ->
?isMultiRegionTrail:??? ->
?isOrganizationTrail:??? ->
?kmsKeyId:??? ->
?logFileValidationEnabled:??? ->
?name:??? ->
?s3BucketName:??? ->
?s3KeyPrefix:??? ->
?snsTopicArn:??? ->
?snsTopicName:??? ->
?trailArn:??? ->
unit ->
tval to_value :
t ->
[> `Structure of
(string * [> `Boolean of Boolean.t | `String of NonEmptyString.t ]) list ]