Skip to main content

secure multiple transition phases in a single lifecycle policy bucket.

Project description

AWS Secure Log Bucket

GitHub npm (scoped) PyPI Nuget GitHub Workflow Status (branch) GitHub release (latest SemVer)

View on Construct Hub

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

gammarers_aws_secure_log_bucket-2.3.17.tar.gz (61.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file gammarers_aws_secure_log_bucket-2.3.17.tar.gz.

File metadata

File hashes

Hashes for gammarers_aws_secure_log_bucket-2.3.17.tar.gz
Algorithm Hash digest
SHA256 fcdb84c58053e704cd916ca806314afbdacfa9aa62fdea0cdbd043c9a217b1b9
MD5 dd8c6f61459531edeea3a49e39a9d449
BLAKE2b-256 fc82988c3f0c9749fbac47d09c80548f4427a3ed204edad0b287249ed19e669a

See more details on using hashes here.

File details

Details for the file gammarers_aws_secure_log_bucket-2.3.17-py3-none-any.whl.

File metadata

File hashes

Hashes for gammarers_aws_secure_log_bucket-2.3.17-py3-none-any.whl
Algorithm Hash digest
SHA256 986d976bb4fd47ddb4c59137265242fa1fa95f62f48baf226c78cbd3dce46181
MD5 0f75e028aa9852bc64f57c06301749fd
BLAKE2b-256 4dc819b6d56f6237bc7f1d20cf983ac18163cfe3c53f5ae8b829563f7fde55d1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page