@pepperize/cdk-private-bucket
Advanced tools
Comparing version 0.0.6 to 0.0.7
### [0.0.6](https://github.com/pepperize/cdk-private-bucket/compare/v0.0.5...v0.0.6) (2022-01-17) | ||
### [0.0.7](https://github.com/pepperize/cdk-private-bucket/compare/v0.0.6...v0.0.7) (2022-01-17) | ||
### [0.0.4](https://github.com/pepperize/cdk-private-bucket/compare/v0.0.5...v0.0.4) (2022-01-17) | ||
### Bug Fixes | ||
* ensure encryption is not disabled on construction ([4d44ecd](https://github.com/pepperize/cdk-private-bucket/commit/4d44ecd775c915d1f5103d8267e32b00ac6329c6)) |
@@ -15,5 +15,9 @@ "use strict"; | ||
constructor(scope, id, props = {}) { | ||
let encryption = s3.BucketEncryption.S3_MANAGED; | ||
if (props.encryption && props.encryption !== "NONE") { | ||
encryption = props.encryption; | ||
} | ||
super(scope, id, { | ||
encryption: s3.BucketEncryption.S3_MANAGED, | ||
...props, | ||
encryption: encryption, | ||
blockPublicAccess: s3.BlockPublicAccess.BLOCK_ALL, | ||
@@ -26,3 +30,3 @@ enforceSSL: true, | ||
_a = JSII_RTTI_SYMBOL_1; | ||
PrivateBucket[_a] = { fqn: "@pepperize/cdk-private-bucket.PrivateBucket", version: "0.0.6" }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxzQ0FBc0M7Ozs7QUFNdEMsTUFBYSxhQUFjLFNBQVEsRUFBRSxDQUFDLE1BQU07Ozs7SUFDMUMsWUFBWSxLQUFnQixFQUFFLEVBQVUsRUFBRSxRQUE0QixFQUFFO1FBQ3RFLEtBQUssQ0FBQyxLQUFLLEVBQUUsRUFBRSxFQUFFO1lBQ2YsVUFBVSxFQUFFLEVBQUUsQ0FBQyxnQkFBZ0IsQ0FBQyxVQUFVO1lBQzFDLEdBQUcsS0FBSztZQUNSLGlCQUFpQixFQUFFLEVBQUUsQ0FBQyxpQkFBaUIsQ0FBQyxTQUFTO1lBQ2pELFVBQVUsRUFBRSxJQUFJO1NBQ2pCLENBQUMsQ0FBQztJQUNMLENBQUM7O0FBUkgsc0NBU0MiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgKiBhcyBzMyBmcm9tIFwiQGF3cy1jZGsvYXdzLXMzXCI7XG5cbmltcG9ydCB7IENvbnN0cnVjdCB9IGZyb20gXCJAYXdzLWNkay9jb3JlXCI7XG5cbmV4cG9ydCBpbnRlcmZhY2UgUHJpdmF0ZUJ1Y2tldFByb3BzIGV4dGVuZHMgczMuQnVja2V0UHJvcHMge31cblxuZXhwb3J0IGNsYXNzIFByaXZhdGVCdWNrZXQgZXh0ZW5kcyBzMy5CdWNrZXQge1xuICBjb25zdHJ1Y3RvcihzY29wZTogQ29uc3RydWN0LCBpZDogc3RyaW5nLCBwcm9wczogUHJpdmF0ZUJ1Y2tldFByb3BzID0ge30pIHtcbiAgICBzdXBlcihzY29wZSwgaWQsIHtcbiAgICAgIGVuY3J5cHRpb246IHMzLkJ1Y2tldEVuY3J5cHRpb24uUzNfTUFOQUdFRCxcbiAgICAgIC4uLnByb3BzLFxuICAgICAgYmxvY2tQdWJsaWNBY2Nlc3M6IHMzLkJsb2NrUHVibGljQWNjZXNzLkJMT0NLX0FMTCxcbiAgICAgIGVuZm9yY2VTU0w6IHRydWUsXG4gICAgfSk7XG4gIH1cbn1cbiJdfQ== | ||
PrivateBucket[_a] = { fqn: "@pepperize/cdk-private-bucket.PrivateBucket", version: "0.0.7" }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxzQ0FBc0M7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R0VEO1xuICAgIGlmIChwcm9wcy5lbmNyeXB0aW9uICYmIHByb3BzLmVuY3J5cHRpb24gIT09IFwiTk9ORVwiKSB7XG4gICAgICBlbmNyeXB0aW9uID0gcHJvcHMuZW5jcnlwdGlvbjtcbiAgICB9XG4gICAgc3VwZXIoc2NvcGUsIGlkLCB7XG4gICAgICAuLi5wcm9wcyxcbiAgICAgIGVuY3J5cHRpb246IGVuY3J5cHRpb24sXG4gICAgICBibG9ja1B1YmxpY0FjY2VzczogczMuQmxvY2tQdWJsaWNBY2Nlc3MuQkxPQ0tfQUxMLFxuICAgICAgZW5mb3JjZVNTTDogdHJ1ZSxcbiAgICB9KTtcbiAgfVxufVxuIl19 |
@@ -86,3 +86,3 @@ { | ||
}, | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"jest": { | ||
@@ -89,0 +89,0 @@ "testMatch": [ |
@@ -1,1 +0,1 @@ | ||
v0.0.6 | ||
v0.0.7 |
@@ -1,1 +0,1 @@ | ||
0.0.6 | ||
0.0.7 |
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
43971
49