interface LogGroupFactoryProps
| Language | Type name |
|---|---|
Python | aws_rfdk.LogGroupFactoryProps |
TypeScript (source) | aws-rfdk » LogGroupFactoryProps |
Properties for creating a LogGroup.
Properties
| Name | Type | Description |
|---|---|---|
| bucket | string | The S3 bucket's name to export logs to. |
| log | string | Prefix assigned to the name of any LogGroups that get created. |
| retention? | Retention | The number of days log events are kept in CloudWatch Logs. |
bucketName?
Type:
string
(optional, default: No export to S3 will be performed.)
The S3 bucket's name to export logs to.
Setting this will enable exporting logs from CloudWatch to S3.
logGroupPrefix?
Type:
string
(optional, default: No prefix will be applied.)
Prefix assigned to the name of any LogGroups that get created.
retention?
Type:
Retention
(optional, default: 3 days.)
The number of days log events are kept in CloudWatch Logs.
Exportation to S3 will happen the day before they expire.

Python
TypeScript (