Hierarchy

  • CloudWatchLogGroupsProps

Properties

customLambdaLogKmsKey?: IKey

Custom resource lambda log group encryption key, when undefined default AWS managed key will be used

customLambdaLogRetention: number

How long, in days, the log contents for the Lambda function will be retained.

keyArn?: string

KMS Key Arn to encrypt CloudWatch Logs Group at rest.

logGroupName?: string

Name of the CloudWatch Logs Group

logRetentionInDays: number

How long, in days, the log contents will be retained.

To retain all logs, set this value to undefined.

owningAccountId?: string

For cross-account log groups, the owning account ID

owningRegion?: string

For cross-region log groups, the owning region

roleName?: string

For cross-account log groups, the IAM role name to assume

terminationProtected?: boolean

Determine termination policy on CloudWatch Logs Group

Generated using TypeDoc