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.87.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fee3efa11aa35d4d103f040ab653cc0849c1cd73622cb2adabfbdaaea69fce33 |
|
MD5 | 4ef3ec20532b6517489917c4e24e16b8 |
|
BLAKE2b-256 | c3b86d425ac33209a461ed63109a1442cbdbf1fb69466d573ccac0802d91bb62 |
Close
Hashes for pepperize.cdk_private_bucket-0.0.87-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74ccb1078b4f5a9b6912c5372a50d61ad0aa4e41e08a7164ddc5d4d16d610cfa |
|
MD5 | 88b78460496974a803db45533ab39836 |
|
BLAKE2b-256 | a889a36717006c8d9d775a7bd43fac9c79b8f0e43f16539c43ed10023474ea33 |