Skip to content

Get Event Configuration

cloudtrail_get_event_configuration R Documentation

Retrieves the current event configuration settings for the specified event data store or trail

Description

Retrieves the current event configuration settings for the specified event data store or trail. The response includes maximum event size configuration, the context key selectors configured for the event data store, and any aggregation settings configured for the trail.

Usage

cloudtrail_get_event_configuration(TrailName, EventDataStore)

Arguments

TrailName

The name of the trail for which you want to retrieve event configuration settings.

EventDataStore

The Amazon Resource Name (ARN) or ID suffix of the ARN of the event data store for which you want to retrieve event configuration settings.

Value

A list with the following syntax:

list(
  TrailARN = "string",
  EventDataStoreArn = "string",
  MaxEventSize = "Standard"|"Large",
  ContextKeySelectors = list(
    list(
      Type = "TagContext"|"RequestContext",
      Equals = list(
        "string"
      )
    )
  ),
  AggregationConfigurations = list(
    list(
      Templates = list(
        "API_ACTIVITY"|"RESOURCE_ACCESS"|"USER_ACTIONS"
      ),
      EventCategory = "Data"
    )
  )
)

Request syntax

svc$get_event_configuration(
  TrailName = "string",
  EventDataStore = "string"
)