Fugue.Core.AWS.CloudTrail

Module Members

DataResource

(Type)

type DataResource:
  | S3DataResource
      bucket: Bucket
      keyPrefix: Optional<String>
  | S3ArnDataResource String
  | LambdaDataResource
      function: Function
  | LambdaArnDataResource String

LambdaArnDataResource

(Constructor)

Argument:
Ludwig.String

LambdaDataResource

(Constructor)

Argument:

Record {

Field: function
Type: Function

}

S3ArnDataResource

(Constructor)

Argument:
Ludwig.String

S3DataResource

(Constructor)

Argument:

Record {

Field: bucket
Type: Bucket
Field: keyPrefix
Type: Optional<String>

}

EventSelector

(Type)

type EventSelector:
  | EventSelector
      readWriteType: ReadWriteType
      includeManagementEvents: Bool
      dataResources: Optional<List<DataResource>>

EventSelector

(Constructor)

Argument:

Record {

Field: readWriteType
Type: ReadWriteType
Field: includeManagementEvents
Type: Bool
Field: dataResources
Type: Optional<List<DataResource>>

}

ReadWriteType

(Type)

type ReadWriteType:
  | ReadOnly
  | WriteOnly
  | All

All

(Constructor)

ReadOnly

(Constructor)

WriteOnly

(Constructor)

Trail

(Type)

type Trail:
  | Trail
      name: String
      includeGlobalServiceEvents: Bool
      isMultiRegionTrail: Bool
      enableLogFileValidation: Bool
      targetBucket: Bucket
      targetKeyPrefix: Optional<String>
      notificationTopic: Optional<Topic>
      logGroup: Optional<LogGroup>
      cloudWatchLogsRole: Optional<Role>
      encryptionKey: Optional<Key>
      eventSelectors: Optional<List<EventSelector>>
      enableLogging: Bool
      region: Region
      tags: Optional<List<Tag>>

Trail

(Constructor)

Argument:

Record {

Field: name
Type: String
Field: includeGlobalServiceEvents
Type: Bool
Field: isMultiRegionTrail
Type: Bool
Field: enableLogFileValidation
Type: Bool
Field: targetBucket
Type: Bucket
Field: targetKeyPrefix
Type: Optional<String>
Field: notificationTopic
Type: Optional<Topic>
Field: logGroup
Type: Optional<LogGroup>
Field: cloudWatchLogsRole
Type: Optional<Role>
Field: encryptionKey
Type: Optional<Key>
Field: eventSelectors
Type: Optional<List<EventSelector>>
Field: enableLogging
Type: Bool
Field: region
Type: Region
Field: tags
Type: Optional<List<Tag>>

}