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.76.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 704e77d6059615c5501b9441e73bfbaafd0705625ef3ac93d2c1ccc6a6a49f90 |
|
MD5 | 7749202d4d975b4d5ad52a6253c23ddf |
|
BLAKE2b-256 | 210d37e4ef2cd1871e9319c1a6974a04de0bfc6f55a9bf502ca170bab474d99e |
Close
Hashes for pepperize.cdk_private_bucket-0.0.76-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5dfe62b436ef8ecb91fceb6ef5550465983541413707f951eefa15e0cf6ea4a |
|
MD5 | 3c6221d8dbcb01cfb5651567101cde48 |
|
BLAKE2b-256 | d53453835a68a6accb65c46e1541aca5102fce3538b95bcdd04cac76504de75c |