@ttoss/cloudformation 0.5.2 → 0.5.4

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/dist/index.d.ts CHANGED
@@ -25,6 +25,9 @@ type IAMRoleResource = Resource & {
25
25
  Effect: 'Allow' | 'Deny';
26
26
  Action: string;
27
27
  Principal: any;
28
+ Condition?: {
29
+ [key: string]: any;
30
+ };
28
31
  }[];
29
32
  };
30
33
  ManagedPolicyArns?: string[];
@@ -37,9 +40,9 @@ type IAMRoleResource = Resource & {
37
40
  Effect: 'Allow' | 'Deny';
38
41
  Action: string | string[];
39
42
  Resource: string | string[] | {
40
- [key: string]: string;
43
+ [key: string]: any;
41
44
  } | {
42
- [key: string]: string;
45
+ [key: string]: any;
43
46
  }[];
44
47
  }[];
45
48
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttoss/cloudformation",
3
- "version": "0.5.2",
3
+ "version": "0.5.4",
4
4
  "description": "CloudFormation utils.",
5
5
  "license": "UNLICENSED",
6
6
  "author": "ttoss",
@@ -23,14 +23,14 @@
23
23
  "ts-node": "^10.9.1"
24
24
  },
25
25
  "devDependencies": {
26
- "@ttoss/config": "^1.28.1",
27
- "@ttoss/test-utils": "^1.20.3",
26
+ "@ttoss/config": "^1.28.2",
27
+ "@ttoss/test-utils": "^1.20.4",
28
28
  "@types/jest": "^29.4.0",
29
- "jest": "^29.4.2"
29
+ "jest": "^29.4.3"
30
30
  },
31
31
  "keywords": [],
32
32
  "publishConfig": {
33
33
  "access": "public"
34
34
  },
35
- "gitHead": "01f9bfea6d10cb472b5bf024e3bbacb6fd7cd25c"
35
+ "gitHead": "7ce61c5deab1deb32f9f2b573fe2ae6cebb778cd"
36
36
  }
@@ -26,6 +26,7 @@ export type IAMRoleResource = Resource & {
26
26
  Effect: 'Allow' | 'Deny';
27
27
  Action: string;
28
28
  Principal: any;
29
+ Condition?: { [key: string]: any };
29
30
  }[];
30
31
  };
31
32
  ManagedPolicyArns?: string[];
@@ -40,8 +41,8 @@ export type IAMRoleResource = Resource & {
40
41
  Resource:
41
42
  | string
42
43
  | string[]
43
- | { [key: string]: string }
44
- | { [key: string]: string }[];
44
+ | { [key: string]: any }
45
+ | { [key: string]: any }[];
45
46
  }[];
46
47
  };
47
48
  }[];