Class: Aws::CloudTrail::Types::GetTrailStatusRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cloudtrail/types.rb

Overview

The name of a trail about which you want the current status.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

Specifies the name or the CloudTrail ARN of the trail for which you are requesting status. To get the status of a shadow trail (a replication of the trail in another Region), you must specify its ARN.

The following is the format of a trail ARN: ‘arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail`

<note markdown=“1”> If the trail is an organization trail and you are a member account in the organization in Organizations, you must provide the full ARN of that trail, and not just the name.

</note>

Returns:

  • (String)


2511
2512
2513
2514
2515
# File 'lib/aws-sdk-cloudtrail/types.rb', line 2511

class GetTrailStatusRequest < Struct.new(
  :name)
  SENSITIVE = []
  include Aws::Structure
end