CreateTrailResponse

public struct CreateTrailResponse : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • Specifies the Amazon Resource Name (ARN) of 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 whether the trail is publishing events from global services such as IAM to the log files.

    Declaration

    Swift

    public let includeGlobalServiceEvents: Bool?
  • Specifies whether the trail exists in one region or 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 integrity validation is enabled.

    Declaration

    Swift

    public let logFileValidationEnabled: Bool?
  • Specifies the name of the trail.

    Declaration

    Swift

    public let name: String?
  • Specifies the name of the Amazon S3 bucket designated for publishing log files.

    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.

    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 that was created. 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, 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)