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

CreateTrailResponse

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

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

interface CreateTrailResponse {
CloudWatchLogsLogGroupArn?: string | null;
CloudWatchLogsRoleArn?: 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 the Amazon Resource Name (ARN) of 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.

§
IncludeGlobalServiceEvents?: boolean | null
[src]

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

§
IsMultiRegionTrail?: boolean | null
[src]

Specifies whether the trail exists in one region or 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 integrity validation is enabled.

§
Name?: string | null
[src]

Specifies the name of the trail.

§
S3BucketName?: string | null
[src]

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

§
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.

§
SnsTopicARN?: string | null
[src]

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
§
SnsTopicName?: string | null
[src]

This field is no longer in use. Use SnsTopicARN.

§
TrailARN?: string | null
[src]

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