Skip to content

Get Trail

cloudtrail_get_trail R Documentation

Returns settings information for a specified trail

Description

Returns settings information for a specified trail.

Usage

cloudtrail_get_trail(Name)

Arguments

Name

[required] The name or the Amazon Resource Name (ARN) of the trail for which you want to retrieve settings information.

Value

A list with the following syntax:

list(
  Trail = list(
    Name = "string",
    S3BucketName = "string",
    S3KeyPrefix = "string",
    SnsTopicName = "string",
    SnsTopicARN = "string",
    IncludeGlobalServiceEvents = TRUE|FALSE,
    IsMultiRegionTrail = TRUE|FALSE,
    HomeRegion = "string",
    TrailARN = "string",
    LogFileValidationEnabled = TRUE|FALSE,
    CloudWatchLogsLogGroupArn = "string",
    CloudWatchLogsRoleArn = "string",
    KmsKeyId = "string",
    HasCustomEventSelectors = TRUE|FALSE,
    HasInsightSelectors = TRUE|FALSE,
    IsOrganizationTrail = TRUE|FALSE
  )
)

Request syntax

svc$get_trail(
  Name = "string"
)