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 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
@@ -0,0 +1,11 @@
1
+ {
2
+ "singleQuote": true,
3
+ "overrides": [
4
+ {
5
+ "files": ["*.yaml", "*.yml"],
6
+ "options": {
7
+ "singleQuote": false
8
+ }
9
+ }
10
+ ]
11
+ }
package/README.md CHANGED
@@ -19,7 +19,7 @@ Support for:
19
19
  - 386 Services
20
20
  - 16253 Actions
21
21
  - 1750 Resource Types
22
- - 1689 Condition keys
22
+ - 1692 Condition keys
23
23
  <!-- /stats -->
24
24
 
25
25
  ![EXPERIMENTAL](https://img.shields.io/badge/stability-experimantal-orange?style=for-the-badge)**<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.**
@@ -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
  *