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.64.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2caddc7a2b1b23577542a2f4227fd4b4196d845369de804c01ef336b3862478 |
|
MD5 | 96b42936893692ef8ccb354b707d392a |
|
BLAKE2b-256 | 56ae3a61bdd21a1bd3327376abe1bdd6df81a1dbc7847061e2839289618445ae |
Close
Hashes for pepperize.cdk_private_bucket-0.0.64-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0253dd1b357153e799d8011931b53c0c31cce2026b2e17c94bf933199d878aa9 |
|
MD5 | ac5c64c3feb400db1840454f407519c5 |
|
BLAKE2b-256 | 0a978e92e42c0c1b1a7e1728b2391aa7c0fad8a3eb07e50e9d47ea69b1a8c07c |