You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CloudTrail::Types::StartLoggingRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing StartLoggingRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  name: "String", # required
}

The request to CloudTrail to start logging AWS API calls for an account.

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

Specifies the name or the CloudTrail ARN of the trail for which CloudTrail logs AWS API calls. The format of a trail ARN is:

arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail

Returns:

  • (String)

    Specifies the name or the CloudTrail ARN of the trail for which CloudTrail logs AWS API calls.