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.482.tar.gz (33.7 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for pepperize.cdk-private-bucket-0.0.482.tar.gz
Algorithm Hash digest
SHA256 68a3df23ca6fa09e0e2d96a305dcdd15817581ff0ceedb0e23acc3c456b3c7a6
MD5 4553a87f679b57f15d083dbf85a95e1e
BLAKE2b-256 410604bb481f064c782269a3212e41f1583f613a4c4ad9c6cd73539ae6cb68a1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pepperize.cdk_private_bucket-0.0.482-py3-none-any.whl
Algorithm Hash digest
SHA256 9a46d9dce94248007a023252d087da845d690d85a934cd7214af589d77e45b87
MD5 6522d5da4339c6a59fadbe54791b8924
BLAKE2b-256 5dd39d5ff92c2251ef280c54913b0d93f8bac014d9edc50195c22de081a9668e

See more details on using hashes here.

Supported by

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