secure multiple transition phases in a single lifecycle policy bucket.
The storage class will be changed with the following lifecycle configuration.
Storage Class | Defaul transition after days |
---|---|
INFREQUENT_ACCESS | 400 days |
GLACIER | 720 days |
DEEP_ARCHIVE | 980 days |
npm install @gammarers/aws-secure-log-bucket
yarn add @gammarers/aws-secure-log-bucket
pnpm add @gammarers/aws-secure-log-bucket
bun 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', {
vpcFlowLog: {
enable: true,
bucketObjectKeyPrefix: [
'example-prefix-a',
'example-prefix-b',
],
},
});
This project is licensed under the Apache-2.0 License.