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 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.**
@@ -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
  *