GlobalConfig / LoggingConfig

Global logging configuration

Example

logging:
account: LogArchive
centralizedLoggingRegion: us-east-1
cloudtrail:
enable: false
organizationTrail: false
sessionManager:
sendToCloudWatchLogs: false
sendToS3: true

Hierarchy

  • LoggingConfig

Implements

Constructors

Properties

accessLogBucket: undefined | AccessLogBucketConfig = undefined

Declaration of a (S3 Bucket) Lifecycle rule configuration.

account: "LogArchive" = 'LogArchive'

Accelerator logging account name. Accelerator use LogArchive account for global logging. This account maintains consolidated logs.

assetBucket: undefined | AssetBucketConfig = undefined

Declaration of a (S3 Bucket) configuration.

centralLogBucket: undefined | CentralLogBucketConfig = undefined

Declaration of a (S3 Bucket) Lifecycle rule configuration.

centralizedLoggingRegion: undefined | string = undefined

Accelerator central logs bucket region name. Accelerator use CentralLogs bucket to store various log files, Accelerator created buckets and CWL replicates to CentralLogs bucket. CentralLogs bucket region is optional, when not provided this bucket will be created in Accelerator home region.

cloudtrail: CloudTrailConfig = ...

CloudTrail logging configuration

cloudwatchLogs: undefined | CloudWatchLogsConfig = undefined

CloudWatch Logging configuration.

elbLogBucket: undefined | ElbLogBucketConfig = undefined

Declaration of a (S3 Bucket) Lifecycle rule configuration.

sessionManager: SessionManagerConfig = ...

SessionManager logging configuration

Generated using TypeDoc