GlobalConfig / LoggingConfig / CloudWatchLogsConfig/ CloudWatchLogsExclusionConfig

Accelerator global CloudWatch Logs exclusion configuration

Example

organizationalUnits:
- Sandbox
regions:
- us-west-1
- us-west-2
accounts:
- WorkloadAccount1
excludeAll: true
logGroupNames:
- 'test/*'
- '/appA/*'

Hierarchy

  • CloudWatchLogsExclusionConfig

Implements

Constructors

Properties

accounts: undefined | string[] = undefined

List of accounts where the exclusion will be applied to

excludeAll: undefined | boolean = undefined

Exclude replication on all logs. By default this is set to false.

Remarks

If undefined, this is set to false. When set to true, it disables replication on entire OU or account for that region. Setting OU as Root with no region specified and making this true will fail validation since that usage is redundant. Instead use the enable parameter in cloudwatch log config which will disable replication across all accounts in all regions.

logGroupNames: undefined | string[] = undefined

List of log groups names where the exclusion will be applied to

Remarks

Wild cards are supported. These log group names are added in the eventbridge payload which triggers lambda. If excludeAll is used then all logGroups are excluded and this parameter is not used.

organizationalUnits: undefined | string[] = undefined

List of OUs that the exclusion will apply to

regions: undefined | string[] = undefined

List of regions where the exclusion will be applied to. If no value is supplied, exclusion is applied to all enabled regions.

Generated using TypeDoc