Trail

public struct Trail : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • Specifies an Amazon Resource Name (ARN), a unique identifier that represents the log group to which CloudTrail logs will be delivered.

    Declaration

    Swift

    public let cloudWatchLogsLogGroupArn: String?
  • Specifies the role for the CloudWatch Logs endpoint to assume to write to a user’s log group.

    Declaration

    Swift

    public let cloudWatchLogsRoleArn: String?
  • Specifies if the trail has custom event selectors.

    Declaration

    Swift

    public let hasCustomEventSelectors: Bool?
  • Specifies whether a trail has insight types specified in an InsightSelector list.

    Declaration

    Swift

    public let hasInsightSelectors: Bool?
  • The region in which the trail was created.

    Declaration

    Swift

    public let homeRegion: String?
  • Set to True to include AWS API calls from AWS global services such as IAM. Otherwise, False.

    Declaration

    Swift

    public let includeGlobalServiceEvents: Bool?
  • Specifies whether the trail exists only in one region or exists in all regions.

    Declaration

    Swift

    public let isMultiRegionTrail: Bool?
  • Specifies whether the trail is an organization trail.

    Declaration

    Swift

    public let isOrganizationTrail: Bool?
  • 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 format: arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012

    Declaration

    Swift

    public let kmsKeyId: String?
  • Specifies whether log file validation is enabled.

    Declaration

    Swift

    public let logFileValidationEnabled: Bool?
  • Name of the trail set by calling CreateTrail. The maximum length is 128 characters.

    Declaration

    Swift

    public let name: String?
  • Name of the Amazon S3 bucket into which CloudTrail delivers your trail files. See Amazon S3 Bucket Naming Requirements.

    Declaration

    Swift

    public let s3BucketName: String?
  • 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 CloudTrail Log Files.The maximum length is 200 characters.

    Declaration

    Swift

    public let s3KeyPrefix: String?
  • Specifies the ARN of the Amazon SNS topic that CloudTrail uses to send notifications when log files are delivered. The format of a topic ARN is: arn:aws:sns:us-east-2:123456789012:MyTopic

    Declaration

    Swift

    public let snsTopicARN: String?
  • Specifies the ARN of the trail. The format of a trail ARN is: arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail

    Declaration

    Swift

    public let trailARN: String?
  • Undocumented

    Declaration

    Swift

    public init(cloudWatchLogsLogGroupArn: String? = nil, cloudWatchLogsRoleArn: String? = nil, hasCustomEventSelectors: Bool? = nil, hasInsightSelectors: Bool? = nil, homeRegion: String? = nil, includeGlobalServiceEvents: Bool? = nil, isMultiRegionTrail: Bool? = nil, isOrganizationTrail: Bool? = nil, kmsKeyId: String? = nil, logFileValidationEnabled: Bool? = nil, name: String? = nil, s3BucketName: String? = nil, s3KeyPrefix: String? = nil, snsTopicARN: String? = nil, trailARN: String? = nil)