Skip to main content

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

Project description

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.215.tar.gz (24.8 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.215-py3-none-any.whl (24.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for pepperize.cdk-private-bucket-0.0.215.tar.gz
Algorithm Hash digest
SHA256 aee3b1831998eef56fb123fdb82eb9f80afdedfb84679e30982f164284cacdf6
MD5 274b820fd56195515c27a5fc3e731139
BLAKE2b-256 2597b879d638d041b1352d5697f99474ea709bc2e16e06cb43515e7409d5d1ae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pepperize.cdk_private_bucket-0.0.215-py3-none-any.whl
Algorithm Hash digest
SHA256 90584a2bb11ddd81b0eaac150f60a22f3ad497daa68c212347721e3b445235bf
MD5 d801d70395186f078cca117520125c39
BLAKE2b-256 09a44279cb1c331d0435e5a6bdb88f433ac5047217134ecfeff4ec940af76cd4

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