# CloudTrailLogsFileSource

**Type**: `object`

## Properties

- name: accountIds (required)
  type: array of string
  description: The list of account IDs from which to read logs.

- name: fileReadingStrategy (optional)
  type: `FileReadingStrategy`

- name: format (optional)
  type: `JsonFileFormat`

- name: name (required)
  type: string

- name: pathPrefix (optional)
  type: string
  description: The s3 path under the provided bucket to monitor. Optional.In the case of CloudTrail logs, this is the path to the AWSLogs/ directory.

- name: regions (optional)
  type: array of enum: `US_EAST_1`, `US_EAST_2`, `US_WEST_1`, `US_WEST_2`, `AF_SOUTH_1`, `AP_EAST_1`, `AP_SOUTH_1`, `AP_SOUTH_2`, `AP_SOUTHEAST_1`, `AP_SOUTHEAST_2`, `AP_SOUTHEAST_3`, `AP_SOUTHEAST_4`, `AP_NORTHEAST_1`, `AP_NORTHEAST_2`, `AP_NORTHEAST_3`, `CA_CENTRAL_1`, `CN_NORTH_1`, `CN_NORTHWEST_1`, `EU_CENTRAL_1`, `EU_CENTRAL_2`, `EU_WEST_1`, `EU_WEST_2`, `EU_WEST_3`, `EU_NORTH_1`, `EU_SOUTH_1`, `EU_SOUTH_2`, `IL_CENTRAL_1`, `ME_CENTRAL_1`, `ME_SOUTH_1`, `SA_EAST_1`
  description: The list of regions from which to read logs from. If empty or null, reads logs from all regions.

- name: s3IntegrationId (required)
  type: string
  description: Integration ID for the S3 bucket where Grepr will be reading data. This corresponds to the 's3-data-warehouse' integration type.

- name: streamingPollInterval (optional)
  type: string
  description: The interval at which Grepr will check for new files in the S3 bucket. This is only applicable in streaming mode.

- name: type (required)
  type: enum: `cloudtrail-file-source`
  description: Reads logs from an S3 bucket at a CloudTrail path. Only reads logs in folders at or after the specified start time. The path prefix is optional.  Each record will need to be mapped to the Grepr data model before being usable.
