@pepperize/cdk-private-bucket
Advanced tools
Comparing version 0.0.5 to 0.0.6
### [0.0.5](https://github.com/pepperize/cdk-private-bucket/compare/v0.0.3...v0.0.5) (2022-01-17) | ||
### [0.0.6](https://github.com/pepperize/cdk-private-bucket/compare/v0.0.5...v0.0.6) (2022-01-17) |
@@ -25,3 +25,3 @@ "use strict"; | ||
_a = JSII_RTTI_SYMBOL_1; | ||
PrivateBucket[_a] = { fqn: "@pepperize/cdk-private-bucket.PrivateBucket", version: "0.0.5" }; | ||
PrivateBucket[_a] = { fqn: "@pepperize/cdk-private-bucket.PrivateBucket", version: "0.0.6" }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxzQ0FBc0M7Ozs7QUFNdEMsTUFBYSxhQUFjLFNBQVEsRUFBRSxDQUFDLE1BQU07Ozs7SUFDMUMsWUFBWSxLQUFnQixFQUFFLEVBQVUsRUFBRSxRQUE0QixFQUFFO1FBQ3RFLEtBQUssQ0FBQyxLQUFLLEVBQUUsRUFBRSxFQUFFO1lBQ2YsVUFBVSxFQUFFLEVBQUUsQ0FBQyxnQkFBZ0IsQ0FBQyxVQUFVO1lBQzFDLEdBQUcsS0FBSztZQUNSLGlCQUFpQixFQUFFLEVBQUUsQ0FBQyxpQkFBaUIsQ0FBQyxTQUFTO1lBQ2pELFVBQVUsRUFBRSxJQUFJO1NBQ2pCLENBQUMsQ0FBQztJQUNMLENBQUM7O0FBUkgsc0NBU0MiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgKiBhcyBzMyBmcm9tIFwiQGF3cy1jZGsvYXdzLXMzXCI7XG5cbmltcG9ydCB7IENvbnN0cnVjdCB9IGZyb20gXCJAYXdzLWNkay9jb3JlXCI7XG5cbmV4cG9ydCBpbnRlcmZhY2UgUHJpdmF0ZUJ1Y2tldFByb3BzIGV4dGVuZHMgczMuQnVja2V0UHJvcHMge31cblxuZXhwb3J0IGNsYXNzIFByaXZhdGVCdWNrZXQgZXh0ZW5kcyBzMy5CdWNrZXQge1xuICBjb25zdHJ1Y3RvcihzY29wZTogQ29uc3RydWN0LCBpZDogc3RyaW5nLCBwcm9wczogUHJpdmF0ZUJ1Y2tldFByb3BzID0ge30pIHtcbiAgICBzdXBlcihzY29wZSwgaWQsIHtcbiAgICAgIGVuY3J5cHRpb246IHMzLkJ1Y2tldEVuY3J5cHRpb24uUzNfTUFOQUdFRCxcbiAgICAgIC4uLnByb3BzLFxuICAgICAgYmxvY2tQdWJsaWNBY2Nlc3M6IHMzLkJsb2NrUHVibGljQWNjZXNzLkJMT0NLX0FMTCxcbiAgICAgIGVuZm9yY2VTU0w6IHRydWUsXG4gICAgfSk7XG4gIH1cbn1cbiJdfQ== |
@@ -86,3 +86,3 @@ { | ||
}, | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"jest": { | ||
@@ -89,0 +89,0 @@ "testMatch": [ |
@@ -1,1 +0,60 @@ | ||
# replace this | ||
[![GitHub](https://img.shields.io/github/license/pepperize/cdk-private-bucket?style=flat-square)](https://github.com/pepperize/cdk-private-bucket/blob/main/LICENSE) | ||
[![npm (scoped)](https://img.shields.io/npm/v/@pepperize/cdk-private-bucket?style=flat-square)](https://www.npmjs.com/package/@pepperize/cdk-private-bucket) | ||
[![PyPI](https://img.shields.io/pypi/v/pepperize.cdk-private-bucket?style=flat-square)](https://pypi.org/project/pepperize.cdk-private-bucket/) | ||
[![Nuget](https://img.shields.io/nuget/v/Pepperize.CDK.PrivateBucket?style=flat-square)](https://www.nuget.org/packages/Pepperize.CDK.PrivateBucket/) | ||
[![GitHub Workflow Status (branch)](https://img.shields.io/github/workflow/status/pepperize/cdk-private-bucket/release/main?label=release&style=flat-square)](https://github.com/pepperize/cdk-private-bucket/actions/workflows/release.yml) | ||
[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/pepperize/cdk-private-bucket?sort=semver&style=flat-square)](https://github.com/pepperize/cdk-private-bucket/releases) | ||
# 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](https://docs.aws.amazon.com/cdk/api/v1/docs/@aws-cdk_aws-s3.BucketProps.html) and overrides these key-value pairs: | ||
```typescript | ||
{ | ||
blockPublicAccess: s3.BlockPublicAccess.BLOCK_ALL, | ||
enforceSSL: true, | ||
encryption: s3.BucketEncryption.S3_MANAGED, | ||
} | ||
``` | ||
The result is a privacy-oriented S3 Bucket. | ||
## Install | ||
### TypeScript | ||
```shell | ||
npm install @pepperize/cdk-private-bucket | ||
``` | ||
or | ||
```shell | ||
yarn add @pepperize/cdk-private-bucket | ||
``` | ||
### Python | ||
```shell | ||
pip install pepperize.cdk-private-bucket | ||
``` | ||
### C# / .Net | ||
``` | ||
dotnet add package Pepperize.CDK.PrivateBucket | ||
``` | ||
## Example | ||
```shell | ||
npm install @pepperize/cdk-private-bucket | ||
``` | ||
See [API.md](https://github.com/pepperize/cdk-private-bucket/blob/main/API.md). | ||
```typescript | ||
import { PrivateBucket } from "@pepperize/cdk-private-bucket"; | ||
const bucket = new PrivateBucket(this, "PrivateBucket", {}); | ||
``` |
@@ -1,1 +0,1 @@ | ||
v0.0.5 | ||
v0.0.6 |
@@ -1,1 +0,1 @@ | ||
0.0.5 | ||
0.0.6 |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
43149
61