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.
Metadata
Release files for gammarers.aws-secure-log-bucket 2.3.17
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gammarers_aws_secure_log_bucket-2.3.17.tar.gz | 61.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gammarers_aws_secure_log_bucket-2.3.17-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 121.6 kB
Release files / gammarers_aws_secure_log_bucket-2.3.17.tar.gz
| Download URL | gammarers_aws_secure_log_bucket-2.3.17.tar.gz |
|---|---|
| Size | 61.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fcdb84c58053e704cd916ca806314afbdacfa9aa62fdea0cdbd043c9a217b1b9
|
|
BLAKE2b-256 checksum How to use checksums |
fc82988c3f0c9749fbac47d09c80548f4427a3ed204edad0b287249ed19e669a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.14.2
|
Release files / gammarers_aws_secure_log_bucket-2.3.17-py3-none-any.whl
| Download URL | gammarers_aws_secure_log_bucket-2.3.17-py3-none-any.whl |
|---|---|
| Size | 60.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
986d976bb4fd47ddb4c59137265242fa1fa95f62f48baf226c78cbd3dce46181
|
|
BLAKE2b-256 checksum How to use checksums |
4dc819b6d56f6237bc7f1d20cf983ac18163cfe3c53f5ae8b829563f7fde55d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.14.2
|