iam-floyd 0.781.0 → 0.783.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.
@@ -21,6 +21,54 @@ export declare class Q extends PolicyStatement {
21
21
  * https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html
22
22
  */
23
23
  toAssociateConnectorResource(): this;
24
+ /**
25
+ * Grants permission to associate a login domain with an Amazon Q Developer Profile
26
+ *
27
+ * Access Level: Write
28
+ *
29
+ * https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html
30
+ */
31
+ toAssociateLoginDomain(): this;
32
+ /**
33
+ * Grants permission to describe multiple groups for an Amazon Q Developer Profile
34
+ *
35
+ * Access Level: Read
36
+ *
37
+ * https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html
38
+ */
39
+ toBatchDescribeGroups(): this;
40
+ /**
41
+ * Grants permission to describe multiple users for an Amazon Q Developer Profile
42
+ *
43
+ * Access Level: Read
44
+ *
45
+ * https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html
46
+ */
47
+ toBatchDescribeUsers(): this;
48
+ /**
49
+ * Grants permission to get multiple groups for an Amazon Q Developer Profile
50
+ *
51
+ * Access Level: Read
52
+ *
53
+ * https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html
54
+ */
55
+ toBatchGetGroups(): this;
56
+ /**
57
+ * Grants permission to get multiple users for an Amazon Q Developer Profile
58
+ *
59
+ * Access Level: Read
60
+ *
61
+ * https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html
62
+ */
63
+ toBatchGetUsers(): this;
64
+ /**
65
+ * Grants permission to create an artifact with Amazon Q
66
+ *
67
+ * Access Level: Write
68
+ *
69
+ * https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html
70
+ */
71
+ toCreateArtifact(): this;
24
72
  /**
25
73
  * Grants permission to create a user or group assignment for an Amazon Q Developer Profile
26
74
  *
@@ -73,6 +121,14 @@ export declare class Q extends PolicyStatement {
73
121
  * https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html
74
122
  */
75
123
  toCreatePlugin(): this;
124
+ /**
125
+ * Grants permission to create a SCIM access token for an Amazon Q Developer Profile
126
+ *
127
+ * Access Level: Write
128
+ *
129
+ * https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html
130
+ */
131
+ toCreateScimAccessToken(): this;
76
132
  /**
77
133
  * Grants permission to delete a user or group assignment for an Amazon Q Developer Profile
78
134
  *
@@ -118,6 +174,22 @@ export declare class Q extends PolicyStatement {
118
174
  * https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html
119
175
  */
120
176
  toDeletePlugin(): this;
177
+ /**
178
+ * Grants permission to delete a SCIM access token for an Amazon Q Developer Profile
179
+ *
180
+ * Access Level: Write
181
+ *
182
+ * https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html
183
+ */
184
+ toDeleteScimAccessToken(): this;
185
+ /**
186
+ * Grants permission to disassociate a login domain from an Amazon Q Developer Profile
187
+ *
188
+ * Access Level: Write
189
+ *
190
+ * https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html
191
+ */
192
+ toDisassociateLoginDomain(): this;
121
193
  /**
122
194
  * Grants permission to generate code from CLI commands in Amazon Q
123
195
  *
@@ -134,6 +206,27 @@ export declare class Q extends PolicyStatement {
134
206
  * https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html
135
207
  */
136
208
  toGenerateCodeRecommendations(): this;
209
+ /**
210
+ * Grants permission to view an Amazon Q artifact
211
+ *
212
+ * Access Level: Read
213
+ *
214
+ * https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html
215
+ */
216
+ toGetArtifact(): this;
217
+ /**
218
+ * Grants permission to view results of an action in an Amazon Q artifact
219
+ *
220
+ * Access Level: Read
221
+ *
222
+ * Dependent actions:
223
+ * - cloudformation:GetResource
224
+ * - cloudformation:GetResourceRequestStatus
225
+ * - cloudformation:ListResourceRequests
226
+ *
227
+ * https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html
228
+ */
229
+ toGetArtifactActionResult(): this;
137
230
  /**
138
231
  * Grants permission to view information about a specific Amazon Q connector
139
232
  *
@@ -193,6 +286,22 @@ export declare class Q extends PolicyStatement {
193
286
  * https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html
194
287
  */
195
288
  toListDashboardMetrics(): this;
289
+ /**
290
+ * Grants permission to list groups for an Amazon Q Developer Profile
291
+ *
292
+ * Access Level: List
293
+ *
294
+ * https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html
295
+ */
296
+ toListGroups(): this;
297
+ /**
298
+ * Grants permission to list login domains for an Amazon Q Developer Profile
299
+ *
300
+ * Access Level: List
301
+ *
302
+ * https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html
303
+ */
304
+ toListLoginDomains(): this;
196
305
  /**
197
306
  * Grants permission to list available plugins in Amazon Q
198
307
  *
@@ -209,6 +318,14 @@ export declare class Q extends PolicyStatement {
209
318
  * https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html
210
319
  */
211
320
  toListPlugins(): this;
321
+ /**
322
+ * Grants permission to list SCIM access tokens for an Amazon Q Developer Profile
323
+ *
324
+ * Access Level: List
325
+ *
326
+ * https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html
327
+ */
328
+ toListScimAccessTokens(): this;
212
329
  /**
213
330
  * Grants permission to list all tags associated with an Amazon Q resource
214
331
  *
@@ -220,6 +337,14 @@ export declare class Q extends PolicyStatement {
220
337
  * https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html
221
338
  */
222
339
  toListTagsForResource(): this;
340
+ /**
341
+ * Grants permission to list users for an Amazon Q Developer Profile
342
+ *
343
+ * Access Level: List
344
+ *
345
+ * https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html
346
+ */
347
+ toListUsers(): this;
223
348
  /**
224
349
  * Grants permission to allow Amazon Q to perform actions on your behalf
225
350
  *
@@ -228,6 +353,26 @@ export declare class Q extends PolicyStatement {
228
353
  * https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html
229
354
  */
230
355
  toPassRequest(): this;
356
+ /**
357
+ * Grants permission to perform an action in an Amazon Q artifact
358
+ *
359
+ * Access Level: Write
360
+ *
361
+ * Dependent actions:
362
+ * - cloudformation:CancelResourceRequest
363
+ * - cloudformation:CreateResource
364
+ * - cloudformation:GetResource
365
+ * - cloudformation:GetResourceRequestStatus
366
+ * - cloudformation:ListResourceRequests
367
+ * - cloudformation:UpdateResource
368
+ * - iam:AttachRolePolicy
369
+ * - iam:CreatePolicy
370
+ * - iam:CreateRole
371
+ * - iam:PutRolePolicy
372
+ *
373
+ * https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html
374
+ */
375
+ toPerformArtifactAction(): this;
231
376
  /**
232
377
  * Grants permission to reject a connection request for an Amazon Q connector
233
378
  *
@@ -307,6 +452,18 @@ export declare class Q extends PolicyStatement {
307
452
  * https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html
308
453
  */
309
454
  toUntagResource(): this;
455
+ /**
456
+ * Grants permission to update a user or group assignment for an Amazon Q Developer Profile
457
+ *
458
+ * Access Level: Write
459
+ *
460
+ * Possible conditions:
461
+ * - .ifIdentitystoreUserId()
462
+ * - .ifIdentitystoreGroupId()
463
+ *
464
+ * https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html
465
+ */
466
+ toUpdateAssignment(): this;
310
467
  /**
311
468
  * Grants permission to update OAuth user in Amazon Q
312
469
  *
@@ -395,6 +552,9 @@ export declare class Q extends PolicyStatement {
395
552
  * @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
396
553
  * @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
397
554
  * @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition.
555
+ *
556
+ * Possible conditions:
557
+ * - .ifAwsResourceTag()
398
558
  */
399
559
  onProfile(identifier: string, account?: string, region?: string, partition?: string): this;
400
560
  /**
@@ -439,6 +599,7 @@ export declare class Q extends PolicyStatement {
439
599
  * - .toUntagResource()
440
600
  *
441
601
  * Applies to resource types:
602
+ * - profile
442
603
  * - plugin
443
604
  *
444
605
  * @param tagKey The tag key to check
@@ -469,6 +630,7 @@ export declare class Q extends PolicyStatement {
469
630
  * Applies to actions:
470
631
  * - .toCreateAssignment()
471
632
  * - .toDeleteAssignment()
633
+ * - .toUpdateAssignment()
472
634
  *
473
635
  * @param value The value(s) to check
474
636
  * @param operator Works with [string operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_String). **Default:** `StringLike`
@@ -482,6 +644,7 @@ export declare class Q extends PolicyStatement {
482
644
  * Applies to actions:
483
645
  * - .toCreateAssignment()
484
646
  * - .toDeleteAssignment()
647
+ * - .toUpdateAssignment()
485
648
  *
486
649
  * @param value The value(s) to check
487
650
  * @param operator Works with [string operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_String). **Default:** `StringLike`