gammarers.aws-secure-log-bucket


Namegammarers.aws-secure-log-bucket JSON
Version 2.3.1 PyPI version JSON
download
home_pagehttps://github.com/gammarers/aws-secure-log-bucket.git
Summarysecure multiple transition phases in a single lifecycle policy bucket.
upload_time2025-08-24 17:32:09
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 Secure Log Bucket

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

[![View on Construct Hub](https://constructs.dev/badge?package=@gammarers/aws-secure-log-bucket)](https://constructs.dev/packages/@gammarers/aws-secure-log-bucket)

secure multiple transition phases in a single lifecycle policy bucket.

## Lifecycle rule

The storage class will be changed with the following lifecycle configuration.

| Storage Class       | Default transition after days |
| ------------------- |------------------------------ |
| INFREQUENT_ACCESS   | 400 days                      |
| GLACIER             | 720 days                      |
| DEEP_ARCHIVE        | 980 days                      |

## Additional Properties

| **Name** | **Type** | **Default** | **Description** |
| --- | --- | --- | --- |
| logBucketType | SecureLogBucketType | SecureLogBucketType.NORMAL | The type of the bucket. Available types: NORMAL, VPC_FLOW_LOG |
| vpcFlowLog | VPCFlowLog | - | **⚠️ Deprecated**: This property is deprecated. Use the `logBucketType` property instead. Configuration for VPC Flow Log bucket settings. |

## Install

### TypeScript

#### install by npm

```shell
npm install @gammarers/aws-secure-log-bucket
```

#### install by yarn

```shell
yarn add @gammarers/aws-secure-log-bucket
```

### Python

```shell
pip install gammarers.aws-secure-log-bucket
```

### C# / .NET

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

## Example

### Normal log Bucket

```python
import { SecureLogBucket } from '@gammarers/aws-secure-log-bucket';

new SecureLogBucket(stack, 'SecureLogBucket');
```

### VPC Flow Log Bucket

```python
import { SecureLogBucket } from '@gammarers/aws-secure-log-bucket';

new SecureLogBucket(stack, 'SecureFlowLogBucket', {
  logBucketType: SecureLogBucketType.VPC_FLOW_LOG,
  bucketObjectKeyPrefix: [
    'example-prefix-a',
    'example-prefix-b',
  ],
});
```

## License

This project is licensed under the Apache-2.0 License.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/gammarers/aws-secure-log-bucket.git",
    "name": "gammarers.aws-secure-log-bucket",
    "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/24/ab/ac20e6d0bbbaa37a40fe27ae99d7f1316c2e7ac0bb7ecf5cb76c8bbe50ce/gammarers_aws_secure_log_bucket-2.3.1.tar.gz",
    "platform": null,
    "description": "# AWS Secure Log Bucket\n\n[![GitHub](https://img.shields.io/github/license/yicr/aws-secure-log-bucket?style=flat-square)](https://github.com/yicr/aws-secure-log-bucket/blob/main/LICENSE)\n[![npm (scoped)](https://img.shields.io/npm/v/@gammarers/aws-secure-log-bucket?style=flat-square)](https://www.npmjs.com/package/@gammarers/aws-secure-log-bucket)\n[![PyPI](https://img.shields.io/pypi/v/gammarers.aws-secure-log-bucket?style=flat-square)](https://pypi.org/project/gammarers.aws-secure-log-bucket/)\n[![Nuget](https://img.shields.io/nuget/v/Gammarers.CDK.AWS.SecureLogBucket?style=flat-square)](https://www.nuget.org/packages/Gammarers.CDK.AWS.SecureLogBucket/)\n[![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/yicr/aws-secure-log-bucket/release.yml?branch=main&label=release&style=flat-square)](https://github.com/yicr/aws-secure-log-bucket/actions/workflows/release.yml)\n[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/yicr/aws-secure-log-bucket?sort=semver&style=flat-square)](https://github.com/yicr/aws-secure-log-bucket/releases)\n\n[![View on Construct Hub](https://constructs.dev/badge?package=@gammarers/aws-secure-log-bucket)](https://constructs.dev/packages/@gammarers/aws-secure-log-bucket)\n\nsecure multiple transition phases in a single lifecycle policy bucket.\n\n## Lifecycle rule\n\nThe storage class will be changed with the following lifecycle configuration.\n\n| Storage Class       | Default transition after days |\n| ------------------- |------------------------------ |\n| INFREQUENT_ACCESS   | 400 days                      |\n| GLACIER             | 720 days                      |\n| DEEP_ARCHIVE        | 980 days                      |\n\n## Additional Properties\n\n| **Name** | **Type** | **Default** | **Description** |\n| --- | --- | --- | --- |\n| logBucketType | SecureLogBucketType | SecureLogBucketType.NORMAL | The type of the bucket. Available types: NORMAL, VPC_FLOW_LOG |\n| vpcFlowLog | VPCFlowLog | - | **\u26a0\ufe0f Deprecated**: This property is deprecated. Use the `logBucketType` property instead. Configuration for VPC Flow Log bucket settings. |\n\n## Install\n\n### TypeScript\n\n#### install by npm\n\n```shell\nnpm install @gammarers/aws-secure-log-bucket\n```\n\n#### install by yarn\n\n```shell\nyarn add @gammarers/aws-secure-log-bucket\n```\n\n### Python\n\n```shell\npip install gammarers.aws-secure-log-bucket\n```\n\n### C# / .NET\n\n```shell\ndotnet add package Gammarers.CDK.AWS.SecureLogBucket\n```\n\n## Example\n\n### Normal log Bucket\n\n```python\nimport { SecureLogBucket } from '@gammarers/aws-secure-log-bucket';\n\nnew SecureLogBucket(stack, 'SecureLogBucket');\n```\n\n### VPC Flow Log Bucket\n\n```python\nimport { SecureLogBucket } from '@gammarers/aws-secure-log-bucket';\n\nnew SecureLogBucket(stack, 'SecureFlowLogBucket', {\n  logBucketType: SecureLogBucketType.VPC_FLOW_LOG,\n  bucketObjectKeyPrefix: [\n    'example-prefix-a',\n    'example-prefix-b',\n  ],\n});\n```\n\n## License\n\nThis project is licensed under the Apache-2.0 License.\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "secure multiple transition phases in a single lifecycle policy bucket.",
    "version": "2.3.1",
    "project_urls": {
        "Homepage": "https://github.com/gammarers/aws-secure-log-bucket.git",
        "Source": "https://github.com/gammarers/aws-secure-log-bucket.git"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "703f2b8e1410aa4d227d1ceb7dc2d8f426f530374f724d70255058e5e6b4e89f",
                "md5": "30ed7f9f9f3daf5a184781462949325a",
                "sha256": "c60f16cc14b4d6acca22e243175fe874fcb748a2c1a389214c57ef6e6a9eb4b6"
            },
            "downloads": -1,
            "filename": "gammarers_aws_secure_log_bucket-2.3.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "30ed7f9f9f3daf5a184781462949325a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "~=3.9",
            "size": 59739,
            "upload_time": "2025-08-24T17:32:07",
            "upload_time_iso_8601": "2025-08-24T17:32:07.542189Z",
            "url": "https://files.pythonhosted.org/packages/70/3f/2b8e1410aa4d227d1ceb7dc2d8f426f530374f724d70255058e5e6b4e89f/gammarers_aws_secure_log_bucket-2.3.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "24abac20e6d0bbbaa37a40fe27ae99d7f1316c2e7ac0bb7ecf5cb76c8bbe50ce",
                "md5": "87df005145bbcf7564bb4c28982e509f",
                "sha256": "a65d15d7792b7cbe719108bbe9bae0db68378965a2fb4f4f03a7f8dd785eb378"
            },
            "downloads": -1,
            "filename": "gammarers_aws_secure_log_bucket-2.3.1.tar.gz",
            "has_sig": false,
            "md5_digest": "87df005145bbcf7564bb4c28982e509f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "~=3.9",
            "size": 61340,
            "upload_time": "2025-08-24T17:32:09",
            "upload_time_iso_8601": "2025-08-24T17:32:09.032413Z",
            "url": "https://files.pythonhosted.org/packages/24/ab/ac20e6d0bbbaa37a40fe27ae99d7f1316c2e7ac0bb7ecf5cb76c8bbe50ce/gammarers_aws_secure_log_bucket-2.3.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-24 17:32:09",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "gammarers",
    "github_project": "aws-secure-log-bucket",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "gammarers.aws-secure-log-bucket"
}
        
Elapsed time: 0.85921s