@volcengine/pulumi 0.0.44 → 0.0.45

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.
Files changed (267) hide show
  1. package/iam/accessKey.d.ts +25 -56
  2. package/iam/accessKey.js +9 -20
  3. package/iam/accessKey.js.map +1 -1
  4. package/iam/accessKeyLastUseds.d.ts +86 -0
  5. package/iam/accessKeyLastUseds.js +50 -0
  6. package/iam/accessKeyLastUseds.js.map +1 -0
  7. package/iam/accessKeys.d.ts +4 -13
  8. package/iam/accessKeys.js +2 -3
  9. package/iam/accessKeys.js.map +1 -1
  10. package/iam/accountSummaries.d.ts +64 -0
  11. package/iam/accountSummaries.js +45 -0
  12. package/iam/accountSummaries.js.map +1 -0
  13. package/iam/allowedIpAddress.d.ts +89 -0
  14. package/iam/allowedIpAddress.js +84 -0
  15. package/iam/allowedIpAddress.js.map +1 -0
  16. package/iam/allowedIpAddresses.d.ts +60 -0
  17. package/iam/allowedIpAddresses.js +45 -0
  18. package/iam/allowedIpAddresses.js.map +1 -0
  19. package/iam/callerIdentities.d.ts +64 -0
  20. package/iam/callerIdentities.js +45 -0
  21. package/iam/callerIdentities.js.map +1 -0
  22. package/iam/entitiesPolicies.d.ts +105 -0
  23. package/iam/entitiesPolicies.js +53 -0
  24. package/iam/entitiesPolicies.js.map +1 -0
  25. package/iam/getAccessKeyLastUseds.d.ts +84 -0
  26. package/iam/getAccessKeyLastUseds.js +47 -0
  27. package/iam/getAccessKeyLastUseds.js.map +1 -0
  28. package/iam/getAccessKeys.d.ts +4 -13
  29. package/iam/getAccessKeys.js +2 -3
  30. package/iam/getAccessKeys.js.map +1 -1
  31. package/iam/getAccountSummaries.d.ts +62 -0
  32. package/iam/getAccountSummaries.js +42 -0
  33. package/iam/getAccountSummaries.js.map +1 -0
  34. package/iam/getAllowedIpAddresses.d.ts +58 -0
  35. package/iam/getAllowedIpAddresses.js +42 -0
  36. package/iam/getAllowedIpAddresses.js.map +1 -0
  37. package/iam/getCallerIdentities.d.ts +62 -0
  38. package/iam/getCallerIdentities.js +42 -0
  39. package/iam/getCallerIdentities.js.map +1 -0
  40. package/iam/getEntitiesPolicies.d.ts +103 -0
  41. package/iam/getEntitiesPolicies.js +50 -0
  42. package/iam/getEntitiesPolicies.js.map +1 -0
  43. package/iam/getGroupUsers.d.ts +84 -0
  44. package/iam/getGroupUsers.js +47 -0
  45. package/iam/getGroupUsers.js.map +1 -0
  46. package/iam/getIdentityProviders.d.ts +62 -0
  47. package/iam/getIdentityProviders.js +42 -0
  48. package/iam/getIdentityProviders.js.map +1 -0
  49. package/iam/getLoginProfiles.d.ts +65 -0
  50. package/iam/getLoginProfiles.js +45 -0
  51. package/iam/getLoginProfiles.js.map +1 -0
  52. package/iam/getOauthProviders.d.ts +78 -0
  53. package/iam/getOauthProviders.js +46 -0
  54. package/iam/getOauthProviders.js.map +1 -0
  55. package/iam/getOidcProviders.d.ts +2 -2
  56. package/iam/getOidcProviders.js +2 -2
  57. package/iam/getPolicies.d.ts +9 -63
  58. package/iam/getPolicies.js +5 -21
  59. package/iam/getPolicies.js.map +1 -1
  60. package/iam/getRolePolicyAttachments.d.ts +62 -0
  61. package/iam/getRolePolicyAttachments.js +45 -0
  62. package/iam/getRolePolicyAttachments.js.map +1 -0
  63. package/iam/getRoles.d.ts +6 -48
  64. package/iam/getRoles.js +4 -35
  65. package/iam/getRoles.js.map +1 -1
  66. package/iam/getSamlProviders.d.ts +2 -2
  67. package/iam/getSamlProviders.js +2 -2
  68. package/iam/getSecurityConfigs.d.ts +74 -0
  69. package/iam/getSecurityConfigs.js +46 -0
  70. package/iam/getSecurityConfigs.js.map +1 -0
  71. package/iam/getTags.d.ts +91 -0
  72. package/iam/getTags.js +47 -0
  73. package/iam/getTags.js.map +1 -0
  74. package/iam/getUserGroupAttachments.d.ts +75 -0
  75. package/iam/getUserGroupAttachments.js +46 -0
  76. package/iam/getUserGroupAttachments.js.map +1 -0
  77. package/iam/getUserGroupPolicyAttachments.d.ts +4 -36
  78. package/iam/getUserGroupPolicyAttachments.js +4 -36
  79. package/iam/getUserGroupPolicyAttachments.js.map +1 -1
  80. package/iam/getUserGroups.d.ts +6 -18
  81. package/iam/getUserGroups.js +4 -16
  82. package/iam/getUserGroups.js.map +1 -1
  83. package/iam/getUserPolicyAttachments.d.ts +62 -0
  84. package/iam/getUserPolicyAttachments.js +45 -0
  85. package/iam/getUserPolicyAttachments.js.map +1 -0
  86. package/iam/getUsers.d.ts +9 -30
  87. package/iam/getUsers.js +5 -18
  88. package/iam/getUsers.js.map +1 -1
  89. package/iam/groupUsers.d.ts +86 -0
  90. package/iam/groupUsers.js +50 -0
  91. package/iam/groupUsers.js.map +1 -0
  92. package/iam/identityProviders.d.ts +64 -0
  93. package/iam/identityProviders.js +45 -0
  94. package/iam/identityProviders.js.map +1 -0
  95. package/iam/index.d.ts +105 -0
  96. package/iam/index.js +122 -1
  97. package/iam/index.js.map +1 -1
  98. package/iam/loginProfile.d.ts +135 -11
  99. package/iam/loginProfile.js +35 -9
  100. package/iam/loginProfile.js.map +1 -1
  101. package/iam/loginProfiles.d.ts +67 -0
  102. package/iam/loginProfiles.js +48 -0
  103. package/iam/loginProfiles.js.map +1 -0
  104. package/iam/oauthProvider.d.ts +257 -0
  105. package/iam/oauthProvider.js +146 -0
  106. package/iam/oauthProvider.js.map +1 -0
  107. package/iam/oauthProviders.d.ts +80 -0
  108. package/iam/oauthProviders.js +49 -0
  109. package/iam/oauthProviders.js.map +1 -0
  110. package/iam/oidcProvider.d.ts +5 -11
  111. package/iam/oidcProvider.js +5 -11
  112. package/iam/oidcProvider.js.map +1 -1
  113. package/iam/oidcProviderClient.d.ts +78 -0
  114. package/iam/oidcProviderClient.js +75 -0
  115. package/iam/oidcProviderClient.js.map +1 -0
  116. package/iam/oidcProviderThumbprint.d.ts +78 -0
  117. package/iam/oidcProviderThumbprint.js +75 -0
  118. package/iam/oidcProviderThumbprint.js.map +1 -0
  119. package/iam/oidcProviders.d.ts +2 -2
  120. package/iam/oidcProviders.js +2 -2
  121. package/iam/policies.d.ts +9 -63
  122. package/iam/policies.js +5 -21
  123. package/iam/policies.js.map +1 -1
  124. package/iam/policy.d.ts +26 -2
  125. package/iam/policy.js +8 -2
  126. package/iam/policy.js.map +1 -1
  127. package/iam/policyProject.d.ts +121 -0
  128. package/iam/policyProject.js +97 -0
  129. package/iam/policyProject.js.map +1 -0
  130. package/iam/role.d.ts +41 -7
  131. package/iam/role.js +13 -9
  132. package/iam/role.js.map +1 -1
  133. package/iam/rolePolicyAttachment.d.ts +3 -15
  134. package/iam/rolePolicyAttachment.js +3 -15
  135. package/iam/rolePolicyAttachment.js.map +1 -1
  136. package/iam/rolePolicyAttachments.d.ts +64 -0
  137. package/iam/rolePolicyAttachments.js +48 -0
  138. package/iam/rolePolicyAttachments.js.map +1 -0
  139. package/iam/roles.d.ts +6 -48
  140. package/iam/roles.js +4 -35
  141. package/iam/roles.js.map +1 -1
  142. package/iam/samlProviders.d.ts +2 -2
  143. package/iam/samlProviders.js +2 -2
  144. package/iam/securityConfig.d.ts +107 -0
  145. package/iam/securityConfig.js +82 -0
  146. package/iam/securityConfig.js.map +1 -0
  147. package/iam/securityConfigs.d.ts +76 -0
  148. package/iam/securityConfigs.js +49 -0
  149. package/iam/securityConfigs.js.map +1 -0
  150. package/iam/serviceLinkedRole.d.ts +22 -2
  151. package/iam/serviceLinkedRole.js +10 -2
  152. package/iam/serviceLinkedRole.js.map +1 -1
  153. package/iam/tag.d.ts +106 -0
  154. package/iam/tag.js +91 -0
  155. package/iam/tag.js.map +1 -0
  156. package/iam/tags.d.ts +93 -0
  157. package/iam/tags.js +50 -0
  158. package/iam/tags.js.map +1 -0
  159. package/iam/user.d.ts +24 -4
  160. package/iam/user.js +9 -1
  161. package/iam/user.js.map +1 -1
  162. package/iam/userGroup.d.ts +3 -3
  163. package/iam/userGroup.js +3 -3
  164. package/iam/userGroupAttachment.d.ts +3 -13
  165. package/iam/userGroupAttachment.js +3 -13
  166. package/iam/userGroupAttachment.js.map +1 -1
  167. package/iam/userGroupAttachments.d.ts +77 -0
  168. package/iam/userGroupAttachments.js +49 -0
  169. package/iam/userGroupAttachments.js.map +1 -0
  170. package/iam/userGroupPolicyAttachment.d.ts +3 -13
  171. package/iam/userGroupPolicyAttachment.js +3 -13
  172. package/iam/userGroupPolicyAttachment.js.map +1 -1
  173. package/iam/userGroupPolicyAttachments.d.ts +4 -36
  174. package/iam/userGroupPolicyAttachments.js +4 -36
  175. package/iam/userGroupPolicyAttachments.js.map +1 -1
  176. package/iam/userGroups.d.ts +6 -18
  177. package/iam/userGroups.js +4 -16
  178. package/iam/userGroups.js.map +1 -1
  179. package/iam/userPolicyAttachment.d.ts +3 -12
  180. package/iam/userPolicyAttachment.js +3 -12
  181. package/iam/userPolicyAttachment.js.map +1 -1
  182. package/iam/userPolicyAttachments.d.ts +64 -0
  183. package/iam/userPolicyAttachments.js +48 -0
  184. package/iam/userPolicyAttachments.js.map +1 -0
  185. package/iam/users.d.ts +9 -30
  186. package/iam/users.js +5 -18
  187. package/iam/users.js.map +1 -1
  188. package/package.json +1 -1
  189. package/tls/checkPoints.d.ts +109 -0
  190. package/tls/checkPoints.js +58 -0
  191. package/tls/checkPoints.js.map +1 -0
  192. package/tls/describeTraces.d.ts +4 -4
  193. package/tls/describeTraces.js +4 -4
  194. package/tls/downloadTask.d.ts +13 -9
  195. package/tls/downloadTask.js +13 -9
  196. package/tls/downloadTask.js.map +1 -1
  197. package/tls/downloadTasks.d.ts +4 -6
  198. package/tls/downloadTasks.js +4 -6
  199. package/tls/downloadTasks.js.map +1 -1
  200. package/tls/downloadUrls.d.ts +2 -2
  201. package/tls/downloadUrls.js +2 -2
  202. package/tls/etlTask.d.ts +1 -1
  203. package/tls/etlTask.js +1 -1
  204. package/tls/getCheckPoints.d.ts +107 -0
  205. package/tls/getCheckPoints.js +55 -0
  206. package/tls/getCheckPoints.js.map +1 -0
  207. package/tls/getDescribeTraces.d.ts +4 -4
  208. package/tls/getDescribeTraces.js +4 -4
  209. package/tls/getDownloadTasks.d.ts +4 -6
  210. package/tls/getDownloadTasks.js +4 -6
  211. package/tls/getDownloadTasks.js.map +1 -1
  212. package/tls/getDownloadUrls.d.ts +2 -2
  213. package/tls/getDownloadUrls.js +2 -2
  214. package/tls/getHostGroupRules.d.ts +2 -2
  215. package/tls/getHostGroupRules.js +2 -2
  216. package/tls/getIndexes.d.ts +14 -11
  217. package/tls/getIndexes.js +3 -3
  218. package/tls/getIndexes.js.map +1 -1
  219. package/tls/getLogCursors.d.ts +102 -0
  220. package/tls/getLogCursors.js +52 -0
  221. package/tls/getLogCursors.js.map +1 -0
  222. package/tls/getRuleBoundHostGroups.d.ts +2 -2
  223. package/tls/getRuleBoundHostGroups.js +2 -2
  224. package/tls/getRules.d.ts +8 -8
  225. package/tls/getRules.js +8 -8
  226. package/tls/getSearchTraces.d.ts +10 -4
  227. package/tls/getSearchTraces.js +10 -4
  228. package/tls/getSearchTraces.js.map +1 -1
  229. package/tls/getTags.d.ts +2 -2
  230. package/tls/getTags.js +2 -2
  231. package/tls/hostGroup.d.ts +2 -2
  232. package/tls/hostGroup.js +2 -2
  233. package/tls/hostGroupRules.d.ts +2 -2
  234. package/tls/hostGroupRules.js +2 -2
  235. package/tls/index.d.ts +12 -0
  236. package/tls/index.js +16 -3
  237. package/tls/index.js.map +1 -1
  238. package/tls/index_.d.ts +11 -7
  239. package/tls/index_.js +11 -7
  240. package/tls/index_.js.map +1 -1
  241. package/tls/indexes.d.ts +14 -11
  242. package/tls/indexes.js +3 -3
  243. package/tls/indexes.js.map +1 -1
  244. package/tls/logCursors.d.ts +104 -0
  245. package/tls/logCursors.js +55 -0
  246. package/tls/logCursors.js.map +1 -0
  247. package/tls/project.d.ts +1 -1
  248. package/tls/project.js +1 -1
  249. package/tls/rule.d.ts +10 -10
  250. package/tls/rule.js +10 -10
  251. package/tls/ruleBoundHostGroups.d.ts +2 -2
  252. package/tls/ruleBoundHostGroups.js +2 -2
  253. package/tls/rules.d.ts +8 -8
  254. package/tls/rules.js +8 -8
  255. package/tls/searchTraces.d.ts +10 -4
  256. package/tls/searchTraces.js +10 -4
  257. package/tls/searchTraces.js.map +1 -1
  258. package/tls/shard.d.ts +2 -2
  259. package/tls/shard.js +2 -2
  260. package/tls/shipper.d.ts +1 -1
  261. package/tls/shipper.js +1 -1
  262. package/tls/tags.d.ts +2 -2
  263. package/tls/tags.js +2 -2
  264. package/tls/traceInstance.d.ts +1 -1
  265. package/tls/traceInstance.js +1 -1
  266. package/types/input.d.ts +79 -1
  267. package/types/output.d.ts +1744 -230
@@ -0,0 +1,107 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a resource to manage iam security config
4
+ * ## Example Usage
5
+ *
6
+ * ```typescript
7
+ * import * as pulumi from "@pulumi/pulumi";
8
+ * import * as volcengine from "@volcengine/pulumi";
9
+ *
10
+ * const foo = new volcengine.iam.SecurityConfig("foo", {
11
+ * safeAuthExemptDuration: 11,
12
+ * safeAuthType: "email",
13
+ * userName: "jonny",
14
+ * });
15
+ * ```
16
+ *
17
+ * ## Import
18
+ *
19
+ * Iam SecurityConfig key don't support import
20
+ */
21
+ export declare class SecurityConfig extends pulumi.CustomResource {
22
+ /**
23
+ * Get an existing SecurityConfig resource's state with the given name, ID, and optional extra
24
+ * properties used to qualify the lookup.
25
+ *
26
+ * @param name The _unique_ name of the resulting resource.
27
+ * @param id The _unique_ provider ID of the resource to lookup.
28
+ * @param state Any extra arguments used during the lookup.
29
+ * @param opts Optional settings to control the behavior of the CustomResource.
30
+ */
31
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SecurityConfigState, opts?: pulumi.CustomResourceOptions): SecurityConfig;
32
+ /**
33
+ * Returns true if the given object is an instance of SecurityConfig. This is designed to work even
34
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
35
+ */
36
+ static isInstance(obj: any): obj is SecurityConfig;
37
+ /**
38
+ * The status of safe auth, Ensure the setting scope is for a single sub-account only.
39
+ */
40
+ readonly safeAuthClose: pulumi.Output<number>;
41
+ /**
42
+ * The exempt duration of safe auth, Ensure the setting scope is for a single sub-account only.
43
+ */
44
+ readonly safeAuthExemptDuration: pulumi.Output<number | undefined>;
45
+ /**
46
+ * The type of safe auth, Ensure the setting scope is for a single sub-account only.
47
+ */
48
+ readonly safeAuthType: pulumi.Output<string>;
49
+ /**
50
+ * The user id.
51
+ */
52
+ readonly userId: pulumi.Output<number>;
53
+ /**
54
+ * The user name.
55
+ */
56
+ readonly userName: pulumi.Output<string>;
57
+ /**
58
+ * Create a SecurityConfig resource with the given unique name, arguments, and options.
59
+ *
60
+ * @param name The _unique_ name of the resource.
61
+ * @param args The arguments to use to populate this resource's properties.
62
+ * @param opts A bag of options that control this resource's behavior.
63
+ */
64
+ constructor(name: string, args: SecurityConfigArgs, opts?: pulumi.CustomResourceOptions);
65
+ }
66
+ /**
67
+ * Input properties used for looking up and filtering SecurityConfig resources.
68
+ */
69
+ export interface SecurityConfigState {
70
+ /**
71
+ * The status of safe auth, Ensure the setting scope is for a single sub-account only.
72
+ */
73
+ safeAuthClose?: pulumi.Input<number>;
74
+ /**
75
+ * The exempt duration of safe auth, Ensure the setting scope is for a single sub-account only.
76
+ */
77
+ safeAuthExemptDuration?: pulumi.Input<number>;
78
+ /**
79
+ * The type of safe auth, Ensure the setting scope is for a single sub-account only.
80
+ */
81
+ safeAuthType?: pulumi.Input<string>;
82
+ /**
83
+ * The user id.
84
+ */
85
+ userId?: pulumi.Input<number>;
86
+ /**
87
+ * The user name.
88
+ */
89
+ userName?: pulumi.Input<string>;
90
+ }
91
+ /**
92
+ * The set of arguments for constructing a SecurityConfig resource.
93
+ */
94
+ export interface SecurityConfigArgs {
95
+ /**
96
+ * The exempt duration of safe auth, Ensure the setting scope is for a single sub-account only.
97
+ */
98
+ safeAuthExemptDuration?: pulumi.Input<number>;
99
+ /**
100
+ * The type of safe auth, Ensure the setting scope is for a single sub-account only.
101
+ */
102
+ safeAuthType: pulumi.Input<string>;
103
+ /**
104
+ * The user name.
105
+ */
106
+ userName: pulumi.Input<string>;
107
+ }
@@ -0,0 +1,82 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.SecurityConfig = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a resource to manage iam security config
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@volcengine/pulumi";
15
+ *
16
+ * const foo = new volcengine.iam.SecurityConfig("foo", {
17
+ * safeAuthExemptDuration: 11,
18
+ * safeAuthType: "email",
19
+ * userName: "jonny",
20
+ * });
21
+ * ```
22
+ *
23
+ * ## Import
24
+ *
25
+ * Iam SecurityConfig key don't support import
26
+ */
27
+ class SecurityConfig extends pulumi.CustomResource {
28
+ /**
29
+ * Get an existing SecurityConfig resource's state with the given name, ID, and optional extra
30
+ * properties used to qualify the lookup.
31
+ *
32
+ * @param name The _unique_ name of the resulting resource.
33
+ * @param id The _unique_ provider ID of the resource to lookup.
34
+ * @param state Any extra arguments used during the lookup.
35
+ * @param opts Optional settings to control the behavior of the CustomResource.
36
+ */
37
+ static get(name, id, state, opts) {
38
+ return new SecurityConfig(name, state, Object.assign(Object.assign({}, opts), { id: id }));
39
+ }
40
+ /**
41
+ * Returns true if the given object is an instance of SecurityConfig. This is designed to work even
42
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
43
+ */
44
+ static isInstance(obj) {
45
+ if (obj === undefined || obj === null) {
46
+ return false;
47
+ }
48
+ return obj['__pulumiType'] === SecurityConfig.__pulumiType;
49
+ }
50
+ constructor(name, argsOrState, opts) {
51
+ let resourceInputs = {};
52
+ opts = opts || {};
53
+ if (opts.id) {
54
+ const state = argsOrState;
55
+ resourceInputs["safeAuthClose"] = state ? state.safeAuthClose : undefined;
56
+ resourceInputs["safeAuthExemptDuration"] = state ? state.safeAuthExemptDuration : undefined;
57
+ resourceInputs["safeAuthType"] = state ? state.safeAuthType : undefined;
58
+ resourceInputs["userId"] = state ? state.userId : undefined;
59
+ resourceInputs["userName"] = state ? state.userName : undefined;
60
+ }
61
+ else {
62
+ const args = argsOrState;
63
+ if ((!args || args.safeAuthType === undefined) && !opts.urn) {
64
+ throw new Error("Missing required property 'safeAuthType'");
65
+ }
66
+ if ((!args || args.userName === undefined) && !opts.urn) {
67
+ throw new Error("Missing required property 'userName'");
68
+ }
69
+ resourceInputs["safeAuthExemptDuration"] = args ? args.safeAuthExemptDuration : undefined;
70
+ resourceInputs["safeAuthType"] = args ? args.safeAuthType : undefined;
71
+ resourceInputs["userName"] = args ? args.userName : undefined;
72
+ resourceInputs["safeAuthClose"] = undefined /*out*/;
73
+ resourceInputs["userId"] = undefined /*out*/;
74
+ }
75
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
76
+ super(SecurityConfig.__pulumiType, name, resourceInputs, opts);
77
+ }
78
+ }
79
+ exports.SecurityConfig = SecurityConfig;
80
+ /** @internal */
81
+ SecurityConfig.__pulumiType = 'volcengine:iam/securityConfig:SecurityConfig';
82
+ //# sourceMappingURL=securityConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"securityConfig.js","sourceRoot":"","sources":["../../iam/securityConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EA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CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACrD,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,cAAc,CAAC,wBAAwB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1F,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AAnFL,wCAoFC;AAtEG,gBAAgB;AACO,2BAAY,GAAG,8CAA8C,CAAC"}
@@ -0,0 +1,76 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Use this data source to query detailed information of iam security configs
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as volcengine from "@pulumi/volcengine";
10
+ *
11
+ * const default = volcengine.iam.getSecurityConfigs({
12
+ * userName: "jonny",
13
+ * });
14
+ * ```
15
+ */
16
+ /** @deprecated volcengine.iam.SecurityConfigs has been deprecated in favor of volcengine.iam.getSecurityConfigs */
17
+ export declare function securityConfigs(args: SecurityConfigsArgs, opts?: pulumi.InvokeOptions): Promise<SecurityConfigsResult>;
18
+ /**
19
+ * A collection of arguments for invoking SecurityConfigs.
20
+ */
21
+ export interface SecurityConfigsArgs {
22
+ /**
23
+ * File name where to save data source results.
24
+ */
25
+ outputFile?: string;
26
+ /**
27
+ * The user name.
28
+ */
29
+ userName: string;
30
+ }
31
+ /**
32
+ * A collection of values returned by SecurityConfigs.
33
+ */
34
+ export interface SecurityConfigsResult {
35
+ /**
36
+ * The provider-assigned unique ID for this managed resource.
37
+ */
38
+ readonly id: string;
39
+ readonly outputFile?: string;
40
+ /**
41
+ * The collection of security configs.
42
+ */
43
+ readonly securityConfigs: outputs.iam.SecurityConfigsSecurityConfig[];
44
+ /**
45
+ * The user name.
46
+ */
47
+ readonly userName: string;
48
+ }
49
+ /**
50
+ * Use this data source to query detailed information of iam security configs
51
+ * ## Example Usage
52
+ *
53
+ * ```typescript
54
+ * import * as pulumi from "@pulumi/pulumi";
55
+ * import * as volcengine from "@pulumi/volcengine";
56
+ *
57
+ * const default = volcengine.iam.getSecurityConfigs({
58
+ * userName: "jonny",
59
+ * });
60
+ * ```
61
+ */
62
+ /** @deprecated volcengine.iam.SecurityConfigs has been deprecated in favor of volcengine.iam.getSecurityConfigs */
63
+ export declare function securityConfigsOutput(args: SecurityConfigsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<SecurityConfigsResult>;
64
+ /**
65
+ * A collection of arguments for invoking SecurityConfigs.
66
+ */
67
+ export interface SecurityConfigsOutputArgs {
68
+ /**
69
+ * File name where to save data source results.
70
+ */
71
+ outputFile?: pulumi.Input<string>;
72
+ /**
73
+ * The user name.
74
+ */
75
+ userName: pulumi.Input<string>;
76
+ }
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.securityConfigsOutput = exports.securityConfigs = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Use this data source to query detailed information of iam security configs
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@pulumi/volcengine";
15
+ *
16
+ * const default = volcengine.iam.getSecurityConfigs({
17
+ * userName: "jonny",
18
+ * });
19
+ * ```
20
+ */
21
+ /** @deprecated volcengine.iam.SecurityConfigs has been deprecated in favor of volcengine.iam.getSecurityConfigs */
22
+ function securityConfigs(args, opts) {
23
+ pulumi.log.warn("securityConfigs is deprecated: volcengine.iam.SecurityConfigs has been deprecated in favor of volcengine.iam.getSecurityConfigs");
24
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
25
+ return pulumi.runtime.invoke("volcengine:iam/securityConfigs:SecurityConfigs", {
26
+ "outputFile": args.outputFile,
27
+ "userName": args.userName,
28
+ }, opts);
29
+ }
30
+ exports.securityConfigs = securityConfigs;
31
+ /**
32
+ * Use this data source to query detailed information of iam security configs
33
+ * ## Example Usage
34
+ *
35
+ * ```typescript
36
+ * import * as pulumi from "@pulumi/pulumi";
37
+ * import * as volcengine from "@pulumi/volcengine";
38
+ *
39
+ * const default = volcengine.iam.getSecurityConfigs({
40
+ * userName: "jonny",
41
+ * });
42
+ * ```
43
+ */
44
+ /** @deprecated volcengine.iam.SecurityConfigs has been deprecated in favor of volcengine.iam.getSecurityConfigs */
45
+ function securityConfigsOutput(args, opts) {
46
+ return pulumi.output(args).apply((a) => securityConfigs(a, opts));
47
+ }
48
+ exports.securityConfigsOutput = securityConfigsOutput;
49
+ //# sourceMappingURL=securityConfigs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"securityConfigs.js","sourceRoot":"","sources":["../../iam/securityConfigs.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,mHAAmH;AACnH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,iIAAiI,CAAC,CAAA;IAElJ,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gDAAgD,EAAE;QAC3E,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0CAQC;AAkCD;;;;;;;;;;;;GAYG;AACH,mHAAmH;AACnH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1E,CAAC;AAFD,sDAEC"}
@@ -1,4 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
2
4
  /**
3
5
  * Provides a resource to manage iam service linked role
4
6
  * ## Example Usage
@@ -7,7 +9,13 @@ import * as pulumi from "@pulumi/pulumi";
7
9
  * import * as pulumi from "@pulumi/pulumi";
8
10
  * import * as volcengine from "@volcengine/pulumi";
9
11
  *
10
- * const foo = new volcengine.iam.ServiceLinkedRole("foo", {serviceName: "ecs"});
12
+ * const foo = new volcengine.iam.ServiceLinkedRole("foo", {
13
+ * serviceName: "ecs",
14
+ * tags: [{
15
+ * key: "key-2",
16
+ * value: "value-3",
17
+ * }],
18
+ * });
11
19
  * ```
12
20
  *
13
21
  * ## Import
@@ -15,7 +23,7 @@ import * as pulumi from "@pulumi/pulumi";
15
23
  * IamServiceLinkedRole can be imported using the id, e.g.
16
24
  *
17
25
  * ```sh
18
- * $ pulumi import volcengine:iam/serviceLinkedRole:ServiceLinkedRole default resource_id
26
+ * $ pulumi import volcengine:iam/serviceLinkedRole:ServiceLinkedRole default service_name:role_name
19
27
  * ```
20
28
  */
21
29
  export declare class ServiceLinkedRole extends pulumi.CustomResource {
@@ -50,6 +58,10 @@ export declare class ServiceLinkedRole extends pulumi.CustomResource {
50
58
  * The status of the role.
51
59
  */
52
60
  readonly status: pulumi.Output<string>;
61
+ /**
62
+ * Tags.
63
+ */
64
+ readonly tags: pulumi.Output<outputs.iam.ServiceLinkedRoleTag[] | undefined>;
53
65
  /**
54
66
  * Create a ServiceLinkedRole resource with the given unique name, arguments, and options.
55
67
  *
@@ -79,6 +91,10 @@ export interface ServiceLinkedRoleState {
79
91
  * The status of the role.
80
92
  */
81
93
  status?: pulumi.Input<string>;
94
+ /**
95
+ * Tags.
96
+ */
97
+ tags?: pulumi.Input<pulumi.Input<inputs.iam.ServiceLinkedRoleTag>[]>;
82
98
  }
83
99
  /**
84
100
  * The set of arguments for constructing a ServiceLinkedRole resource.
@@ -88,4 +104,8 @@ export interface ServiceLinkedRoleArgs {
88
104
  * The name of the service.
89
105
  */
90
106
  serviceName: pulumi.Input<string>;
107
+ /**
108
+ * Tags.
109
+ */
110
+ tags?: pulumi.Input<pulumi.Input<inputs.iam.ServiceLinkedRoleTag>[]>;
91
111
  }
@@ -13,7 +13,13 @@ const utilities = require("../utilities");
13
13
  * import * as pulumi from "@pulumi/pulumi";
14
14
  * import * as volcengine from "@volcengine/pulumi";
15
15
  *
16
- * const foo = new volcengine.iam.ServiceLinkedRole("foo", {serviceName: "ecs"});
16
+ * const foo = new volcengine.iam.ServiceLinkedRole("foo", {
17
+ * serviceName: "ecs",
18
+ * tags: [{
19
+ * key: "key-2",
20
+ * value: "value-3",
21
+ * }],
22
+ * });
17
23
  * ```
18
24
  *
19
25
  * ## Import
@@ -21,7 +27,7 @@ const utilities = require("../utilities");
21
27
  * IamServiceLinkedRole can be imported using the id, e.g.
22
28
  *
23
29
  * ```sh
24
- * $ pulumi import volcengine:iam/serviceLinkedRole:ServiceLinkedRole default resource_id
30
+ * $ pulumi import volcengine:iam/serviceLinkedRole:ServiceLinkedRole default service_name:role_name
25
31
  * ```
26
32
  */
27
33
  class ServiceLinkedRole extends pulumi.CustomResource {
@@ -56,6 +62,7 @@ class ServiceLinkedRole extends pulumi.CustomResource {
56
62
  resourceInputs["roleName"] = state ? state.roleName : undefined;
57
63
  resourceInputs["serviceName"] = state ? state.serviceName : undefined;
58
64
  resourceInputs["status"] = state ? state.status : undefined;
65
+ resourceInputs["tags"] = state ? state.tags : undefined;
59
66
  }
60
67
  else {
61
68
  const args = argsOrState;
@@ -63,6 +70,7 @@ class ServiceLinkedRole extends pulumi.CustomResource {
63
70
  throw new Error("Missing required property 'serviceName'");
64
71
  }
65
72
  resourceInputs["serviceName"] = args ? args.serviceName : undefined;
73
+ resourceInputs["tags"] = args ? args.tags : undefined;
66
74
  resourceInputs["roleId"] = undefined /*out*/;
67
75
  resourceInputs["roleName"] = undefined /*out*/;
68
76
  resourceInputs["status"] = undefined /*out*/;
@@ -1 +1 @@
1
- {"version":3,"file":"serviceLinkedRole.js","sourceRoot":"","sources":["../../iam/serviceLinkedRole.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CA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AAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AAhFL,8CAiFC;AAnEG,gBAAgB;AACO,8BAAY,GAAG,oDAAoD,CAAC"}
package/iam/tag.d.ts ADDED
@@ -0,0 +1,106 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Provides a resource to manage iam tag
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as volcengine from "@volcengine/pulumi";
11
+ *
12
+ * const foo = new volcengine.iam.Tag("foo", {
13
+ * resourceNames: ["jonny"],
14
+ * resourceType: "User",
15
+ * tags: [
16
+ * {
17
+ * key: "key4",
18
+ * value: "value4",
19
+ * },
20
+ * {
21
+ * key: "key3",
22
+ * value: "value3",
23
+ * },
24
+ * ],
25
+ * });
26
+ * ```
27
+ *
28
+ * ## Import
29
+ *
30
+ * Iam tag can be imported using the ResourceType, ResourceName and TagKey, e.g.
31
+ *
32
+ * ```sh
33
+ * $ pulumi import volcengine:iam/tag:Tag default User:jonny:key1
34
+ * ```
35
+ */
36
+ export declare class Tag extends pulumi.CustomResource {
37
+ /**
38
+ * Get an existing Tag resource's state with the given name, ID, and optional extra
39
+ * properties used to qualify the lookup.
40
+ *
41
+ * @param name The _unique_ name of the resulting resource.
42
+ * @param id The _unique_ provider ID of the resource to lookup.
43
+ * @param state Any extra arguments used during the lookup.
44
+ * @param opts Optional settings to control the behavior of the CustomResource.
45
+ */
46
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TagState, opts?: pulumi.CustomResourceOptions): Tag;
47
+ /**
48
+ * Returns true if the given object is an instance of Tag. This is designed to work even
49
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
50
+ */
51
+ static isInstance(obj: any): obj is Tag;
52
+ /**
53
+ * The names of the resource.
54
+ */
55
+ readonly resourceNames: pulumi.Output<string[]>;
56
+ /**
57
+ * The type of the resource. Valid values: User, Role.
58
+ */
59
+ readonly resourceType: pulumi.Output<string>;
60
+ /**
61
+ * Tags.
62
+ */
63
+ readonly tags: pulumi.Output<outputs.iam.TagTag[] | undefined>;
64
+ /**
65
+ * Create a Tag resource with the given unique name, arguments, and options.
66
+ *
67
+ * @param name The _unique_ name of the resource.
68
+ * @param args The arguments to use to populate this resource's properties.
69
+ * @param opts A bag of options that control this resource's behavior.
70
+ */
71
+ constructor(name: string, args: TagArgs, opts?: pulumi.CustomResourceOptions);
72
+ }
73
+ /**
74
+ * Input properties used for looking up and filtering Tag resources.
75
+ */
76
+ export interface TagState {
77
+ /**
78
+ * The names of the resource.
79
+ */
80
+ resourceNames?: pulumi.Input<pulumi.Input<string>[]>;
81
+ /**
82
+ * The type of the resource. Valid values: User, Role.
83
+ */
84
+ resourceType?: pulumi.Input<string>;
85
+ /**
86
+ * Tags.
87
+ */
88
+ tags?: pulumi.Input<pulumi.Input<inputs.iam.TagTag>[]>;
89
+ }
90
+ /**
91
+ * The set of arguments for constructing a Tag resource.
92
+ */
93
+ export interface TagArgs {
94
+ /**
95
+ * The names of the resource.
96
+ */
97
+ resourceNames: pulumi.Input<pulumi.Input<string>[]>;
98
+ /**
99
+ * The type of the resource. Valid values: User, Role.
100
+ */
101
+ resourceType: pulumi.Input<string>;
102
+ /**
103
+ * Tags.
104
+ */
105
+ tags?: pulumi.Input<pulumi.Input<inputs.iam.TagTag>[]>;
106
+ }
package/iam/tag.js ADDED
@@ -0,0 +1,91 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.Tag = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a resource to manage iam tag
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@volcengine/pulumi";
15
+ *
16
+ * const foo = new volcengine.iam.Tag("foo", {
17
+ * resourceNames: ["jonny"],
18
+ * resourceType: "User",
19
+ * tags: [
20
+ * {
21
+ * key: "key4",
22
+ * value: "value4",
23
+ * },
24
+ * {
25
+ * key: "key3",
26
+ * value: "value3",
27
+ * },
28
+ * ],
29
+ * });
30
+ * ```
31
+ *
32
+ * ## Import
33
+ *
34
+ * Iam tag can be imported using the ResourceType, ResourceName and TagKey, e.g.
35
+ *
36
+ * ```sh
37
+ * $ pulumi import volcengine:iam/tag:Tag default User:jonny:key1
38
+ * ```
39
+ */
40
+ class Tag extends pulumi.CustomResource {
41
+ /**
42
+ * Get an existing Tag resource's state with the given name, ID, and optional extra
43
+ * properties used to qualify the lookup.
44
+ *
45
+ * @param name The _unique_ name of the resulting resource.
46
+ * @param id The _unique_ provider ID of the resource to lookup.
47
+ * @param state Any extra arguments used during the lookup.
48
+ * @param opts Optional settings to control the behavior of the CustomResource.
49
+ */
50
+ static get(name, id, state, opts) {
51
+ return new Tag(name, state, Object.assign(Object.assign({}, opts), { id: id }));
52
+ }
53
+ /**
54
+ * Returns true if the given object is an instance of Tag. This is designed to work even
55
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
56
+ */
57
+ static isInstance(obj) {
58
+ if (obj === undefined || obj === null) {
59
+ return false;
60
+ }
61
+ return obj['__pulumiType'] === Tag.__pulumiType;
62
+ }
63
+ constructor(name, argsOrState, opts) {
64
+ let resourceInputs = {};
65
+ opts = opts || {};
66
+ if (opts.id) {
67
+ const state = argsOrState;
68
+ resourceInputs["resourceNames"] = state ? state.resourceNames : undefined;
69
+ resourceInputs["resourceType"] = state ? state.resourceType : undefined;
70
+ resourceInputs["tags"] = state ? state.tags : undefined;
71
+ }
72
+ else {
73
+ const args = argsOrState;
74
+ if ((!args || args.resourceNames === undefined) && !opts.urn) {
75
+ throw new Error("Missing required property 'resourceNames'");
76
+ }
77
+ if ((!args || args.resourceType === undefined) && !opts.urn) {
78
+ throw new Error("Missing required property 'resourceType'");
79
+ }
80
+ resourceInputs["resourceNames"] = args ? args.resourceNames : undefined;
81
+ resourceInputs["resourceType"] = args ? args.resourceType : undefined;
82
+ resourceInputs["tags"] = args ? args.tags : undefined;
83
+ }
84
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
85
+ super(Tag.__pulumiType, name, resourceInputs, opts);
86
+ }
87
+ }
88
+ exports.Tag = Tag;
89
+ /** @internal */
90
+ Tag.__pulumiType = 'volcengine:iam/tag:Tag';
91
+ //# sourceMappingURL=tag.js.map
package/iam/tag.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tag.js","sourceRoot":"","sources":["../../iam/tag.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAa,GAAI,SAAQ,MAAM,CAAC,cAAc;IAC1C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgB,EAAE,IAAmC;QAC9G,OAAO,IAAI,GAAG,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,GAAG,CAAC,YAAY,CAAC;IACpD,CAAC;IAuBD,YAAY,IAAY,EAAE,WAAgC,EAAE,IAAmC;QAC3F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAA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