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.437.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.

File details

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

File metadata

File hashes

Hashes for pepperize.cdk-private-bucket-0.0.437.tar.gz
Algorithm Hash digest
SHA256 50e92f55a1de39b265bf0fed307f4dc2c2e3c2a92e7c2519a36c890f88ff8f22
MD5 3c87c52c53cb333b5b4763535230de08
BLAKE2b-256 ebef1ee0beb34c38d45c1c97d1f769a5d9bb44f844d2de6d39bba02fc0a28e8a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pepperize.cdk_private_bucket-0.0.437-py3-none-any.whl
Algorithm Hash digest
SHA256 33a923bc9d7068488386a762d30de6f549c345d751eee737a7f5efdbc4b45d43
MD5 d12f4fa53d9442815b00b205af1a2c60
BLAKE2b-256 7551b625de4c63d463d81c3df27cdc7223e7a5c6f2e775594ebda5ead94fbcb2

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