iam-floyd 0.802.0 → 0.804.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,20 @@ export declare class Securityagent extends PolicyStatement {
21
21
  * https://docs.aws.amazon.com/securityagent/API_AddArtifact.html
22
22
  */
23
23
  toAddArtifact(): this;
24
+ /**
25
+ * Grants permission to batch create security requirements in a customer managed pack
26
+ *
27
+ * Access Level: Write
28
+ *
29
+ * Dependent actions:
30
+ * - kms:Decrypt
31
+ * - kms:GenerateDataKeyWithoutPlaintext
32
+ * - kms:ReEncryptFrom
33
+ * - kms:ReEncryptTo
34
+ *
35
+ * https://docs.aws.amazon.com/securityagent/API_BatchCreateSecurityRequirements.html
36
+ */
37
+ toBatchCreateSecurityRequirements(): this;
24
38
  /**
25
39
  * Grants permission to delete multiple code reviews in a single request
26
40
  *
@@ -43,6 +57,14 @@ export declare class Securityagent extends PolicyStatement {
43
57
  * https://docs.aws.amazon.com/securityagent/API_BatchDeletePentests.html
44
58
  */
45
59
  toBatchDeletePentests(): this;
60
+ /**
61
+ * Grants permission to batch delete security requirements from a customer managed pack
62
+ *
63
+ * Access Level: Write
64
+ *
65
+ * https://docs.aws.amazon.com/securityagent/API_BatchDeleteSecurityRequirements.html
66
+ */
67
+ toBatchDeleteSecurityRequirements(): this;
46
68
  /**
47
69
  * Grants permission to delete multiple threat models in a single request
48
70
  *
@@ -172,6 +194,20 @@ export declare class Securityagent extends PolicyStatement {
172
194
  * https://docs.aws.amazon.com/securityagent/API_BatchGetPentests.html
173
195
  */
174
196
  toBatchGetPentests(): this;
197
+ /**
198
+ * Grants permission to retrieve multiple security requirements in a single request
199
+ *
200
+ * Access Level: Read
201
+ *
202
+ * Dependent actions:
203
+ * - kms:Decrypt
204
+ * - kms:GenerateDataKeyWithoutPlaintext
205
+ * - kms:ReEncryptFrom
206
+ * - kms:ReEncryptTo
207
+ *
208
+ * https://docs.aws.amazon.com/securityagent/API_BatchGetSecurityRequirements.html
209
+ */
210
+ toBatchGetSecurityRequirements(): this;
175
211
  /**
176
212
  * Grants permission to retrieve multiple target domains in a single request
177
213
  *
@@ -224,6 +260,20 @@ export declare class Securityagent extends PolicyStatement {
224
260
  * https://docs.aws.amazon.com/securityagent/API_BatchGetThreats.html
225
261
  */
226
262
  toBatchGetThreats(): this;
263
+ /**
264
+ * Grants permission to batch update security requirements within a customer managed pack
265
+ *
266
+ * Access Level: Write
267
+ *
268
+ * Dependent actions:
269
+ * - kms:Decrypt
270
+ * - kms:GenerateDataKeyWithoutPlaintext
271
+ * - kms:ReEncryptFrom
272
+ * - kms:ReEncryptTo
273
+ *
274
+ * https://docs.aws.amazon.com/securityagent/API_BatchUpdateSecurityRequirements.html
275
+ */
276
+ toBatchUpdateSecurityRequirements(): this;
227
277
  /**
228
278
  * Grants permission to create an agent space record
229
279
  *
@@ -316,6 +366,18 @@ export declare class Securityagent extends PolicyStatement {
316
366
  * https://docs.aws.amazon.com/securityagent/API_CreatePentest.html
317
367
  */
318
368
  toCreatePentest(): this;
369
+ /**
370
+ * Grants permission to create a private connection for VPC Lattice integration
371
+ *
372
+ * Access Level: Write
373
+ *
374
+ * Possible conditions:
375
+ * - .ifAwsRequestTag()
376
+ * - .ifAwsTagKeys()
377
+ *
378
+ * https://docs.aws.amazon.com/securityagent/API_CreatePrivateConnection.html
379
+ */
380
+ toCreatePrivateConnection(): this;
319
381
  /**
320
382
  * Grants permission to add a customer managed Security Requirement
321
383
  *
@@ -324,6 +386,25 @@ export declare class Securityagent extends PolicyStatement {
324
386
  * https://docs.aws.amazon.com/securityagent/API_CreateSecurityRequirement.html
325
387
  */
326
388
  toCreateSecurityRequirement(): this;
389
+ /**
390
+ * Grants permission to create a customer managed security requirement pack
391
+ *
392
+ * Access Level: Write
393
+ *
394
+ * Possible conditions:
395
+ * - .ifAwsRequestTag()
396
+ * - .ifAwsTagKeys()
397
+ *
398
+ * Dependent actions:
399
+ * - kms:Decrypt
400
+ * - kms:DescribeKey
401
+ * - kms:GenerateDataKeyWithoutPlaintext
402
+ * - kms:ReEncryptFrom
403
+ * - kms:ReEncryptTo
404
+ *
405
+ * https://docs.aws.amazon.com/securityagent/API_CreateSecurityRequirementPack.html
406
+ */
407
+ toCreateSecurityRequirementPack(): this;
327
408
  /**
328
409
  * Grants permission to create a target domain record
329
410
  *
@@ -405,6 +486,14 @@ export declare class Securityagent extends PolicyStatement {
405
486
  * https://docs.aws.amazon.com/securityagent/API_DeleteMembership.html
406
487
  */
407
488
  toDeleteMembership(): this;
489
+ /**
490
+ * Grants permission to delete a private connection
491
+ *
492
+ * Access Level: Write
493
+ *
494
+ * https://docs.aws.amazon.com/securityagent/API_DeletePrivateConnection.html
495
+ */
496
+ toDeletePrivateConnection(): this;
408
497
  /**
409
498
  * Grants permission to delete a customer managed Security Requirement
410
499
  *
@@ -413,6 +502,14 @@ export declare class Securityagent extends PolicyStatement {
413
502
  * https://docs.aws.amazon.com/securityagent/API_DeleteSecurityRequirement.html
414
503
  */
415
504
  toDeleteSecurityRequirement(): this;
505
+ /**
506
+ * Grants permission to delete a customer managed security requirement pack and all its associated security requirements
507
+ *
508
+ * Access Level: Write
509
+ *
510
+ * https://docs.aws.amazon.com/securityagent/API_DeleteSecurityRequirementPack.html
511
+ */
512
+ toDeleteSecurityRequirementPack(): this;
416
513
  /**
417
514
  * Grants permission to delete a target domain record
418
515
  *
@@ -421,6 +518,14 @@ export declare class Securityagent extends PolicyStatement {
421
518
  * https://docs.aws.amazon.com/securityagent/API_DeleteTargetDomain.html
422
519
  */
423
520
  toDeleteTargetDomain(): this;
521
+ /**
522
+ * Grants permission to describe a private connection
523
+ *
524
+ * Access Level: Read
525
+ *
526
+ * https://docs.aws.amazon.com/securityagent/API_DescribePrivateConnection.html
527
+ */
528
+ toDescribePrivateConnection(): this;
424
529
  /**
425
530
  * Grants permission to get application details by application ID
426
531
  *
@@ -469,6 +574,14 @@ export declare class Securityagent extends PolicyStatement {
469
574
  * https://docs.aws.amazon.com/securityagent/API_GetIntegration.html
470
575
  */
471
576
  toGetIntegration(): this;
577
+ /**
578
+ * Grants permission to retrieve the provider registration manifest used for browser-based integration registration
579
+ *
580
+ * Access Level: Read
581
+ *
582
+ * https://docs.aws.amazon.com/securityagent/API_GetProviderRegistrationManifest.html
583
+ */
584
+ toGetProviderRegistrationManifest(): this;
472
585
  /**
473
586
  * Grants permission to retrieve a Security Requirement
474
587
  *
@@ -477,6 +590,36 @@ export declare class Securityagent extends PolicyStatement {
477
590
  * https://docs.aws.amazon.com/securityagent/API_GetSecurityRequirement.html
478
591
  */
479
592
  toGetSecurityRequirement(): this;
593
+ /**
594
+ * Grants permission to retrieve a security requirement pack
595
+ *
596
+ * Access Level: Read
597
+ *
598
+ * https://docs.aws.amazon.com/securityagent/API_GetSecurityRequirementPack.html
599
+ */
600
+ toGetSecurityRequirementPack(): this;
601
+ /**
602
+ * Grants permission to handle the provider OAuth registration callback that completes integration setup
603
+ *
604
+ * Access Level: Write
605
+ *
606
+ * https://docs.aws.amazon.com/securityagent/API_HandleProviderRegistrationCallback.html
607
+ */
608
+ toHandleProviderRegistrationCallback(): this;
609
+ /**
610
+ * Grants permission to import security requirements from uploaded documents for a customer managed security requirement pack
611
+ *
612
+ * Access Level: Write
613
+ *
614
+ * Dependent actions:
615
+ * - kms:Decrypt
616
+ * - kms:GenerateDataKeyWithoutPlaintext
617
+ * - kms:ReEncryptFrom
618
+ * - kms:ReEncryptTo
619
+ *
620
+ * https://docs.aws.amazon.com/securityagent/API_ImportSecurityRequirements.html
621
+ */
622
+ toImportSecurityRequirements(): this;
480
623
  /**
481
624
  * Grants permission to initiate the registration of Security Agent App for the given provider (eg: GitHub)
482
625
  *
@@ -637,6 +780,14 @@ export declare class Securityagent extends PolicyStatement {
637
780
  * https://docs.aws.amazon.com/securityagent/API_ListPentests.html
638
781
  */
639
782
  toListPentests(): this;
783
+ /**
784
+ * Grants permission to list private connections in the account
785
+ *
786
+ * Access Level: List
787
+ *
788
+ * https://docs.aws.amazon.com/securityagent/API_ListPrivateConnections.html
789
+ */
790
+ toListPrivateConnections(): this;
640
791
  /**
641
792
  * Grants permission to list resources from Integration
642
793
  *
@@ -645,11 +796,25 @@ export declare class Securityagent extends PolicyStatement {
645
796
  * https://docs.aws.amazon.com/securityagent/API_ListResourcesFromIntegration.html
646
797
  */
647
798
  toListResourcesFromIntegration(): this;
799
+ /**
800
+ * Grants permission to list all security requirement packs in the account
801
+ *
802
+ * Access Level: List
803
+ *
804
+ * https://docs.aws.amazon.com/securityagent/API_ListSecurityRequirementPacks.html
805
+ */
806
+ toListSecurityRequirementPacks(): this;
648
807
  /**
649
808
  * Grants permission to list all Security Requirements
650
809
  *
651
810
  * Access Level: List
652
811
  *
812
+ * Dependent actions:
813
+ * - kms:Decrypt
814
+ * - kms:GenerateDataKeyWithoutPlaintext
815
+ * - kms:ReEncryptFrom
816
+ * - kms:ReEncryptTo
817
+ *
653
818
  * https://docs.aws.amazon.com/securityagent/API_ListSecurityRequirements.html
654
819
  */
655
820
  toListSecurityRequirements(): this;
@@ -897,6 +1062,14 @@ export declare class Securityagent extends PolicyStatement {
897
1062
  * https://docs.aws.amazon.com/securityagent/API_UpdatePentest.html
898
1063
  */
899
1064
  toUpdatePentest(): this;
1065
+ /**
1066
+ * Grants permission to update the certificate associated with a private connection
1067
+ *
1068
+ * Access Level: Write
1069
+ *
1070
+ * https://docs.aws.amazon.com/securityagent/API_UpdatePrivateConnectionCertificate.html
1071
+ */
1072
+ toUpdatePrivateConnectionCertificate(): this;
900
1073
  /**
901
1074
  * Grants permission to update a customer managed Security Requirement
902
1075
  *
@@ -905,6 +1078,14 @@ export declare class Securityagent extends PolicyStatement {
905
1078
  * https://docs.aws.amazon.com/securityagent/API_UpdateSecurityRequirement.html
906
1079
  */
907
1080
  toUpdateSecurityRequirement(): this;
1081
+ /**
1082
+ * Grants permission to update a security requirement pack
1083
+ *
1084
+ * Access Level: Write
1085
+ *
1086
+ * https://docs.aws.amazon.com/securityagent/API_UpdateSecurityRequirementPack.html
1087
+ */
1088
+ toUpdateSecurityRequirementPack(): this;
908
1089
  /**
909
1090
  * Grants permission to update a target domain record
910
1091
  *
@@ -1014,6 +1195,20 @@ export declare class Securityagent extends PolicyStatement {
1014
1195
  * - .ifAwsResourceTag()
1015
1196
  */
1016
1197
  onTargetDomain(targetDomainId: string, account?: string, region?: string, partition?: string): this;
1198
+ /**
1199
+ * Adds a resource of type PrivateConnection to the statement
1200
+ *
1201
+ * https://docs.aws.amazon.com/securityagent/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats
1202
+ *
1203
+ * @param privateConnectionName - Identifier for the privateConnectionName.
1204
+ * @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
1205
+ * @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
1206
+ * @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.
1207
+ *
1208
+ * Possible conditions:
1209
+ * - .ifAwsResourceTag()
1210
+ */
1211
+ onPrivateConnection(privateConnectionName: string, account?: string, region?: string, partition?: string): this;
1017
1212
  /**
1018
1213
  * Filters access by the tags that are passed in the request
1019
1214
  *
@@ -1023,6 +1218,8 @@ export declare class Securityagent extends PolicyStatement {
1023
1218
  * - .toCreateAgentSpace()
1024
1219
  * - .toCreateApplication()
1025
1220
  * - .toCreateIntegration()
1221
+ * - .toCreatePrivateConnection()
1222
+ * - .toCreateSecurityRequirementPack()
1026
1223
  * - .toTagResource()
1027
1224
  *
1028
1225
  * @param tagKey The tag key to check
@@ -1041,6 +1238,7 @@ export declare class Securityagent extends PolicyStatement {
1041
1238
  * - Integration
1042
1239
  * - AgentSpace
1043
1240
  * - TargetDomain
1241
+ * - PrivateConnection
1044
1242
  *
1045
1243
  * @param tagKey The tag key to check
1046
1244
  * @param value The value(s) to check
@@ -1056,6 +1254,8 @@ export declare class Securityagent extends PolicyStatement {
1056
1254
  * - .toCreateAgentSpace()
1057
1255
  * - .toCreateApplication()
1058
1256
  * - .toCreateIntegration()
1257
+ * - .toCreatePrivateConnection()
1258
+ * - .toCreateSecurityRequirementPack()
1059
1259
  * - .toTagResource()
1060
1260
  * - .toUntagResource()
1061
1261
  *