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
|
@@ -2345,6 +2345,7 @@ export declare class S3 extends PolicyStatement {
|
|
|
2345
2345
|
* - .ifSignatureversion()
|
|
2346
2346
|
* - .ifTlsVersion()
|
|
2347
2347
|
* - .ifXAmzContentSha256()
|
|
2348
|
+
* - .ifInventoryAccessibleOptionalFields()
|
|
2348
2349
|
*
|
|
2349
2350
|
* https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketInventoryConfiguration.html
|
|
2350
2351
|
*/
|
|
@@ -3336,6 +3337,18 @@ export declare class S3 extends PolicyStatement {
|
|
|
3336
3337
|
* @param operator Works with [string operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_String). **Default:** `StringLike`
|
|
3337
3338
|
*/
|
|
3338
3339
|
ifExistingObjectTag(key: string, value: string | string[], operator?: Operator | string): this;
|
|
3340
|
+
/**
|
|
3341
|
+
* Filters access by restricting which optional metadata fields a user can add when configuring S3 Inventory reports
|
|
3342
|
+
*
|
|
3343
|
+
* https://docs.aws.amazon.com/AmazonS3/latest/userguide/example-bucket-policies.html#example-bucket-policies-s3-inventory-2
|
|
3344
|
+
*
|
|
3345
|
+
* Applies to actions:
|
|
3346
|
+
* - .toPutInventoryConfiguration()
|
|
3347
|
+
*
|
|
3348
|
+
* @param value The value(s) to check
|
|
3349
|
+
* @param operator Works with [string operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_String). **Default:** `StringLike`
|
|
3350
|
+
*/
|
|
3351
|
+
ifInventoryAccessibleOptionalFields(value: string | string[], operator?: Operator | string): this;
|
|
3339
3352
|
/**
|
|
3340
3353
|
* Filters access by a specific job suspended cause (for example, AWAITING_CONFIRMATION) to cancelling suspended jobs
|
|
3341
3354
|
*
|