2.6.6 • Published 15 days ago

@gammarer/aws-daily-cloud-watch-logs-archive-stack v2.6.6

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
15 days ago

AWS Daily CloudWatch Logs Archive Stack

GitHub npm (scoped) PyPI Nuget Sonatype Nexus (Releases) GitHub Workflow Status (branch) GitHub release (latest SemVer)

View on Construct Hub

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

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.

AWS CloudWatch Logs Exporter

License

This project is licensed under the Apache-2.0 License.

2.6.6

15 days ago

2.6.5

22 days ago

2.6.4

28 days ago

2.6.3

1 month ago

2.6.2

1 month ago

2.6.1

1 month ago

2.6.0

2 months ago

2.5.1

2 months ago

2.5.0

2 months ago

2.4.0

2 months ago

2.3.2

2 months ago

2.3.1

2 months ago

2.3.0

2 months ago