Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Trail

import type { Trail } from "https://aws-api.deno.dev/v0.3/services/cloudtrail.ts?docs=full";

The settings for a trail.

interface Trail {
CloudWatchLogsLogGroupArn?: string | null;
CloudWatchLogsRoleArn?: string | null;
HasCustomEventSelectors?: boolean | null;
HasInsightSelectors?: boolean | null;
HomeRegion?: string | null;
IncludeGlobalServiceEvents?: boolean | null;
IsMultiRegionTrail?: boolean | null;
IsOrganizationTrail?: boolean | null;
KmsKeyId?: string | null;
LogFileValidationEnabled?: boolean | null;
Name?: string | null;
S3BucketName?: string | null;
S3KeyPrefix?: string | null;
SnsTopicARN?: string | null;
SnsTopicName?: string | null;
TrailARN?: string | null;
}

§Properties

§
CloudWatchLogsLogGroupArn?: string | null
[src]

Specifies an Amazon Resource Name (ARN), a unique identifier that represents the log group to which CloudTrail logs will be delivered.

§
CloudWatchLogsRoleArn?: string | null
[src]

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

§
HasCustomEventSelectors?: boolean | null
[src]

Specifies if the trail has custom event selectors.

§
HasInsightSelectors?: boolean | null
[src]

Specifies whether a trail has insight types specified in an InsightSelector list.

§
HomeRegion?: string | null
[src]

The region in which the trail was created.

§
IncludeGlobalServiceEvents?: boolean | null
[src]

Set to True to include Amazon Web Services API calls from Amazon Web Services global services such as IAM. Otherwise, False.

§
IsMultiRegionTrail?: boolean | null
[src]

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

§
IsOrganizationTrail?: boolean | null
[src]

Specifies whether the trail is an organization trail.

§
KmsKeyId?: string | null
[src]

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.

arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012
§
LogFileValidationEnabled?: boolean | null
[src]

Specifies whether log file validation is enabled.

§
Name?: string | null
[src]

Name of the trail set by calling "CreateTrail". The maximum length is 128 characters.

§
S3BucketName?: string | null
[src]

Name of the Amazon S3 bucket into which CloudTrail delivers your trail files. See Amazon S3 Bucket Naming Requirements.

§
S3KeyPrefix?: string | null
[src]

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.

§
SnsTopicARN?: string | null
[src]

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.

arn:aws:sns:us-east-2:123456789012:MyTopic
§
SnsTopicName?: string | null
[src]

This field is no longer in use. Use SnsTopicARN.

§
TrailARN?: string | null
[src]

Specifies the ARN of the trail. The following is the format of a trail ARN.

arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail