secure multiple transition phases in a single lifecycle policy bucket.
Project description
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
npm install @gammarers/aws-secure-log-bucket
install by yarn
yarn add @gammarers/aws-secure-log-bucket
Python
pip install gammarers.aws-secure-log-bucket
C# / .NET
dotnet add package Gammarers.CDK.AWS.SecureLogBucket
Example
Normal log Bucket
import { SecureLogBucket } from '@gammarers/aws-secure-log-bucket';
new SecureLogBucket(stack, 'SecureLogBucket');
VPC Flow Log Bucket
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gammarers_aws_secure_log_bucket-2.3.17.tar.gz.
File metadata
- Download URL: gammarers_aws_secure_log_bucket-2.3.17.tar.gz
- Upload date:
- Size: 61.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fcdb84c58053e704cd916ca806314afbdacfa9aa62fdea0cdbd043c9a217b1b9
|
|
| MD5 |
dd8c6f61459531edeea3a49e39a9d449
|
|
| BLAKE2b-256 |
fc82988c3f0c9749fbac47d09c80548f4427a3ed204edad0b287249ed19e669a
|
File details
Details for the file gammarers_aws_secure_log_bucket-2.3.17-py3-none-any.whl.
File metadata
- Download URL: gammarers_aws_secure_log_bucket-2.3.17-py3-none-any.whl
- Upload date:
- Size: 60.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
986d976bb4fd47ddb4c59137265242fa1fa95f62f48baf226c78cbd3dce46181
|
|
| MD5 |
0f75e028aa9852bc64f57c06301749fd
|
|
| BLAKE2b-256 |
4dc819b6d56f6237bc7f1d20cf983ac18163cfe3c53f5ae8b829563f7fde55d1
|