secure multiple transition phases in a single lifecycle policy bucket.
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 |
Name | Type | Default | Description |
---|---|---|---|
logBucketType | SecureLogBucketType | SecureLogBucketType.NORMAL | The type of the bucket. Available types: NORMAL, VPC_FLOW_LOG |
vpcFlowLog | VPCFlowLog | - | logBucketType property instead. Configuration for VPC Flow Log bucket settings. |
npm install @gammarers/aws-secure-log-bucket
yarn add @gammarers/aws-secure-log-bucket
pip install gammarers.aws-secure-log-bucket
dotnet add package Gammarers.CDK.AWS.SecureLogBucket
import { SecureLogBucket } from '@gammarers/aws-secure-log-bucket';
new SecureLogBucket(stack, 'SecureLogBucket');
import { SecureLogBucket } from '@gammarers/aws-secure-log-bucket';
new SecureLogBucket(stack, 'SecureFlowLogBucket', {
logBucketType: SecureLogBucketType.VPC_FLOW_LOG,
bucketObjectKeyPrefix: [
'example-prefix-a',
'example-prefix-b',
],
});
This project is licensed under the Apache-2.0 License.