cdk-iam-floyd 0.614.0 → 0.615.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/README.md CHANGED
@@ -17,9 +17,9 @@
17
17
  Support for:
18
18
 
19
19
  - 387 Services
20
- - 16287 Actions
21
- - 1750 Resource Types
22
- - 1694 Condition keys
20
+ - 16302 Actions
21
+ - 1751 Resource Types
22
+ - 1693 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.**
@@ -44,6 +44,18 @@ export declare class Codeartifact extends PolicyStatement {
44
44
  * https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_CreateDomain.html
45
45
  */
46
46
  toCreateDomain(): this;
47
+ /**
48
+ * Grants permission to create a package group
49
+ *
50
+ * Access Level: Write
51
+ *
52
+ * Possible conditions:
53
+ * - .ifAwsRequestTag()
54
+ * - .ifAwsTagKeys()
55
+ *
56
+ * https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_CreatePackageGroup.html
57
+ */
58
+ toCreatePackageGroup(): this;
47
59
  /**
48
60
  * Grants permission to create a new repository
49
61
  *
@@ -80,6 +92,14 @@ export declare class Codeartifact extends PolicyStatement {
80
92
  * https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_DeletePackage.html
81
93
  */
82
94
  toDeletePackage(): this;
95
+ /**
96
+ * Grants permission to delete a package group
97
+ *
98
+ * Access Level: Write
99
+ *
100
+ * https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_DeletePackageGroup.html
101
+ */
102
+ toDeletePackageGroup(): this;
83
103
  /**
84
104
  * Grants permission to delete package versions
85
105
  *
@@ -120,6 +140,14 @@ export declare class Codeartifact extends PolicyStatement {
120
140
  * https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_DescribePackage.html
121
141
  */
122
142
  toDescribePackage(): this;
143
+ /**
144
+ * Grants permission to return detailed information about a package group
145
+ *
146
+ * Access Level: Read
147
+ *
148
+ * https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_DescribePackageGroup.html
149
+ */
150
+ toDescribePackageGroup(): this;
123
151
  /**
124
152
  * Grants permission to return information about a package version
125
153
  *
@@ -152,6 +180,14 @@ export declare class Codeartifact extends PolicyStatement {
152
180
  * https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_DisposePackageVersions.html
153
181
  */
154
182
  toDisposePackageVersions(): this;
183
+ /**
184
+ * Grants permission to return a package's associated package group
185
+ *
186
+ * Access Level: Read
187
+ *
188
+ * https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_GetAssociatedPackageGroup.html
189
+ */
190
+ toGetAssociatedPackageGroup(): this;
155
191
  /**
156
192
  * Grants permission to generate a temporary authentication token for accessing repositories in a domain
157
193
  *
@@ -200,6 +236,22 @@ export declare class Codeartifact extends PolicyStatement {
200
236
  * https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_GetRepositoryPermissionsPolicy.html
201
237
  */
202
238
  toGetRepositoryPermissionsPolicy(): this;
239
+ /**
240
+ * Grants permission to list the allowed repositories for a package group
241
+ *
242
+ * Access Level: List
243
+ *
244
+ * https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_ListRepositoriesInDomain.html
245
+ */
246
+ toListAllowedRepositoriesForGroup(): this;
247
+ /**
248
+ * Grants permission to list the packages associated to a package group
249
+ *
250
+ * Access Level: List
251
+ *
252
+ * https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_ListAssociatedPackages.html
253
+ */
254
+ toListAssociatedPackages(): this;
203
255
  /**
204
256
  * Grants permission to list the domains in the current user's AWS account
205
257
  *
@@ -208,6 +260,14 @@ export declare class Codeartifact extends PolicyStatement {
208
260
  * https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_ListDomains.html
209
261
  */
210
262
  toListDomains(): this;
263
+ /**
264
+ * Grants permission to list the package groups in a domain
265
+ *
266
+ * Access Level: List
267
+ *
268
+ * https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_ListPackageGroups.html
269
+ */
270
+ toListPackageGroups(): this;
211
271
  /**
212
272
  * Grants permission to list a package version's assets
213
273
  *
@@ -256,6 +316,14 @@ export declare class Codeartifact extends PolicyStatement {
256
316
  * https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_ListRepositoriesInDomain.html
257
317
  */
258
318
  toListRepositoriesInDomain(): this;
319
+ /**
320
+ * Grants permission to list the sub package groups for a parent package group
321
+ *
322
+ * Access Level: List
323
+ *
324
+ * https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_ListSubPackageGroups.html
325
+ */
326
+ toListSubPackageGroups(): this;
259
327
  /**
260
328
  * Grants permission to list tags for a CodeArtifact resource
261
329
  *
@@ -335,6 +403,22 @@ export declare class Codeartifact extends PolicyStatement {
335
403
  * https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_UntagResource.html
336
404
  */
337
405
  toUntagResource(): this;
406
+ /**
407
+ * Grants permission to modify the properties of a package group
408
+ *
409
+ * Access Level: Write
410
+ *
411
+ * https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_UpdatePackageGroup.html
412
+ */
413
+ toUpdatePackageGroup(): this;
414
+ /**
415
+ * Grants permission to modify the package origin configuration of a package group
416
+ *
417
+ * Access Level: Write
418
+ *
419
+ * https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_UpdatePackageGroupOriginConfiguration.html
420
+ */
421
+ toUpdatePackageGroupOriginConfiguration(): this;
338
422
  /**
339
423
  * Grants permission to modify the status of one or more versions of a package
340
424
  *
@@ -355,7 +439,7 @@ export declare class Codeartifact extends PolicyStatement {
355
439
  /**
356
440
  * Adds a resource of type domain to the statement
357
441
  *
358
- * https://docs.aws.amazon.com/codeartifact/latest/ug/auth-and-access-control-iam-access-control-identity-based.html#arn-formats
442
+ * https://docs.aws.amazon.com/codeartifact/latest/ug/domains.html
359
443
  *
360
444
  * @param domainName - Identifier for the domainName.
361
445
  * @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
@@ -369,7 +453,7 @@ export declare class Codeartifact extends PolicyStatement {
369
453
  /**
370
454
  * Adds a resource of type repository to the statement
371
455
  *
372
- * https://docs.aws.amazon.com/codeartifact/latest/ug/repo-policies.html
456
+ * https://docs.aws.amazon.com/codeartifact/latest/ug/repos.html
373
457
  *
374
458
  * @param domainName - Identifier for the domainName.
375
459
  * @param repositoryName - Identifier for the repositoryName.
@@ -381,10 +465,25 @@ export declare class Codeartifact extends PolicyStatement {
381
465
  * - .ifAwsResourceTag()
382
466
  */
383
467
  onRepository(domainName: string, repositoryName: string, account?: string, region?: string, partition?: string): this;
468
+ /**
469
+ * Adds a resource of type package-group to the statement
470
+ *
471
+ * https://docs.aws.amazon.com/codeartifact/latest/ug/package-groups.html
472
+ *
473
+ * @param domainName - Identifier for the domainName.
474
+ * @param encodedPackageGroupPattern - Identifier for the encodedPackageGroupPattern.
475
+ * @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
476
+ * @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
477
+ * @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.
478
+ *
479
+ * Possible conditions:
480
+ * - .ifAwsResourceTag()
481
+ */
482
+ onPackageGroup(domainName: string, encodedPackageGroupPattern: string, account?: string, region?: string, partition?: string): this;
384
483
  /**
385
484
  * Adds a resource of type package to the statement
386
485
  *
387
- * https://docs.aws.amazon.com/codeartifact/latest/ug/repo-policies.html
486
+ * https://docs.aws.amazon.com/codeartifact/latest/ug/packages.html
388
487
  *
389
488
  * @param domainName - Identifier for the domainName.
390
489
  * @param repositoryName - Identifier for the repositoryName.
@@ -403,6 +502,7 @@ export declare class Codeartifact extends PolicyStatement {
403
502
  *
404
503
  * Applies to actions:
405
504
  * - .toCreateDomain()
505
+ * - .toCreatePackageGroup()
406
506
  * - .toCreateRepository()
407
507
  * - .toTagResource()
408
508
  *
@@ -419,6 +519,7 @@ export declare class Codeartifact extends PolicyStatement {
419
519
  * Applies to resource types:
420
520
  * - domain
421
521
  * - repository
522
+ * - package-group
422
523
  *
423
524
  * @param tagKey The tag key to check
424
525
  * @param value The value(s) to check
@@ -432,6 +533,7 @@ export declare class Codeartifact extends PolicyStatement {
432
533
  *
433
534
  * Applies to actions:
434
535
  * - .toCreateDomain()
536
+ * - .toCreatePackageGroup()
435
537
  * - .toCreateRepository()
436
538
  * - .toTagResource()
437
539
  * - .toUntagResource()