Skip to main content

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

Project description

PRs Welcome GitHub npm (scoped) PyPI Nuget Sonatype Nexus (Releases) 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

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

pepperize.cdk-private-bucket-0.0.468.tar.gz (33.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.468-py3-none-any.whl (33.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for pepperize.cdk-private-bucket-0.0.468.tar.gz
Algorithm Hash digest
SHA256 6caa2c6fb8076686d9974e38cd5e43a563b7e53fae0daa55590e75e60aaab644
MD5 b0a6a7f19f0d009407038ec65d591d8a
BLAKE2b-256 b62b77748791c05b35029e9d6b8c77702b4d0a2493c051c96bbdc645c27b9785

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pepperize.cdk_private_bucket-0.0.468-py3-none-any.whl
Algorithm Hash digest
SHA256 70b47c07ebd42e1cab01bb7c8db24f8c4762cbeb4b73bbf12997f2f6a180aa95
MD5 6aa3cd6f9de7690cdc10c0196b8695cb
BLAKE2b-256 882286b65c578a70f4234bb4dfdd03871eacf0d02054120696637a38913ed2a5

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