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.60.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03af6721f9e2f50fbbfcc9c719c5dbca4213369b061a3d23e58f82e6766ddd7b |
|
MD5 | 265c4a0b0d33f6fa3c730bb48e9cb43e |
|
BLAKE2b-256 | cba3803f81e16574fe008c3c5d32ee9fb07316f63455c6fae87e7eb4f28bb869 |
Close
Hashes for pepperize.cdk_private_bucket-0.0.60-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d434af7d7d9d30b60ec83e73f208821e58da4705d8af22369c4fe12361651635 |
|
MD5 | eb0c8f08926c09279c6f4553387c4d46 |
|
BLAKE2b-256 | 347a71779e1d871fc808c77b807971a95d048cec1f09a3f3f44ebe0ce2280a61 |