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
Java
<dependency>
<groupId>com.pepperize</groupId>
<artifactId>cdk-private-bucket</artifactId>
<version>${cdkPrivateBucket.version}</version>
</dependency>
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
File details
Details for the file pepperize.cdk-private-bucket-0.0.482.tar.gz
.
File metadata
- Download URL: pepperize.cdk-private-bucket-0.0.482.tar.gz
- Upload date:
- Size: 33.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68a3df23ca6fa09e0e2d96a305dcdd15817581ff0ceedb0e23acc3c456b3c7a6 |
|
MD5 | 4553a87f679b57f15d083dbf85a95e1e |
|
BLAKE2b-256 | 410604bb481f064c782269a3212e41f1583f613a4c4ad9c6cd73539ae6cb68a1 |
File details
Details for the file pepperize.cdk_private_bucket-0.0.482-py3-none-any.whl
.
File metadata
- Download URL: pepperize.cdk_private_bucket-0.0.482-py3-none-any.whl
- Upload date:
- Size: 33.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a46d9dce94248007a023252d087da845d690d85a934cd7214af589d77e45b87 |
|
MD5 | 6522d5da4339c6a59fadbe54791b8924 |
|
BLAKE2b-256 | 5dd39d5ff92c2251ef280c54913b0d93f8bac014d9edc50195c22de081a9668e |