import * as __aws_sdk_types from "@aws-sdk/types"; /** *

Returns the objects or data listed below if successful. Otherwise, returns an error.

*/ export interface CreateTrailOutput extends __aws_sdk_types.MetadataBearer { /** *

Specifies the name of the trail.

*/ Name?: string; /** *

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

*/ 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.

*/ S3KeyPrefix?: string; /** *

This field is deprecated. Use SnsTopicARN.

*/ SnsTopicName?: 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

*/ SnsTopicARN?: string; /** *

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

*/ IncludeGlobalServiceEvents?: boolean; /** *

Specifies whether the trail exists in one region or in all regions.

*/ IsMultiRegionTrail?: boolean; /** *

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

*/ TrailARN?: string; /** *

Specifies whether log file integrity validation is enabled.

*/ LogFileValidationEnabled?: boolean; /** *

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

*/ CloudWatchLogsLogGroupArn?: string; /** *

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

*/ CloudWatchLogsRoleArn?: string; /** *

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

*/ KmsKeyId?: string; /** *

Specifies whether the trail is an organization trail.

*/ IsOrganizationTrail?: boolean; /** * Metadata about the response received, including the HTTP status code, HTTP headers, and any request identifiers recognized by the SDK. */ $metadata: __aws_sdk_types.ResponseMetadata; }