@aws-cf-builder/packs
Advanced tools
Comparing version 3.2.0 to 3.3.0
@@ -8,2 +8,3 @@ import { AWS } from '@aws-cf-builder/types'; | ||
cors?: AWS.S3.Bucket['Properties']['CorsConfiguration'] | boolean; | ||
accessControl?: AWS.S3.Bucket['Properties']['AccessControl']; | ||
}; | ||
@@ -10,0 +11,0 @@ /** |
@@ -19,3 +19,3 @@ (function (factory) { | ||
var _b; | ||
var id = _a.id, bucketName = _a.bucketName, _c = _a.shouldDelete, shouldDelete = _c === void 0 ? true : _c, _d = _a.blockPublicAccess, blockPublicAccess = _d === void 0 ? true : _d, _e = _a.cors, cors = _e === void 0 ? false : _e; | ||
var id = _a.id, bucketName = _a.bucketName, _c = _a.shouldDelete, shouldDelete = _c === void 0 ? true : _c, _d = _a.blockPublicAccess, blockPublicAccess = _d === void 0 ? true : _d, _e = _a.cors, cors = _e === void 0 ? false : _e, _f = _a.accessControl, accessControl = _f === void 0 ? undefined : _f; | ||
return { | ||
@@ -28,2 +28,3 @@ Resources: (_b = {}, | ||
BucketName: bucketName, | ||
AccessControl: accessControl, | ||
CorsConfiguration: typeof cors === 'object' | ||
@@ -30,0 +31,0 @@ ? cors |
{ | ||
"name": "@aws-cf-builder/packs", | ||
"version": "3.2.0", | ||
"version": "3.3.0", | ||
"main": "dist/index.js", | ||
@@ -28,4 +28,4 @@ "files": [ | ||
"dependencies": { | ||
"@aws-cf-builder/types": "^3.2.0", | ||
"@aws-cf-builder/utils": "^3.2.0", | ||
"@aws-cf-builder/types": "^3.3.0", | ||
"@aws-cf-builder/utils": "^3.3.0", | ||
"tslib": "^2.3.0", | ||
@@ -32,0 +32,0 @@ "typescript": "^4.3.5", |
Sorry, the diff of this file is not supported yet
63580
1053
Updated@aws-cf-builder/types@^3.3.0
Updated@aws-cf-builder/utils@^3.3.0