p6-cdk-s3-protector 0.0.36 → 0.0.37

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/.jsii CHANGED
@@ -4172,6 +4172,6 @@
4172
4172
  "symbolId": "src/p6cdks3protector:P6CDKS3Protector"
4173
4173
  }
4174
4174
  },
4175
- "version": "0.0.36",
4176
- "fingerprint": "L4sF1h3sqBIBHXFgieAT3QJM/l0cvauZ9WU/9LRZjqM="
4175
+ "version": "0.0.37",
4176
+ "fingerprint": "NJHBTnx2eFrqzK6umZtO0OdOBahYiKbCGAkappmQEr0="
4177
4177
  }
package/API.md CHANGED
@@ -176,12 +176,13 @@ public readonly env: ResourceEnvironment;
176
176
 
177
177
  The environment this resource belongs to.
178
178
 
179
- For resources that are created and managed by the CDK
180
- (generally, those created by creating new class instances like Role, Bucket, etc.),
181
- this is always the same as the environment of the stack they belong to;
182
- however, for imported resources
183
- (those obtained from static methods like fromRoleArn, fromBucketName, etc.),
184
- that might be different than the stack they were imported into.
179
+ For resources that are created and managed in a Stack (those created by
180
+ creating new class instances like `new Role()`, `new Bucket()`, etc.), this
181
+ is always the same as the environment of the stack they belong to.
182
+
183
+ For referenced resources (those obtained from referencing methods like
184
+ `Role.fromRoleArn()`, `Bucket.fromBucketName()`, etc.), they might be
185
+ different than the stack they were imported into.
185
186
 
186
187
  ---
187
188
 
@@ -41,7 +41,7 @@ const lambdajs = __importStar(require("aws-cdk-lib/aws-lambda-nodejs"));
41
41
  const cr = __importStar(require("aws-cdk-lib/custom-resources"));
42
42
  const floyd = __importStar(require("cdk-iam-floyd"));
43
43
  class P6CDKS3Protector extends cdk.Resource {
44
- static [JSII_RTTI_SYMBOL_1] = { fqn: "p6-cdk-s3-protector.P6CDKS3Protector", version: "0.0.36" };
44
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "p6-cdk-s3-protector.P6CDKS3Protector", version: "0.0.37" };
45
45
  constructor(scope, id) {
46
46
  super(scope, id);
47
47
  const policy = new floyd.Statement.S3().allow().toPutObject().toPutObjectAcl();
package/package.json CHANGED
@@ -55,20 +55,20 @@
55
55
  "@types/aws-lambda": "^8.10.157",
56
56
  "@types/jest": "^30.0.0",
57
57
  "@types/node": "^24.10.0",
58
- "@typescript-eslint/eslint-plugin": "^8.46.2",
59
- "@typescript-eslint/parser": "^8.46.2",
58
+ "@typescript-eslint/eslint-plugin": "^8.46.3",
59
+ "@typescript-eslint/parser": "^8.46.3",
60
60
  "aws-cdk": "^2.1031.1",
61
- "aws-cdk-lib": "^2.221.1",
61
+ "aws-cdk-lib": "^2.222.0",
62
62
  "cdk-dia": "^0.12.1",
63
63
  "constructs": "^10.4.2",
64
64
  "esbuild": "^0.25.12",
65
- "eslint": "^9.39.0",
65
+ "eslint": "^9.39.1",
66
66
  "eslint-plugin-import": "^2.32.0",
67
67
  "http-server": "^14.1.1",
68
68
  "jest": "^30.2.0",
69
69
  "jsii": "^5.9.11",
70
70
  "jsii-diff": "^1.118.0",
71
- "jsii-docgen": "^10.11.1",
71
+ "jsii-docgen": "^10.11.2",
72
72
  "jsii-pacmak": "^1.118.0",
73
73
  "jsii-rosetta": "^5.9.13",
74
74
  "publib": "^0.2.1025",
@@ -85,7 +85,7 @@
85
85
  "@aws-sdk/client-s3-control": "^3.922.0",
86
86
  "@aws-sdk/client-sts": "^3.922.0",
87
87
  "@types/aws-lambda": "^8.10.157",
88
- "aws-cdk-lib": "^2.221.1",
88
+ "aws-cdk-lib": "^2.222.0",
89
89
  "aws-sdk": "^2.1692.0",
90
90
  "cdk-iam-floyd": "^0.728.0",
91
91
  "constructs": "^10.4.2",
@@ -112,7 +112,7 @@
112
112
  "main": "lib/index.js",
113
113
  "types": "lib/index.d.ts",
114
114
  "license": "Apache-2.0",
115
- "version": "0.0.36",
115
+ "version": "0.0.37",
116
116
  "jsii": {
117
117
  "outdir": "dist",
118
118
  "tsc": {