AWS Daily CloudWatch Logs Archive Stack
AWS CloudWatch Logs daily(13:00Z) archive to s3 bucket.
Resources
This construct creating resource list.
- S3 Bucket (log-archive-xxxxxxxx from @gammarers/aws-secure-log-bucket)
- Lambda function execution role
- Lambda function
- Lambda function log group
- StepFunctions state machine execution role
- StepFunctions state machine
- EventBridge Scheduler execution role
- EventBridge Scheduler
Architecture
Install
TypeScript
install by npm
npm install @gammarers/aws-daily-cloud-watch-logs-archive-stack
install by yarn
yarn add @gammarers/aws-daily-cloud-watch-logs-archive-stack
install by pnpm
pnpm add @gammarers/aws-daily-cloud-watch-logs-archive-stack
install by bun
bun add @gammarers/aws-daily-cloud-watch-logs-archive-stack
Python
pip install gammarers.aws-daily-cloud-watch-logs-archive-stack
C# / .NET
dotnet add package Gammarers.CDK.AWS.DailyCloudWatchLogsArchiveStack
Example
npm install @gammarers/aws-daily-cloud-watch-logs-archive-stack
import { DailyCloudWatchLogsArchiveStack } from '@gammarers/aws-daily-cloud-watch-logs-archive-stack';
new DailyCloudWatchLogsArchiveStack(stack, 'DailyCloudWatchLogsArchiveStack', {
targetResourceTag: {
key: 'DailyLogExport',
values: ['Yes'],
},
});
Otherwise
If you want to export old log files, please refer to the following repository. The log file will be exported in the same output format.
License
This project is licensed under the Apache-2.0 License.
Metadata
Release files for gammarers.aws-daily-cloud-watch-logs-archive-stack 2.9.33
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gammarers_aws_daily_cloud_watch_logs_archive_stack-2.9.33.tar.gz | 62.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gammarers_aws_daily_cloud_watch_logs_archive_stack-2.9.33-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 123.2 kB
Release files / gammarers_aws_daily_cloud_watch_logs_archive_stack-2.9.33.tar.gz
| Download URL | gammarers_aws_daily_cloud_watch_logs_archive_stack-2.9.33.tar.gz |
|---|---|
| Size | 62.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1ee09227e5d72ed279bc66f4411b79d0411b12abf50c103291816fbdbe1461b6
|
|
BLAKE2b-256 checksum How to use checksums |
e197ab3ce1aab6fa242c6df4994531561d69c36a3300820dd4d8c6c46125cede
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.14.2
|
Release files / gammarers_aws_daily_cloud_watch_logs_archive_stack-2.9.33-py3-none-any.whl
| Download URL | gammarers_aws_daily_cloud_watch_logs_archive_stack-2.9.33-py3-none-any.whl |
|---|---|
| Size | 61.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3890fa577f924179343f9d243d1b9a5f009a44f4e8fe7624d5cc95173176d945
|
|
BLAKE2b-256 checksum How to use checksums |
d9e71b17b8c8854ac8c093f5febf3e920dde40dafa8d4260061e80060ac07ad0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.14.2
|