AWS SDK for .NET Documentation
CreateTrailRequest Class
AmazonAmazon.CloudTrail.ModelCreateTrailRequest Did this page help you?   Yes   No    Tell us about it...
Container for the parameters to the CreateTrail operation.

From the command line, use create-subscription.

Creates a trail that specifies the settings for delivery of log data to an Amazon S3 bucket. The request includes a Trail structure that specifies the following:

Declaration Syntax
C#
public class CreateTrailRequest : AmazonWebServiceRequest
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
CreateTrailRequest()()()()
Initializes a new instance of the CreateTrailRequest class

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
IncludeGlobalServiceEvents
Name
S3BucketName
S3KeyPrefix
SnsTopicName
ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
Trail Obsolete.
Contains the Trail structure that specifies the settings for each trail.

WithIncludeGlobalServiceEvents(Boolean) Obsolete.
Sets the IncludeGlobalServiceEvents property

WithName(String) Obsolete.
Sets the Name property

WithS3BucketName(String) Obsolete.
Sets the S3BucketName property

WithS3KeyPrefix(String) Obsolete.
Sets the S3KeyPrefix property

WithSnsTopicName(String) Obsolete.
Sets the SnsTopicName property

WithTrail(Trail) Obsolete.
Sets the Trail property

Inheritance Hierarchy
Object
AmazonWebServiceRequest
 CreateTrailRequest
See Also

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)