Builder

class Builder

Properties

Link copied to clipboard

Specifies the Amazon Resource Name (ARN) of the log group to which CloudTrail logs are delivered.

Link copied to clipboard

Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group.

Link copied to clipboard

Specifies whether the trail is publishing events from global services such as IAM to the log files.

Link copied to clipboard

Specifies whether the trail exists in one Region or in all Regions.

Link copied to clipboard

Specifies whether the trail is an organization trail.

Link copied to clipboard

Specifies the KMS key ID that encrypts the logs delivered by CloudTrail. The value is a fully specified ARN to a KMS key in the following format.

Link copied to clipboard

Specifies whether log file integrity validation is enabled.

Link copied to clipboard
var name: String?

Specifies the name of the trail.

Link copied to clipboard

Specifies the name of the Amazon S3 bucket designated for publishing log files.

Link copied to clipboard

Specifies the Amazon S3 key prefix that comes after the name of the bucket you have designated for log file delivery. For more information, see Finding Your IAM Log Files.

Link copied to clipboard

Specifies the ARN of the Amazon SNS topic that CloudTrail uses to send notifications when log files are delivered. The following is the format of a topic ARN.

Link copied to clipboard

This field is no longer in use. Use SnsTopicARN.

Link copied to clipboard

Specifies the ARN of the trail that was updated. The following is the format of a trail ARN.