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.66.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8954ce20dc14a21dd6476df97662a17a736a2068a7e20aa343125dd331881144 |
|
MD5 | 959d99c3315e006d4578f9945dcc158c |
|
BLAKE2b-256 | c21a325373f0c3889a7082c3667b29b49f52fa3f17d02880a9f497aa97092741 |
Close
Hashes for pepperize.cdk_private_bucket-0.0.66-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17bbb7ab773ae0c17dc1a3add5ca2e73cf54b56aa565a5bea1ea456a1f9f537c |
|
MD5 | 736223414f58b62f5e91ce3c9c24a852 |
|
BLAKE2b-256 | b19d6bbdcdf1eff615e468f4dbcf4cc8b8480731e2431f2e3423ce4c25333e06 |