This project provides a CDK construct for creating private S3 bucket.
Project description
AWS CDK Private Bucket
This project provides a CDK construct to create an S3 Bucket with some security pre-sets. It uses usual s3.BucketProps and overrides these key-value pairs:
{
blockPublicAccess: s3.BlockPublicAccess.BLOCK_ALL,
enforceSSL: true,
encryption: s3.BucketEncryption.S3_MANAGED,
}
The result is a privacy-oriented S3 Bucket.
Install
TypeScript
npm install @pepperize/cdk-private-bucket
or
yarn add @pepperize/cdk-private-bucket
Python
pip install pepperize.cdk-private-bucket
C# / .Net
dotnet add package Pepperize.CDK.PrivateBucket
Example
npm install @pepperize/cdk-private-bucket
See API.md.
import { PrivateBucket } from "@pepperize/cdk-private-bucket";
const bucket = new PrivateBucket(this, "PrivateBucket", {});
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
Close
Hashes for pepperize.cdk-private-bucket-0.0.24.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac56aecfefddcb82c95f5c9ac0c440fb47744f4c26d8b64ba58fada4d81dbc19 |
|
MD5 | 93832199c213d147a792af546ac863f1 |
|
BLAKE2b-256 | 93d092834fce46287b2979501059dcd2c0f1dbc1bad1715c8e20f0739d4ddebc |
Close
Hashes for pepperize.cdk_private_bucket-0.0.24-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37b3cbf76f6e30ab51966c3d6b3bceda0a1f257e7d2baac2e08e58b97ead2cda |
|
MD5 | 4701e575950129374812445a4747ffdb |
|
BLAKE2b-256 | 4c97bfb34065a34ebacfbb1fe8b0194fcb62c6ecb36ce556d71981f12610bcf3 |