ct

CloudTrail

ManagementAWS
General

General information about the service.

Description

AWS CloudTrail records AWS API calls for your account and delivers log files.

Service Namespace

AWS::CloudTrail::Trail

ARN Pattern

arn:aws:cloudtrail:{region}:{account}:trail/{trail-name}

References

Chat

Powered by AI

Talk to this service to learn more about it.

Suggested questions:

Naming

The conventions, rules, and restrictions for naming this service.

Naming Convention

ct-

Length

3-128

Valid Characters

Letters, numbers, hyphens, underscores, periods

Scope

region

Code

Deploy your infrastructure as code using your preferred tooling.

Official DocumentationTerraform
terraform
1resource "aws_cloudtrail" "main" {
2 name = "ct-${var.environment}"
3 s3_bucket_name = aws_s3_bucket.logs.id
4 include_global_service_events = true
5 is_multi_region_trail = true
6}
Utilities

Utilities to support app deployment or configuration.