@aws-blocks/bb-file-bucket 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -35,6 +35,8 @@ const bucket = new FileBucket(scope, id, options?)
35
35
  | `corsRules` | `CorsRule[]` | CORS rules for browser-based access. |
36
36
  | `lifecycleRules` | `LifecycleRule[]` | Lifecycle rules for automatic expiration or storage class transitions. |
37
37
  | `bucket` | `ExternalBucketRef` | Wrap an existing S3 bucket instead of creating one. |
38
+ | `logger` | `ChildLogger` | Optional logger for internal operations. When omitted, a default error-level logger is created. |
39
+ | `removalPolicy` | `'destroy' \| 'retain'` | CDK removal behavior for the underlying S3 bucket. When omitted, CDK's default (RETAIN) applies; pass `'destroy'` for sandbox / ephemeral stacks. Ignored by the mock and browser runtimes. |
38
40
 
39
41
  ### PutOptions
40
42
 
@@ -192,6 +194,3 @@ Mock data persists to disk at `.bb-data/{fullId}/` across dev server restarts. I
192
194
 
193
195
 
194
196
 
195
- ## See Also
196
-
197
- - [DESIGN.md](./DESIGN.md) — Infrastructure details, mock parity gaps, and interface decisions
package/dist/version.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  export declare const BB_NAME = "FileBucket";
2
- export declare const BB_VERSION = "0.1.0";
2
+ export declare const BB_VERSION = "0.1.1";
3
3
  //# sourceMappingURL=version.d.ts.map
package/dist/version.js CHANGED
@@ -1,3 +1,3 @@
1
1
  // Auto-generated by scripts/generate-version.mjs — do not edit manually
2
2
  export const BB_NAME = 'FileBucket';
3
- export const BB_VERSION = '0.1.0';
3
+ export const BB_VERSION = '0.1.1';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-blocks/bb-file-bucket",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "author": "Amazon Web Services",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -41,8 +41,8 @@
41
41
  "test": "node --test dist/index.test.js dist/index.cdk.test.js dist/scan.test.js dist/file-server.test.js dist/url-encoding.test.js dist/path-containment.test.js dist/bucket-name.test.js"
42
42
  },
43
43
  "dependencies": {
44
- "@aws-blocks/bb-logger": "^0.1.0",
45
- "@aws-blocks/core": "^0.1.0",
44
+ "@aws-blocks/bb-logger": "^0.1.1",
45
+ "@aws-blocks/core": "^0.1.1",
46
46
  "@aws-sdk/client-s3": "^3.0.0",
47
47
  "@aws-sdk/s3-request-presigner": "^3.0.0"
48
48
  },
package/src/version.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  // Auto-generated by scripts/generate-version.mjs — do not edit manually
2
2
  export const BB_NAME = 'FileBucket';
3
- export const BB_VERSION = '0.1.0';
3
+ export const BB_VERSION = '0.1.1';