Skip to main content

This project provides a CDK construct for creating private S3 bucket.

Project description

GitHub npm (scoped) PyPI Nuget GitHub Workflow Status (branch) GitHub release (latest SemVer)

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

pepperize.cdk-private-bucket-0.0.108.tar.gz (23.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pepperize.cdk_private_bucket-0.0.108-py3-none-any.whl (23.6 kB view details)

Uploaded Python 3

File details

Details for the file pepperize.cdk-private-bucket-0.0.108.tar.gz.

File metadata

File hashes

Hashes for pepperize.cdk-private-bucket-0.0.108.tar.gz
Algorithm Hash digest
SHA256 55000ac04317a48c3c8a6f0f4e0801dcf28db4a8d4c441280a385e69999abd9b
MD5 0f3db167477e6dc1d348d2d49046276e
BLAKE2b-256 06a1e35128f9c038b8cf1d467503022e649bf80e5e0b920263f8c9e079553b7a

See more details on using hashes here.

File details

Details for the file pepperize.cdk_private_bucket-0.0.108-py3-none-any.whl.

File metadata

File hashes

Hashes for pepperize.cdk_private_bucket-0.0.108-py3-none-any.whl
Algorithm Hash digest
SHA256 d4fde2fb6ea1da31be606f62386be4a7a82ca7eba00143c38853bf1e24408bed
MD5 c0c8abfeee14ef3803a1693abb70050c
BLAKE2b-256 af18fabff0e3ec647e641b3282a42b4f491e84aeaff583844d60644bcd6ae29b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page