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 @gammarer/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
npm install @gammarer/aws-daily-cloud-watch-logs-archive-stack
# or
yarn add @gammarer/aws-daily-cloud-watch-logs-archive-stack
Python
pip install gammarer.aws-daily-cloud-watch-logs-archive-stack
C# / .NET
dotnet add package Gammarer.CDK.AWS.DailyCloudWatchLogsArchiveStack
Java
Add the following to pom.xml:
<dependency>
<groupId>com.gammarer</groupId>
<artifactId>aws-daily-cloud-watch-logs-archive-stack</artifactId>
</dependency>
Example
npm install @gammarer/aws-daily-cloud-watch-logs-archive-stack
import { DailyCloudWatchLogsArchiveStack } from '@gammarer/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 gammarer.aws-daily-cloud-watch-logs-archive-stack 2.6.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gammarer.aws-daily-cloud-watch-logs-archive-stack-2.6.7.tar.gz | 60.2 kB | Without provenance | Details for gammarer.aws-daily-cloud-watch-logs-archive-stack-2.6.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gammarer.aws_daily_cloud_watch_logs_archive_stack-2.6.7-py3-none-any.whl | Python 3 | none | any | Details for gammarer.aws_daily_cloud_watch_logs_archive_stack-2.6.7-py3-none-any.whl |
Total release size: 119.4 kB
Release files / gammarer.aws-daily-cloud-watch-logs-archive-stack-2.6.7.tar.gz
| Download URL | gammarer.aws-daily-cloud-watch-logs-archive-stack-2.6.7.tar.gz |
|---|---|
| Size | 60.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c8ca9dd943ddcf866cd11f3288f5fcca7b807da63e4e17abf4b42f7398847d8b
|
|
BLAKE2b-256 checksum How to use checksums |
0a61d8b7b29fdcbb2a209c635879c6bd5a0117c9026dfa135a61b44eab8a476f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / gammarer.aws_daily_cloud_watch_logs_archive_stack-2.6.7-py3-none-any.whl
| Download URL | gammarer.aws_daily_cloud_watch_logs_archive_stack-2.6.7-py3-none-any.whl |
|---|---|
| Size | 59.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
99b4fa0f355d6e30526227efec5b5ef4e62b80aa4daa0071fb9dd22ab980903b
|
|
BLAKE2b-256 checksum How to use checksums |
2eb45c6891e437555f2c045d5b66721c6fa8f9e3eb637220f4120e03b11e74ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Security for gammarer.aws-daily-cloud-watch-logs-archive-stack 2.6.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.