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
Close
Hashes for pepperize.cdk-private-bucket-0.0.334.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2decfbfa796fd65f5fe6349a1fd9024cf3fc6d1e719f646d4233f762b672d3b |
|
MD5 | e03d557d147eb9dc39eb110dd5823b64 |
|
BLAKE2b-256 | b27844ac2d90882b4b5b9f95662c16fe5b21f606a73464974f81bfb2f8dd2aad |
Close
Hashes for pepperize.cdk_private_bucket-0.0.334-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02346a407ab3af62d7763424b46938f10ac58627a969c1527852dd2274745a5a |
|
MD5 | 7fdbc8eacfb5645f5826af2fe4086ffa |
|
BLAKE2b-256 | f3b2395a21763a269926e4d6377e56b700102fac1459b3e25e50a5a2cb739d8c |