cdk-iam-floyd 0.601.2 → 0.602.0
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/.eslintrc +31 -0
- package/.prettierrc +11 -0
- package/README.md +1 -1
- package/lib/generated/s3.d.ts +13 -0
- package/lib/generated/s3.js +16 -1
- package/lib/generated/wafv2.d.ts +38 -0
- package/lib/generated/wafv2.js +43 -1
- package/lib/shared/access-level.d.ts +1 -3
- package/lib/shared/access-level.js +1 -1
- package/lib/shared/operators.js +1 -1
- package/lib/shared/policy-statement/2-conditions.d.ts +2 -6
- package/lib/shared/policy-statement/2-conditions.js +3 -3
- package/lib/shared/policy-statement/3-actions.js +3 -3
- package/lib/shared/policy-statement/4-resources.d.ts +1 -3
- package/lib/shared/policy-statement/4-resources.js +1 -1
- package/lib/shared/policy-statement/6-principals.d.ts +1 -3
- package/lib/shared/policy-statement/6-principals.js +1 -1
- package/package.json +15 -5
- package/renovate.json +12 -0
- package/lib/shared/policy-statement/README.md +0 -9
package/.eslintrc
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": [
|
|
3
|
+
"eslint:recommended",
|
|
4
|
+
"plugin:@typescript-eslint/recommended-type-checked",
|
|
5
|
+
"plugin:@typescript-eslint/stylistic-type-checked",
|
|
6
|
+
"plugin:@typescript-eslint/recommended",
|
|
7
|
+
"plugin:prettier/recommended"
|
|
8
|
+
],
|
|
9
|
+
"parser": "@typescript-eslint/parser",
|
|
10
|
+
"plugins": ["@typescript-eslint", "deprecation"],
|
|
11
|
+
"root": true,
|
|
12
|
+
"parserOptions": {
|
|
13
|
+
"project": "./tsconfig.json",
|
|
14
|
+
"tsconfigRootDir": "."
|
|
15
|
+
},
|
|
16
|
+
"ignorePatterns": ["**/*.js", "**/*.d.ts"],
|
|
17
|
+
"rules": {
|
|
18
|
+
"no-unused-vars": "off",
|
|
19
|
+
"@typescript-eslint/no-unused-vars": [
|
|
20
|
+
"error",
|
|
21
|
+
{
|
|
22
|
+
"argsIgnorePattern": "^_",
|
|
23
|
+
"varsIgnorePattern": "^_",
|
|
24
|
+
"caughtErrorsIgnorePattern": "^_"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"deprecation/deprecation": "error",
|
|
28
|
+
"prefer-template": "error",
|
|
29
|
+
"@typescript-eslint/naming-convention": "error"
|
|
30
|
+
}
|
|
31
|
+
}
|
package/.prettierrc
ADDED
package/README.md
CHANGED
|
@@ -19,7 +19,7 @@ Support for:
|
|
|
19
19
|
- 386 Services
|
|
20
20
|
- 16253 Actions
|
|
21
21
|
- 1750 Resource Types
|
|
22
|
-
-
|
|
22
|
+
- 1692 Condition keys
|
|
23
23
|
<!-- /stats -->
|
|
24
24
|
|
|
25
25
|
**<br>This is an early version of the package. The API will change while I implement new features. Therefore make sure you use an exact version in your `package.json` before it reaches 1.0.0.**
|
package/lib/generated/s3.d.ts
CHANGED
|
@@ -2340,6 +2340,7 @@ export declare class S3 extends PolicyStatement {
|
|
|
2340
2340
|
* - .ifSignatureversion()
|
|
2341
2341
|
* - .ifTlsVersion()
|
|
2342
2342
|
* - .ifXAmzContentSha256()
|
|
2343
|
+
* - .ifInventoryAccessibleOptionalFields()
|
|
2343
2344
|
*
|
|
2344
2345
|
* https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketInventoryConfiguration.html
|
|
2345
2346
|
*/
|
|
@@ -3331,6 +3332,18 @@ export declare class S3 extends PolicyStatement {
|
|
|
3331
3332
|
* @param operator Works with [string operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_String). **Default:** `StringLike`
|
|
3332
3333
|
*/
|
|
3333
3334
|
ifExistingObjectTag(key: string, value: string | string[], operator?: Operator | string): this;
|
|
3335
|
+
/**
|
|
3336
|
+
* Filters access by restricting which optional metadata fields a user can add when configuring S3 Inventory reports
|
|
3337
|
+
*
|
|
3338
|
+
* https://docs.aws.amazon.com/AmazonS3/latest/userguide/example-bucket-policies.html#example-bucket-policies-s3-inventory-2
|
|
3339
|
+
*
|
|
3340
|
+
* Applies to actions:
|
|
3341
|
+
* - .toPutInventoryConfiguration()
|
|
3342
|
+
*
|
|
3343
|
+
* @param value The value(s) to check
|
|
3344
|
+
* @param operator Works with [string operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_String). **Default:** `StringLike`
|
|
3345
|
+
*/
|
|
3346
|
+
ifInventoryAccessibleOptionalFields(value: string | string[], operator?: Operator | string): this;
|
|
3334
3347
|
/**
|
|
3335
3348
|
* Filters access by a specific job suspended cause (for example, AWAITING_CONFIRMATION) to cancelling suspended jobs
|
|
3336
3349
|
*
|