NAME

Paws::CloudTrail::Trail

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::CloudTrail::Trail object:

$service_obj->Method(Att1 => { CloudWatchLogsLogGroupArn => $value, ..., TrailARN => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::CloudTrail::Trail object:

$result = $service_obj->Method(...);
$result->Att1->CloudWatchLogsLogGroupArn

DESCRIPTION

The settings for a trail.

ATTRIBUTES

CloudWatchLogsLogGroupArn => Str

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

CloudWatchLogsRoleArn => Str

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

HasCustomEventSelectors => Bool

Specifies if the trail has custom event selectors.

HomeRegion => Str

The region in which the trail was created.

IncludeGlobalServiceEvents => Bool

Set to B<True> to include AWS API calls from AWS global services such
as IAM. Otherwise, B<False>.

IsMultiRegionTrail => Bool

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

KmsKeyId => Str

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-1:123456789012:key/12345678-1234-1234-1234-123456789012

LogFileValidationEnabled => Bool

Specifies whether log file validation is enabled.

Name => Str

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

S3BucketName => Str

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

S3KeyPrefix => Str

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 => Str

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-1:123456789012:MyTopic

SnsTopicName => Str

This field is deprecated. Use SnsTopicARN.

TrailARN => Str

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

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

SEE ALSO

This class forms part of Paws, describing an object used in Paws::CloudTrail

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues