AWS SDK for .NET Documentation
CreateTrail Method (createTrailRequest)
AmazonAmazon.CloudTrailAmazonCloudTrailClientCreateTrail(CreateTrailRequest) Did this page help you?   Yes   No    Tell us about it...

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
public CreateTrailResponse CreateTrail(
	CreateTrailRequest createTrailRequest
createTrailRequest (CreateTrailRequest)
Container for the necessary parameters to execute the CreateTrail service method on AmazonCloudTrail.
Return Value
The response from the CreateTrail service method, as returned by AmazonCloudTrail.

Assembly: AWSSDK (Module: AWSSDK) Version: (