GlobalConfig / LoggingConfig

Global logging configuration

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

Properties

accessLogBucket?: IAccessLogBucketConfig

Declaration of a (S3 Bucket) Lifecycle rule configuration.

account: string

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

assetBucket?: IAssetBucketConfig

Declaration of a (S3 Bucket) configuration.

centralizedLoggingRegion?: string

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.

centralLogBucket?: ICentralLogBucketConfig

Declaration of a (S3 Bucket) Lifecycle rule configuration.

cloudtrail: ICloudTrailConfig

CloudTrail logging configuration

cloudwatchLogs?: ICloudWatchLogsConfig

CloudWatch Logging configuration.

elbLogBucket?: IElbLogBucketConfig

Declaration of a (S3 Bucket) Lifecycle rule configuration.

sessionManager: ISessionManagerConfig

SessionManager logging configuration