Amazon CloudTrail · Schema
CreateTrailRequest
CreateTrailRequest schema
CloudTrailAuditComplianceGovernanceSecurity
Properties
| Name | Type | Description |
|---|---|---|
| Name | string | The name of the trail. |
| S3BucketName | string | The name of the S3 bucket for log file delivery. |
| S3KeyPrefix | string | The S3 key prefix for log file delivery. |
| IsMultiRegionTrail | boolean | Whether the trail is created in all regions. |
| EnableLogFileValidation | boolean | Whether log file integrity validation is enabled. |
| CloudWatchLogsLogGroupArn | string | The ARN of the CloudWatch Logs log group. |
| CloudWatchLogsRoleArn | string | The role ARN for CloudWatch Logs delivery. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-cloudtrail/refs/heads/main/json-schema/cloudtrail-create-trail-request-schema.json",
"title": "CreateTrailRequest",
"description": "CreateTrailRequest schema",
"type": "object",
"properties": {
"Name": {
"type": "string",
"description": "The name of the trail."
},
"S3BucketName": {
"type": "string",
"description": "The name of the S3 bucket for log file delivery."
},
"S3KeyPrefix": {
"type": "string",
"description": "The S3 key prefix for log file delivery."
},
"IsMultiRegionTrail": {
"type": "boolean",
"description": "Whether the trail is created in all regions."
},
"EnableLogFileValidation": {
"type": "boolean",
"description": "Whether log file integrity validation is enabled."
},
"CloudWatchLogsLogGroupArn": {
"type": "string",
"description": "The ARN of the CloudWatch Logs log group."
},
"CloudWatchLogsRoleArn": {
"type": "string",
"description": "The role ARN for CloudWatch Logs delivery."
}
},
"required": [
"Name",
"S3BucketName"
]
}