CreateTrail
In this article:
CreateTrail#
Description#
Creates a trail.
Request Parameters#
Name — The name of the trail.
Type: String
Required: Yes
Constraints: The name must meet the following requirements:
Length must be 3 to 128 characters
Only ASCII letters (a-z, A-Z), numbers, periods, dashes and underscores are allowed
Must begin and end with a letter or a number
Should not contain adjacent periods, dashes and underscores (e.g.
inv-_alid
,inv..alid
)Not to be similar to the IP address format (e.g.,
192.168.3.2
)
S3BucketName — Name of the object storage bucket for uploading and storing data. It there is no such bucket, it will be created automatically.
Type: String
Required: Yes
Response Elements#
Name — The name of the trail.
Type: String
S3BucketName — Name of the bucket in the object storage for uploading and storing data.
Type: String
Examples#
c2-ct CreateTrail Name <name> S3BucketName <s3-bucket-name>