Trail
¶
Source code in docs_src/capo_cloudtrail/types/trail.py
cloud_watch_logs_log_group_arn
instance-attribute
¶
cloud_watch_logs_log_group_arn: NotRequired[String]
Specifies an Amazon Resource Name (ARN), a unique identifier that represents the log group to which CloudTrail logs will be delivered.
cloud_watch_logs_role_arn
instance-attribute
¶
cloud_watch_logs_role_arn: NotRequired[String]
Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group.
has_custom_event_selectors
instance-attribute
¶
has_custom_event_selectors: NotRequired[Boolean]
Specifies if the trail has custom event selectors.
has_insight_selectors
instance-attribute
¶
has_insight_selectors: NotRequired[Boolean]
Specifies whether a trail has insight types specified in an InsightSelector list.
home_region
instance-attribute
¶
home_region: NotRequired[String]
The Region in which the trail was created.
include_global_service_events
instance-attribute
¶
include_global_service_events: NotRequired[Boolean]
Set to True to include Amazon Web Services API calls from Amazon Web Services global services such as IAM. Otherwise, False. Setting this value to true only delivers global service events to the trail if the trail is multi-Region or if the trail's home Region is the partition leader Region (for example, us-east-1).
is_multi_region_trail
instance-attribute
¶
is_multi_region_trail: NotRequired[Boolean]
Specifies whether the trail exists only in one Region or exists in all Regions.
is_organization_trail
instance-attribute
¶
is_organization_trail: NotRequired[Boolean]
Specifies whether the trail is an organization trail.
kms_key_id
instance-attribute
¶
kms_key_id: NotRequired[String]
Specifies the KMS key ID that encrypts the logs and digest files 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
log_file_validation_enabled
instance-attribute
¶
log_file_validation_enabled: NotRequired[Boolean]
Specifies whether log file validation is enabled.
name
instance-attribute
¶
name: NotRequired[String]
Name of the trail set by calling CreateTrail. The maximum length is 128 characters.
recursive_logging
instance-attribute
¶
recursive_logging: NotRequired[Boolean]
Specifies whether recursive logging is enabled for the trail. If you set RecursiveLogging to false, CloudTrail suppresses events generated by CloudTrail when it delivers log files to your trail's destinations, including Amazon S3 and CloudWatch Logs. The default value is true.
s3_bucket_name
instance-attribute
¶
s3_bucket_name: NotRequired[String]
Name of the Amazon S3 bucket into which CloudTrail delivers your trail files. See Amazon S3 Bucket naming rules.
s3_key_prefix
instance-attribute
¶
s3_key_prefix: NotRequired[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. The maximum length is 200 characters.
sns_topic_arn
instance-attribute
¶
sns_topic_arn: NotRequired[String]
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