gammarers.aws-daily-cloud-watch-logs-archive-stack


Namegammarers.aws-daily-cloud-watch-logs-archive-stack JSON
Version 2.9.15 PyPI version JSON
download
home_pagehttps://github.com/gammarers/aws-daily-cloud-watch-logs-archive-stack.git
SummaryAWS CloudWatch Logs daily archive to s3 bucket
upload_time2025-07-30 19:21:28
maintainerNone
docs_urlNone
authoryicr<yicr@users.noreply.github.com>
requires_python~=3.9
licenseApache-2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # AWS Daily CloudWatch Logs Archive Stack

[![GitHub](https://img.shields.io/github/license/gammarers/aws-daily-cloud-watch-logs-archive-stack?style=flat-square)](https://github.com/gammarers/aws-daily-cloud-watch-logs-archive-stack/blob/main/LICENSE)
[![npm (scoped)](https://img.shields.io/npm/v/@gammarers/aws-daily-cloud-watch-logs-archive-stack?style=flat-square)](https://www.npmjs.com/package/@gammarers/aws-daily-cloud-watch-logs-archive-stack)
[![PyPI](https://img.shields.io/pypi/v/gammarers.aws-daily-cloud-watch-logs-archive-stack?style=flat-square)](https://pypi.org/project/gammarers.aws-daily-cloud-watch-logs-archive-stack/)
[![Nuget](https://img.shields.io/nuget/v/gammarers.CDK.AWS.DailyCloudWatchLogsArchiveStack?style=flat-square)](https://www.nuget.org/packages/gammarers.CDK.AWS.DailyCloudWatchLogsArchiveStack/)
[![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/gammarers/aws-daily-cloud-watch-logs-archive-stack/release.yml?branch=main&label=release&style=flat-square)](https://github.com/gammarers/aws-daily-cloud-watch-logs-archive-stack/actions/workflows/release.yml)
[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/gammarers/aws-daily-cloud-watch-logs-archive-stack?sort=semver&style=flat-square)](https://github.com/gammarers/aws-daily-cloud-watch-logs-archive-stack/releases)

[![View on Construct Hub](https://constructs.dev/badge?package=@gammarers/aws-daily-cloud-watch-logs-archive-stack)](https://constructs.dev/packages/@gammarers/aws-daily-cloud-watch-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

![architecture](/architecture.drawio.svg)

## Install

### TypeScript

#### install by npm

```shell
npm install @gammarers/aws-daily-cloud-watch-logs-archive-stack
```

#### install by yarn

```shell
yarn add @gammarers/aws-daily-cloud-watch-logs-archive-stack
```

#### install by pnpm

```shell
pnpm add @gammarers/aws-daily-cloud-watch-logs-archive-stack
```

#### install by bun

```shell
bun add @gammarers/aws-daily-cloud-watch-logs-archive-stack
```

### Python

```shell
pip install gammarers.aws-daily-cloud-watch-logs-archive-stack
```

### C# / .NET

```shell
dotnet add package Gammarers.CDK.AWS.DailyCloudWatchLogsArchiveStack
```

## Example

```shell
npm install @gammarers/aws-daily-cloud-watch-logs-archive-stack
```

```python
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.

[AWS CloudWatch Logs Exporter](https://github.com/gammarers/aws-cloud-watch-logs-exporter)

## License

This project is licensed under the Apache-2.0 License.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/gammarers/aws-daily-cloud-watch-logs-archive-stack.git",
    "name": "gammarers.aws-daily-cloud-watch-logs-archive-stack",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "~=3.9",
    "maintainer_email": null,
    "keywords": null,
    "author": "yicr<yicr@users.noreply.github.com>",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/ed/45/be75f1277ff266e863c77837e251f6c0c49b27226a670df4eecfa5bc6987/gammarers_aws_daily_cloud_watch_logs_archive_stack-2.9.15.tar.gz",
    "platform": null,
    "description": "# AWS Daily CloudWatch Logs Archive Stack\n\n[![GitHub](https://img.shields.io/github/license/gammarers/aws-daily-cloud-watch-logs-archive-stack?style=flat-square)](https://github.com/gammarers/aws-daily-cloud-watch-logs-archive-stack/blob/main/LICENSE)\n[![npm (scoped)](https://img.shields.io/npm/v/@gammarers/aws-daily-cloud-watch-logs-archive-stack?style=flat-square)](https://www.npmjs.com/package/@gammarers/aws-daily-cloud-watch-logs-archive-stack)\n[![PyPI](https://img.shields.io/pypi/v/gammarers.aws-daily-cloud-watch-logs-archive-stack?style=flat-square)](https://pypi.org/project/gammarers.aws-daily-cloud-watch-logs-archive-stack/)\n[![Nuget](https://img.shields.io/nuget/v/gammarers.CDK.AWS.DailyCloudWatchLogsArchiveStack?style=flat-square)](https://www.nuget.org/packages/gammarers.CDK.AWS.DailyCloudWatchLogsArchiveStack/)\n[![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/gammarers/aws-daily-cloud-watch-logs-archive-stack/release.yml?branch=main&label=release&style=flat-square)](https://github.com/gammarers/aws-daily-cloud-watch-logs-archive-stack/actions/workflows/release.yml)\n[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/gammarers/aws-daily-cloud-watch-logs-archive-stack?sort=semver&style=flat-square)](https://github.com/gammarers/aws-daily-cloud-watch-logs-archive-stack/releases)\n\n[![View on Construct Hub](https://constructs.dev/badge?package=@gammarers/aws-daily-cloud-watch-logs-archive-stack)](https://constructs.dev/packages/@gammarers/aws-daily-cloud-watch-logs-archive-stack)\n\nAWS CloudWatch Logs daily(13:00Z) archive to s3 bucket.\n\n## Resources\n\nThis construct creating resource list.\n\n* S3 Bucket (log-archive-xxxxxxxx from @gammarers/aws-secure-log-bucket)\n* Lambda function execution role\n* Lambda function\n* Lambda function log group\n* StepFunctions state machine execution role\n* StepFunctions state machine\n* EventBridge Scheduler execution role\n* EventBridge Scheduler\n\n## Architecture\n\n![architecture](/architecture.drawio.svg)\n\n## Install\n\n### TypeScript\n\n#### install by npm\n\n```shell\nnpm install @gammarers/aws-daily-cloud-watch-logs-archive-stack\n```\n\n#### install by yarn\n\n```shell\nyarn add @gammarers/aws-daily-cloud-watch-logs-archive-stack\n```\n\n#### install by pnpm\n\n```shell\npnpm add @gammarers/aws-daily-cloud-watch-logs-archive-stack\n```\n\n#### install by bun\n\n```shell\nbun add @gammarers/aws-daily-cloud-watch-logs-archive-stack\n```\n\n### Python\n\n```shell\npip install gammarers.aws-daily-cloud-watch-logs-archive-stack\n```\n\n### C# / .NET\n\n```shell\ndotnet add package Gammarers.CDK.AWS.DailyCloudWatchLogsArchiveStack\n```\n\n## Example\n\n```shell\nnpm install @gammarers/aws-daily-cloud-watch-logs-archive-stack\n```\n\n```python\nimport { DailyCloudWatchLogsArchiveStack } from '@gammarers/aws-daily-cloud-watch-logs-archive-stack';\n\nnew DailyCloudWatchLogsArchiveStack(stack, 'DailyCloudWatchLogsArchiveStack', {\n    targetResourceTag: {\n      key: 'DailyLogExport',\n      values: ['Yes'],\n    },\n});\n```\n\n## Otherwise\n\nIf you want to export old log files, please refer to the following repository. The log file will be exported in the same output format.\n\n[AWS CloudWatch Logs Exporter](https://github.com/gammarers/aws-cloud-watch-logs-exporter)\n\n## License\n\nThis project is licensed under the Apache-2.0 License.\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "AWS CloudWatch Logs daily archive to s3 bucket",
    "version": "2.9.15",
    "project_urls": {
        "Homepage": "https://github.com/gammarers/aws-daily-cloud-watch-logs-archive-stack.git",
        "Source": "https://github.com/gammarers/aws-daily-cloud-watch-logs-archive-stack.git"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "d3205ee909426500cbfca297c708d4bc593abef6799253b28abf6a99c2a5545d",
                "md5": "772260b63599a076ba05db70e85f30ce",
                "sha256": "3e070fcfe5c5f6cfc771b880e2878410b2812c6b6a2b636d794e54704962b640"
            },
            "downloads": -1,
            "filename": "gammarers_aws_daily_cloud_watch_logs_archive_stack-2.9.15-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "772260b63599a076ba05db70e85f30ce",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "~=3.9",
            "size": 60717,
            "upload_time": "2025-07-30T19:21:26",
            "upload_time_iso_8601": "2025-07-30T19:21:26.855381Z",
            "url": "https://files.pythonhosted.org/packages/d3/20/5ee909426500cbfca297c708d4bc593abef6799253b28abf6a99c2a5545d/gammarers_aws_daily_cloud_watch_logs_archive_stack-2.9.15-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "ed45be75f1277ff266e863c77837e251f6c0c49b27226a670df4eecfa5bc6987",
                "md5": "0080b605708f15b7ab5131920ddad210",
                "sha256": "d162a9b68f7caf621d69ba0cb73a66fcf2f512f68ed073ec23fa9a916d614e40"
            },
            "downloads": -1,
            "filename": "gammarers_aws_daily_cloud_watch_logs_archive_stack-2.9.15.tar.gz",
            "has_sig": false,
            "md5_digest": "0080b605708f15b7ab5131920ddad210",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "~=3.9",
            "size": 61815,
            "upload_time": "2025-07-30T19:21:28",
            "upload_time_iso_8601": "2025-07-30T19:21:28.087923Z",
            "url": "https://files.pythonhosted.org/packages/ed/45/be75f1277ff266e863c77837e251f6c0c49b27226a670df4eecfa5bc6987/gammarers_aws_daily_cloud_watch_logs_archive_stack-2.9.15.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-30 19:21:28",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "gammarers",
    "github_project": "aws-daily-cloud-watch-logs-archive-stack",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "gammarers.aws-daily-cloud-watch-logs-archive-stack"
}
        
Elapsed time: 0.58243s