0.8.75 • Published 2 years ago

@yicr/aws-daily-cloud-watch-log-archiver v0.8.75

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

AWS Daily CloudWatch Log Archiver

AWS CloudWatch Logs daily(13:00Z) archive to s3 bucket.

Resources

This construct creating resource list.

  • S3 Bucket (log-archive-xxxxxxxx from @yicr/aws-secure-log-bucket)
  • Lambda function execution role
  • Lambda function
  • EventBridge Scheduler execution role
  • EventBridge Scheduler Group
  • EventBridge Scheduler (this construct props specified count)

Install

TypeScript

npm install @yicr/aws-daily-cloud-watch-log-archiver

or

yarn add @yicr/aws-daily-cloud-watch-log-archiver

Example

npm install @yicr/aws-daily-cloud-watch-log-archiver
import { DailyCloudWatchLogArchiver } from '@yicr/aws-daily-cloud-watch-log-archiver';

new DailyCloudWatchLogArchiver(stack, 'DailyCloudWatchLogArchiver', {
  schedules: [
    {
      name: 'example-log-archive-1st-rule',
      description: 'example log archive 1st rule.',
      target: {
        logGroupName: 'example-log-1st-group', // always created CloudWatch Log group
        destinationPrefix: 'example-1st-log',
      },
    },
    {
      name: 'example-log-archive-2nd-rule',
      description: 'example log archive 2nd rule.',
      target: {
        logGroupName: 'example-log-2nd-group',
        destinationPrefix: 'example-2nd-log',
      },
    },
  ],
});

License

This project is licensed under the Apache-2.0 License.

0.8.75

2 years ago

0.8.74

2 years ago

0.8.45

2 years ago

0.8.44

2 years ago

0.8.47

2 years ago

0.8.46

2 years ago

0.8.41

2 years ago

0.8.40

2 years ago

0.8.43

2 years ago

0.8.42

2 years ago

0.8.49

2 years ago

0.8.48

2 years ago

0.8.34

2 years ago

0.8.33

2 years ago

0.8.36

2 years ago

0.8.30

2 years ago

0.8.73

2 years ago

0.8.32

2 years ago

0.8.31

2 years ago

0.8.38

2 years ago

0.8.37

2 years ago

0.8.39

2 years ago

0.8.70

2 years ago

0.8.72

2 years ago

0.8.71

2 years ago

0.8.67

2 years ago

0.8.66

2 years ago

0.8.69

2 years ago

0.8.68

2 years ago

0.8.63

2 years ago

0.8.62

2 years ago

0.8.65

2 years ago

0.8.64

2 years ago

0.8.27

2 years ago

0.8.26

2 years ago

0.8.29

2 years ago

0.8.28

2 years ago

0.8.61

2 years ago

0.8.60

2 years ago

0.8.55

2 years ago

0.8.58

2 years ago

0.8.57

2 years ago

0.8.52

2 years ago

0.8.51

2 years ago

0.8.54

2 years ago

0.8.53

2 years ago

0.8.59

2 years ago

0.8.50

2 years ago

0.8.23

2 years ago

0.8.9

2 years ago

0.8.22

2 years ago

0.8.8

2 years ago

0.8.25

2 years ago

0.8.24

2 years ago

0.8.4

2 years ago

0.8.21

2 years ago

0.8.7

2 years ago

0.8.20

2 years ago

0.8.6

2 years ago

0.8.12

2 years ago

0.8.11

2 years ago

0.8.14

2 years ago

0.8.13

2 years ago

0.8.10

2 years ago

0.8.19

2 years ago

0.8.16

2 years ago

0.8.15

2 years ago

0.8.18

2 years ago

0.8.17

2 years ago

0.8.3

2 years ago

0.8.2

2 years ago

0.8.1

2 years ago

0.8.0

2 years ago

0.7.23

2 years ago

0.7.22

2 years ago

0.7.21

2 years ago

0.7.20

2 years ago

0.7.19

2 years ago

0.7.18

2 years ago

0.7.17

2 years ago

0.7.16

2 years ago

0.7.15

2 years ago