cdk-docker-image-deployment 0.0.87 → 0.0.89

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 (123) hide show
  1. package/.jsii +3 -3
  2. package/lib/destination.js +1 -1
  3. package/lib/docker-image-deployment.js +1 -1
  4. package/lib/source.js +1 -1
  5. package/node_modules/aws-sdk/CHANGELOG.md +51 -1
  6. package/node_modules/aws-sdk/README.md +29 -1
  7. package/node_modules/aws-sdk/apis/arc-zonal-shift-2022-10-30.examples.json +5 -0
  8. package/node_modules/aws-sdk/apis/arc-zonal-shift-2022-10-30.min.json +284 -0
  9. package/node_modules/aws-sdk/apis/arc-zonal-shift-2022-10-30.paginators.json +16 -0
  10. package/node_modules/aws-sdk/apis/backup-2018-11-15.min.json +441 -110
  11. package/node_modules/aws-sdk/apis/backup-2018-11-15.paginators.json +12 -0
  12. package/node_modules/aws-sdk/apis/compute-optimizer-2019-11-01.min.json +31 -13
  13. package/node_modules/aws-sdk/apis/config-2014-11-12.min.json +282 -134
  14. package/node_modules/aws-sdk/apis/config-2014-11-12.paginators.json +6 -0
  15. package/node_modules/aws-sdk/apis/drs-2020-02-26.min.json +124 -45
  16. package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +2824 -1317
  17. package/node_modules/aws-sdk/apis/ec2-2016-11-15.paginators.json +42 -0
  18. package/node_modules/aws-sdk/apis/ecs-2014-11-13.min.json +331 -215
  19. package/node_modules/aws-sdk/apis/ecs-2014-11-13.paginators.json +6 -0
  20. package/node_modules/aws-sdk/apis/eks-2017-11-01.min.json +87 -52
  21. package/node_modules/aws-sdk/apis/firehose-2015-08-04.min.json +128 -27
  22. package/node_modules/aws-sdk/apis/fsx-2018-03-01.min.json +156 -130
  23. package/node_modules/aws-sdk/apis/glue-2017-03-31.min.json +341 -298
  24. package/node_modules/aws-sdk/apis/inspector2-2020-06-08.min.json +205 -28
  25. package/node_modules/aws-sdk/apis/iot-2015-05-28.min.json +252 -214
  26. package/node_modules/aws-sdk/apis/iot-data-2015-05-28.min.json +26 -0
  27. package/node_modules/aws-sdk/apis/iotwireless-2020-11-22.min.json +686 -105
  28. package/node_modules/aws-sdk/apis/kendra-2019-02-03.min.json +43 -8
  29. package/node_modules/aws-sdk/apis/kms-2014-11-01.examples.json +359 -50
  30. package/node_modules/aws-sdk/apis/kms-2014-11-01.min.json +127 -72
  31. package/node_modules/aws-sdk/apis/kms-2014-11-01.paginators.json +0 -7
  32. package/node_modules/aws-sdk/apis/lambda-2015-03-31.min.json +69 -50
  33. package/node_modules/aws-sdk/apis/lambda-2015-03-31.waiters2.json +26 -0
  34. package/node_modules/aws-sdk/apis/license-manager-user-subscriptions-2018-05-10.min.json +82 -9
  35. package/node_modules/aws-sdk/apis/logs-2014-03-28.min.json +97 -16
  36. package/node_modules/aws-sdk/apis/macie2-2020-01-01.min.json +793 -112
  37. package/node_modules/aws-sdk/apis/macie2-2020-01-01.paginators.json +33 -0
  38. package/node_modules/aws-sdk/apis/metadata.json +19 -0
  39. package/node_modules/aws-sdk/apis/mgn-2020-02-26.min.json +931 -118
  40. package/node_modules/aws-sdk/apis/mgn-2020-02-26.paginators.json +24 -0
  41. package/node_modules/aws-sdk/apis/monitoring-2010-08-01.min.json +23 -14
  42. package/node_modules/aws-sdk/apis/monitoring-2010-08-01.paginators.json +4 -1
  43. package/node_modules/aws-sdk/apis/oam-2022-06-10.examples.json +5 -0
  44. package/node_modules/aws-sdk/apis/oam-2022-06-10.min.json +482 -0
  45. package/node_modules/aws-sdk/apis/oam-2022-06-10.paginators.json +22 -0
  46. package/node_modules/aws-sdk/apis/omics-2022-11-28.examples.json +5 -0
  47. package/node_modules/aws-sdk/apis/omics-2022-11-28.min.json +3722 -0
  48. package/node_modules/aws-sdk/apis/omics-2022-11-28.paginators.json +100 -0
  49. package/node_modules/aws-sdk/apis/omics-2022-11-28.waiters2.json +498 -0
  50. package/node_modules/aws-sdk/apis/opensearchserverless-2021-11-01.examples.json +5 -0
  51. package/node_modules/aws-sdk/apis/opensearchserverless-2021-11-01.min.json +1082 -0
  52. package/node_modules/aws-sdk/apis/opensearchserverless-2021-11-01.paginators.json +29 -0
  53. package/node_modules/aws-sdk/apis/organizations-2016-11-28.min.json +62 -16
  54. package/node_modules/aws-sdk/apis/quicksight-2018-04-01.min.json +5991 -325
  55. package/node_modules/aws-sdk/apis/rds-2014-10-31.min.json +379 -236
  56. package/node_modules/aws-sdk/apis/rds-2014-10-31.paginators.json +6 -0
  57. package/node_modules/aws-sdk/apis/s3control-2018-08-20.min.json +138 -28
  58. package/node_modules/aws-sdk/apis/securityhub-2018-10-26.min.json +23 -16
  59. package/node_modules/aws-sdk/apis/securitylake-2018-05-10.examples.json +5 -0
  60. package/node_modules/aws-sdk/apis/securitylake-2018-05-10.min.json +1041 -0
  61. package/node_modules/aws-sdk/apis/securitylake-2018-05-10.paginators.json +28 -0
  62. package/node_modules/aws-sdk/apis/simspaceweaver-2022-10-28.examples.json +5 -0
  63. package/node_modules/aws-sdk/apis/simspaceweaver-2022-10-28.min.json +578 -0
  64. package/node_modules/aws-sdk/apis/simspaceweaver-2022-10-28.paginators.json +14 -0
  65. package/node_modules/aws-sdk/apis/textract-2018-06-27.min.json +310 -62
  66. package/node_modules/aws-sdk/apis/transcribe-2017-10-26.min.json +98 -95
  67. package/node_modules/aws-sdk/clients/all.d.ts +6 -0
  68. package/node_modules/aws-sdk/clients/all.js +7 -1
  69. package/node_modules/aws-sdk/clients/arczonalshift.d.ts +309 -0
  70. package/node_modules/aws-sdk/clients/arczonalshift.js +18 -0
  71. package/node_modules/aws-sdk/clients/backup.d.ts +405 -15
  72. package/node_modules/aws-sdk/clients/cloudwatch.d.ts +30 -16
  73. package/node_modules/aws-sdk/clients/cloudwatchlogs.d.ts +196 -65
  74. package/node_modules/aws-sdk/clients/computeoptimizer.d.ts +28 -5
  75. package/node_modules/aws-sdk/clients/configservice.d.ts +233 -6
  76. package/node_modules/aws-sdk/clients/drs.d.ts +104 -5
  77. package/node_modules/aws-sdk/clients/ec2.d.ts +1851 -20
  78. package/node_modules/aws-sdk/clients/ecs.d.ts +159 -17
  79. package/node_modules/aws-sdk/clients/efs.d.ts +5 -5
  80. package/node_modules/aws-sdk/clients/eks.d.ts +58 -8
  81. package/node_modules/aws-sdk/clients/firehose.d.ts +263 -48
  82. package/node_modules/aws-sdk/clients/fsx.d.ts +70 -21
  83. package/node_modules/aws-sdk/clients/glue.d.ts +66 -0
  84. package/node_modules/aws-sdk/clients/inspector2.d.ts +289 -15
  85. package/node_modules/aws-sdk/clients/iot.d.ts +76 -4
  86. package/node_modules/aws-sdk/clients/iotdata.d.ts +31 -1
  87. package/node_modules/aws-sdk/clients/iotwireless.d.ts +599 -14
  88. package/node_modules/aws-sdk/clients/kendra.d.ts +84 -39
  89. package/node_modules/aws-sdk/clients/kms.d.ts +198 -92
  90. package/node_modules/aws-sdk/clients/lambda.d.ts +132 -94
  91. package/node_modules/aws-sdk/clients/licensemanagerusersubscriptions.d.ts +62 -4
  92. package/node_modules/aws-sdk/clients/macie2.d.ts +637 -54
  93. package/node_modules/aws-sdk/clients/mgn.d.ts +1046 -68
  94. package/node_modules/aws-sdk/clients/oam.d.ts +559 -0
  95. package/node_modules/aws-sdk/clients/oam.js +18 -0
  96. package/node_modules/aws-sdk/clients/omics.d.ts +4175 -0
  97. package/node_modules/aws-sdk/clients/omics.js +19 -0
  98. package/node_modules/aws-sdk/clients/opensearchserverless.d.ts +1508 -0
  99. package/node_modules/aws-sdk/clients/opensearchserverless.js +18 -0
  100. package/node_modules/aws-sdk/clients/organizations.d.ts +69 -8
  101. package/node_modules/aws-sdk/clients/quicksight.d.ts +9833 -2835
  102. package/node_modules/aws-sdk/clients/rds.d.ts +199 -2
  103. package/node_modules/aws-sdk/clients/s3control.d.ts +69 -0
  104. package/node_modules/aws-sdk/clients/securityhub.d.ts +14 -0
  105. package/node_modules/aws-sdk/clients/securitylake.d.ts +1049 -0
  106. package/node_modules/aws-sdk/clients/securitylake.js +18 -0
  107. package/node_modules/aws-sdk/clients/simspaceweaver.d.ts +647 -0
  108. package/node_modules/aws-sdk/clients/simspaceweaver.js +18 -0
  109. package/node_modules/aws-sdk/clients/textract.d.ts +264 -0
  110. package/node_modules/aws-sdk/clients/transcribeservice.d.ts +210 -191
  111. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +65 -20
  112. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +349 -64
  113. package/node_modules/aws-sdk/dist/aws-sdk.js +4529 -2130
  114. package/node_modules/aws-sdk/dist/aws-sdk.min.js +79 -78
  115. package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +12 -0
  116. package/node_modules/aws-sdk/lib/core.d.ts +4 -0
  117. package/node_modules/aws-sdk/lib/core.js +1 -1
  118. package/node_modules/aws-sdk/lib/event_listeners.js +48 -14
  119. package/node_modules/aws-sdk/lib/region_config.js +13 -2
  120. package/node_modules/aws-sdk/lib/region_config_data.json +11 -1
  121. package/node_modules/aws-sdk/lib/signers/bearer.js +1 -1
  122. package/node_modules/aws-sdk/package.json +1 -1
  123. package/package.json +6 -5
@@ -68,11 +68,11 @@ declare class Inspector2 extends Service {
68
68
  */
69
69
  deleteFilter(callback?: (err: AWSError, data: Inspector2.Types.DeleteFilterResponse) => void): Request<Inspector2.Types.DeleteFilterResponse, AWSError>;
70
70
  /**
71
- * Describe Amazon Inspector configuration settings for an Amazon Web Services organization
71
+ * Describe Amazon Inspector configuration settings for an Amazon Web Services organization.
72
72
  */
73
73
  describeOrganizationConfiguration(params: Inspector2.Types.DescribeOrganizationConfigurationRequest, callback?: (err: AWSError, data: Inspector2.Types.DescribeOrganizationConfigurationResponse) => void): Request<Inspector2.Types.DescribeOrganizationConfigurationResponse, AWSError>;
74
74
  /**
75
- * Describe Amazon Inspector configuration settings for an Amazon Web Services organization
75
+ * Describe Amazon Inspector configuration settings for an Amazon Web Services organization.
76
76
  */
77
77
  describeOrganizationConfiguration(callback?: (err: AWSError, data: Inspector2.Types.DescribeOrganizationConfigurationResponse) => void): Request<Inspector2.Types.DescribeOrganizationConfigurationResponse, AWSError>;
78
78
  /**
@@ -357,6 +357,14 @@ declare namespace Inspector2 {
357
357
  * An object that contains details about an aggregation request based on container image layers.
358
358
  */
359
359
  imageLayerAggregation?: ImageLayerAggregation;
360
+ /**
361
+ * Returns an object with findings aggregated by AWS Lambda function.
362
+ */
363
+ lambdaFunctionAggregation?: LambdaFunctionAggregation;
364
+ /**
365
+ * Returns an object with findings aggregated by AWS Lambda layer.
366
+ */
367
+ lambdaLayerAggregation?: LambdaLayerAggregation;
360
368
  /**
361
369
  * An object that contains details about an aggregation request based on operating system package type.
362
370
  */
@@ -370,7 +378,7 @@ declare namespace Inspector2 {
370
378
  */
371
379
  titleAggregation?: TitleAggregation;
372
380
  }
373
- export type AggregationResourceType = "AWS_EC2_INSTANCE"|"AWS_ECR_CONTAINER_IMAGE"|string;
381
+ export type AggregationResourceType = "AWS_EC2_INSTANCE"|"AWS_ECR_CONTAINER_IMAGE"|"AWS_LAMBDA_FUNCTION"|string;
374
382
  export interface AggregationResponse {
375
383
  /**
376
384
  * An object that contains details about an aggregation response based on Amazon Web Services account IDs.
@@ -396,6 +404,14 @@ declare namespace Inspector2 {
396
404
  * An object that contains details about an aggregation response based on container image layers.
397
405
  */
398
406
  imageLayerAggregation?: ImageLayerAggregationResponse;
407
+ /**
408
+ * An aggregation of findings by AWS Lambda function.
409
+ */
410
+ lambdaFunctionAggregation?: LambdaFunctionAggregationResponse;
411
+ /**
412
+ * An aggregation of findings by AWS Lambda layer.
413
+ */
414
+ lambdaLayerAggregation?: LambdaLayerAggregationResponse;
399
415
  /**
400
416
  * An object that contains details about an aggregation response based on operating system package type.
401
417
  */
@@ -410,7 +426,7 @@ declare namespace Inspector2 {
410
426
  titleAggregation?: TitleAggregationResponse;
411
427
  }
412
428
  export type AggregationResponseList = AggregationResponse[];
413
- export type AggregationType = "FINDING_TYPE"|"PACKAGE"|"TITLE"|"REPOSITORY"|"AMI"|"AWS_EC2_INSTANCE"|"AWS_ECR_CONTAINER"|"IMAGE_LAYER"|"ACCOUNT"|string;
429
+ export type AggregationType = "FINDING_TYPE"|"PACKAGE"|"TITLE"|"REPOSITORY"|"AMI"|"AWS_EC2_INSTANCE"|"AWS_ECR_CONTAINER"|"IMAGE_LAYER"|"ACCOUNT"|"AWS_LAMBDA_FUNCTION"|"LAMBDA_LAYER"|string;
414
430
  export interface AmiAggregation {
415
431
  /**
416
432
  * The IDs of AMIs to aggregate findings for.
@@ -427,7 +443,7 @@ declare namespace Inspector2 {
427
443
  }
428
444
  export interface AmiAggregationResponse {
429
445
  /**
430
- * The Amazon Web Services account ID that the AMI belongs.
446
+ * The Amazon Web Services account ID for the AMI.
431
447
  */
432
448
  accountId?: AccountId;
433
449
  /**
@@ -445,6 +461,8 @@ declare namespace Inspector2 {
445
461
  }
446
462
  export type AmiId = string;
447
463
  export type AmiSortBy = "CRITICAL"|"HIGH"|"ALL"|"AFFECTED_INSTANCES"|string;
464
+ export type Architecture = "X86_64"|"ARM64"|string;
465
+ export type ArchitectureList = Architecture[];
448
466
  export type Arn = string;
449
467
  export interface AssociateMemberRequest {
450
468
  /**
@@ -467,6 +485,10 @@ declare namespace Inspector2 {
467
485
  * Represents whether Amazon ECR scans are automatically enabled for new members of your Amazon Inspector organization.
468
486
  */
469
487
  ecr: Boolean;
488
+ /**
489
+ * Represents whether AWS Lambda scans are automatically enabled for new members of your Amazon Inspector organization.
490
+ */
491
+ lambda?: Boolean;
470
492
  }
471
493
  export interface AwsEc2InstanceDetails {
472
494
  /**
@@ -596,7 +618,7 @@ declare namespace Inspector2 {
596
618
  */
597
619
  pushedAt?: DateTimeTimestamp;
598
620
  /**
599
- * The registry the Amazon ECR container image belongs to.
621
+ * The registry for the Amazon ECR container image.
600
622
  */
601
623
  registry: NonEmptyString;
602
624
  /**
@@ -605,6 +627,48 @@ declare namespace Inspector2 {
605
627
  repositoryName: NonEmptyString;
606
628
  }
607
629
  export type AwsEcrContainerSortBy = "CRITICAL"|"HIGH"|"ALL"|string;
630
+ export interface AwsLambdaFunctionDetails {
631
+ /**
632
+ * The instruction set architecture that the AWS Lambda function supports. Architecture is a string array with one of the valid values. The default architecture value is x86_64.
633
+ */
634
+ architectures?: ArchitectureList;
635
+ /**
636
+ * The SHA256 hash of the AWS Lambda function's deployment package.
637
+ */
638
+ codeSha256: NonEmptyString;
639
+ /**
640
+ * The AWS Lambda function's execution role.
641
+ */
642
+ executionRoleArn: ExecutionRoleArn;
643
+ /**
644
+ * The name of the AWS Lambda function.
645
+ */
646
+ functionName: FunctionName;
647
+ /**
648
+ * The date and time that a user last updated the configuration, in ISO 8601 format
649
+ */
650
+ lastModifiedAt?: Timestamp;
651
+ /**
652
+ * The AWS Lambda function's layers. A Lambda function can have up to five layers.
653
+ */
654
+ layers?: LayerList;
655
+ /**
656
+ * The type of deployment package. Set to Image for container image and set Zip for .zip file archive.
657
+ */
658
+ packageType?: PackageType;
659
+ /**
660
+ * The runtime environment for the AWS Lambda function.
661
+ */
662
+ runtime: Runtime;
663
+ /**
664
+ * The version of the AWS Lambda function.
665
+ */
666
+ version: Version;
667
+ /**
668
+ * The AWS Lambda function's networking configuration.
669
+ */
670
+ vpcConfig?: LambdaVpcConfig;
671
+ }
608
672
  export interface BatchGetAccountStatusRequest {
609
673
  /**
610
674
  * The 12-digit Amazon Web Services account IDs of the accounts to retrieve Amazon Inspector status for.
@@ -682,6 +746,18 @@ declare namespace Inspector2 {
682
746
  * The Amazon ECR repository name to filter on.
683
747
  */
684
748
  ecrRepositoryName?: CoverageStringFilterList;
749
+ /**
750
+ * Returns coverage statistics for AWS Lambda functions filtered by function names.
751
+ */
752
+ lambdaFunctionName?: CoverageStringFilterList;
753
+ /**
754
+ * Returns coverage statistics for AWS Lambda functions filtered by runtime.
755
+ */
756
+ lambdaFunctionRuntime?: CoverageStringFilterList;
757
+ /**
758
+ * Returns coverage statistics for AWS Lambda functions filtered by tag.
759
+ */
760
+ lambdaFunctionTags?: CoverageMapFilterList;
685
761
  /**
686
762
  * An array of Amazon Web Services resource IDs to return coverage statistics for.
687
763
  */
@@ -719,7 +795,7 @@ declare namespace Inspector2 {
719
795
  value?: NonEmptyString;
720
796
  }
721
797
  export type CoverageMapFilterList = CoverageMapFilter[];
722
- export type CoverageResourceType = "AWS_EC2_INSTANCE"|"AWS_ECR_CONTAINER_IMAGE"|"AWS_ECR_REPOSITORY"|string;
798
+ export type CoverageResourceType = "AWS_EC2_INSTANCE"|"AWS_ECR_CONTAINER_IMAGE"|"AWS_ECR_REPOSITORY"|"AWS_LAMBDA_FUNCTION"|string;
723
799
  export type CoverageStringComparison = "EQUALS"|"NOT_EQUALS"|string;
724
800
  export interface CoverageStringFilter {
725
801
  /**
@@ -1015,7 +1091,7 @@ declare namespace Inspector2 {
1015
1091
  }
1016
1092
  export interface Ec2InstanceAggregationResponse {
1017
1093
  /**
1018
- * The Amazon Web Services account the Amazon EC2 instance belongs to.
1094
+ * The Amazon Web Services account for the Amazon EC2 instance.
1019
1095
  */
1020
1096
  accountId?: String;
1021
1097
  /**
@@ -1147,6 +1223,14 @@ declare namespace Inspector2 {
1147
1223
  }
1148
1224
  export type ErrorCode = "ALREADY_ENABLED"|"ENABLE_IN_PROGRESS"|"DISABLE_IN_PROGRESS"|"SUSPEND_IN_PROGRESS"|"RESOURCE_NOT_FOUND"|"ACCESS_DENIED"|"INTERNAL_ERROR"|"SSM_UNAVAILABLE"|"SSM_THROTTLED"|"EVENTBRIDGE_UNAVAILABLE"|"EVENTBRIDGE_THROTTLED"|"RESOURCE_SCAN_NOT_DISABLED"|"DISASSOCIATE_ALL_MEMBERS"|"ACCOUNT_IS_ISOLATED"|string;
1149
1225
  export type ErrorMessage = string;
1226
+ export type ExecutionRoleArn = string;
1227
+ export type ExploitAvailable = "YES"|"NO"|string;
1228
+ export interface ExploitabilityDetails {
1229
+ /**
1230
+ * The date and time of the last exploit associated with a finding discovered in your environment.
1231
+ */
1232
+ lastKnownExploitAt?: DateTimeTimestamp;
1233
+ }
1150
1234
  export type ExternalReportStatus = "SUCCEEDED"|"IN_PROGRESS"|"CANCELLED"|"FAILED"|string;
1151
1235
  export interface FailedAccount {
1152
1236
  /**
@@ -1266,6 +1350,10 @@ declare namespace Inspector2 {
1266
1350
  * The tags attached to the Amazon ECR container image.
1267
1351
  */
1268
1352
  ecrImageTags?: StringFilterList;
1353
+ /**
1354
+ * Filters the list of AWS Lambda findings by the availability of exploits.
1355
+ */
1356
+ exploitAvailable?: StringFilterList;
1269
1357
  /**
1270
1358
  * Details on the finding ARNs used to filter findings.
1271
1359
  */
@@ -1290,6 +1378,26 @@ declare namespace Inspector2 {
1290
1378
  * The Amazon Inspector score to filter on.
1291
1379
  */
1292
1380
  inspectorScore?: NumberFilterList;
1381
+ /**
1382
+ * Filters the list of AWS Lambda functions by execution role.
1383
+ */
1384
+ lambdaFunctionExecutionRoleArn?: StringFilterList;
1385
+ /**
1386
+ * Filters the list of AWS Lambda functions by the date and time that a user last updated the configuration, in ISO 8601 format
1387
+ */
1388
+ lambdaFunctionLastModifiedAt?: DateFilterList;
1389
+ /**
1390
+ * Filters the list of AWS Lambda functions by the function's layers. A Lambda function can have up to five layers.
1391
+ */
1392
+ lambdaFunctionLayers?: StringFilterList;
1393
+ /**
1394
+ * Filters the list of AWS Lambda functions by the name of the function.
1395
+ */
1396
+ lambdaFunctionName?: StringFilterList;
1397
+ /**
1398
+ * Filters the list of AWS Lambda functions by the runtime environment for the Lambda function.
1399
+ */
1400
+ lambdaFunctionRuntime?: StringFilterList;
1293
1401
  /**
1294
1402
  * Details on the date and time a finding was last seen used to filter findings.
1295
1403
  */
@@ -1360,6 +1468,14 @@ declare namespace Inspector2 {
1360
1468
  * The description of the finding.
1361
1469
  */
1362
1470
  description: FindingDescription;
1471
+ /**
1472
+ * If a finding discovered in your environment has an exploit available.
1473
+ */
1474
+ exploitAvailable?: ExploitAvailable;
1475
+ /**
1476
+ * The details of an exploit available for a finding discovered in your environment.
1477
+ */
1478
+ exploitabilityDetails?: ExploitabilityDetails;
1363
1479
  /**
1364
1480
  * The Amazon Resource Number (ARN) of the finding.
1365
1481
  */
@@ -1504,7 +1620,8 @@ declare namespace Inspector2 {
1504
1620
  export type FreeTrialInfoErrorList = FreeTrialInfoError[];
1505
1621
  export type FreeTrialInfoList = FreeTrialInfo[];
1506
1622
  export type FreeTrialStatus = "ACTIVE"|"INACTIVE"|string;
1507
- export type FreeTrialType = "EC2"|"ECR"|string;
1623
+ export type FreeTrialType = "EC2"|"ECR"|"LAMBDA"|string;
1624
+ export type FunctionName = string;
1508
1625
  export interface GetConfigurationRequest {
1509
1626
  }
1510
1627
  export interface GetConfigurationResponse {
@@ -1623,6 +1740,137 @@ declare namespace Inspector2 {
1623
1740
  export type IpV4AddressList = IpV4Address[];
1624
1741
  export type IpV6Address = string;
1625
1742
  export type IpV6AddressList = IpV6Address[];
1743
+ export interface LambdaFunctionAggregation {
1744
+ /**
1745
+ * The AWS Lambda function names to include in the aggregation results.
1746
+ */
1747
+ functionNames?: StringFilterList;
1748
+ /**
1749
+ * The tags to include in the aggregation results.
1750
+ */
1751
+ functionTags?: MapFilterList;
1752
+ /**
1753
+ * The resource IDs to include in the aggregation results.
1754
+ */
1755
+ resourceIds?: StringFilterList;
1756
+ /**
1757
+ * Returns findings aggregated by AWS Lambda function runtime environments.
1758
+ */
1759
+ runtimes?: StringFilterList;
1760
+ /**
1761
+ * The finding severity to use for sorting the results.
1762
+ */
1763
+ sortBy?: LambdaFunctionSortBy;
1764
+ /**
1765
+ * The order to use for sorting the results.
1766
+ */
1767
+ sortOrder?: SortOrder;
1768
+ }
1769
+ export interface LambdaFunctionAggregationResponse {
1770
+ /**
1771
+ * The ID of the AWS account that owns the AWS Lambda function.
1772
+ */
1773
+ accountId?: AccountId;
1774
+ /**
1775
+ * The AWS Lambda function names included in the aggregation results.
1776
+ */
1777
+ functionName?: String;
1778
+ /**
1779
+ * The tags included in the aggregation results.
1780
+ */
1781
+ lambdaTags?: TagMap;
1782
+ /**
1783
+ * The date that the AWS Lambda function included in the aggregation results was last changed.
1784
+ */
1785
+ lastModifiedAt?: DateTimeTimestamp;
1786
+ /**
1787
+ * The resource IDs included in the aggregation results.
1788
+ */
1789
+ resourceId: NonEmptyString;
1790
+ /**
1791
+ * The runtimes included in the aggregation results.
1792
+ */
1793
+ runtime?: String;
1794
+ severityCounts?: SeverityCounts;
1795
+ }
1796
+ export interface LambdaFunctionMetadata {
1797
+ /**
1798
+ * The name of a function.
1799
+ */
1800
+ functionName?: String;
1801
+ /**
1802
+ * The resource tags on an AWS Lambda function.
1803
+ */
1804
+ functionTags?: TagMap;
1805
+ /**
1806
+ * The layers for an AWS Lambda function. A Lambda function can have up to five layers.
1807
+ */
1808
+ layers?: LambdaLayerList;
1809
+ /**
1810
+ * An AWS Lambda function's runtime.
1811
+ */
1812
+ runtime?: Runtime;
1813
+ }
1814
+ export type LambdaFunctionSortBy = "CRITICAL"|"HIGH"|"ALL"|string;
1815
+ export interface LambdaLayerAggregation {
1816
+ /**
1817
+ * The names of the AWS Lambda functions associated with the layers.
1818
+ */
1819
+ functionNames?: StringFilterList;
1820
+ /**
1821
+ * The Amazon Resource Name (ARN) of the AWS Lambda function layer.
1822
+ */
1823
+ layerArns?: StringFilterList;
1824
+ /**
1825
+ * The resource IDs for the AWS Lambda function layers.
1826
+ */
1827
+ resourceIds?: StringFilterList;
1828
+ /**
1829
+ * The finding severity to use for sorting the results.
1830
+ */
1831
+ sortBy?: LambdaLayerSortBy;
1832
+ /**
1833
+ * The order to use for sorting the results.
1834
+ */
1835
+ sortOrder?: SortOrder;
1836
+ }
1837
+ export interface LambdaLayerAggregationResponse {
1838
+ /**
1839
+ * The account ID of the AWS Lambda function layer.
1840
+ */
1841
+ accountId: AccountId;
1842
+ /**
1843
+ * The names of the AWS Lambda functions associated with the layers.
1844
+ */
1845
+ functionName: NonEmptyString;
1846
+ /**
1847
+ * The Amazon Resource Name (ARN) of the AWS Lambda function layer.
1848
+ */
1849
+ layerArn: NonEmptyString;
1850
+ /**
1851
+ * The Resource ID of the AWS Lambda function layer.
1852
+ */
1853
+ resourceId: NonEmptyString;
1854
+ severityCounts?: SeverityCounts;
1855
+ }
1856
+ export type LambdaLayerArn = string;
1857
+ export type LambdaLayerList = String[];
1858
+ export type LambdaLayerSortBy = "CRITICAL"|"HIGH"|"ALL"|string;
1859
+ export interface LambdaVpcConfig {
1860
+ /**
1861
+ * The VPC security groups and subnets that are attached to an AWS Lambda function. For more information, see VPC Settings.
1862
+ */
1863
+ securityGroupIds?: SecurityGroupIdList;
1864
+ /**
1865
+ * A list of VPC subnet IDs.
1866
+ */
1867
+ subnetIds?: SubnetIdList;
1868
+ /**
1869
+ * The ID of the VPC.
1870
+ */
1871
+ vpcId?: VpcId;
1872
+ }
1873
+ export type LayerList = LambdaLayerArn[];
1626
1874
  export type ListAccountPermissionsMaxResults = number;
1627
1875
  export interface ListAccountPermissionsRequest {
1628
1876
  /**
@@ -2004,6 +2252,7 @@ declare namespace Inspector2 {
2004
2252
  * An object that contains details on the package release to filter on.
2005
2253
  */
2006
2254
  release?: StringFilter;
2255
+ sourceLambdaLayerArn?: StringFilter;
2007
2256
  /**
2008
2257
  * An object that contains details on the source layer hash to filter on.
2009
2258
  */
@@ -2018,6 +2267,7 @@ declare namespace Inspector2 {
2018
2267
  export type PackageName = string;
2019
2268
  export type PackageRelease = string;
2020
2269
  export type PackageSortBy = "CRITICAL"|"HIGH"|"ALL"|string;
2270
+ export type PackageType = "IMAGE"|"ZIP"|string;
2021
2271
  export type PackageVersion = string;
2022
2272
  export interface PackageVulnerabilityDetails {
2023
2273
  /**
@@ -2183,6 +2433,10 @@ declare namespace Inspector2 {
2183
2433
  * An object that contains details about the Amazon ECR container image involved in the finding.
2184
2434
  */
2185
2435
  awsEcrContainerImage?: AwsEcrContainerImageDetails;
2436
+ /**
2437
+ * A summary of the information about an AWS Lambda function affected by a finding.
2438
+ */
2439
+ awsLambdaFunction?: AwsLambdaFunctionDetails;
2186
2440
  }
2187
2441
  export type ResourceId = string;
2188
2442
  export type ResourceList = Resource[];
@@ -2199,8 +2453,12 @@ declare namespace Inspector2 {
2199
2453
  * An object that contains details about the repository an Amazon ECR image resides in.
2200
2454
  */
2201
2455
  ecrRepository?: EcrRepositoryMetadata;
2456
+ /**
2457
+ * An object that contains metadata details for an AWS Lambda function.
2458
+ */
2459
+ lambdaFunction?: LambdaFunctionMetadata;
2202
2460
  }
2203
- export type ResourceScanType = "EC2"|"ECR"|string;
2461
+ export type ResourceScanType = "EC2"|"ECR"|"LAMBDA"|string;
2204
2462
  export interface ResourceState {
2205
2463
  /**
2206
2464
  * An object detailing the state of Amazon Inspector scanning for Amazon EC2 resources.
@@ -2210,6 +2468,7 @@ declare namespace Inspector2 {
2210
2468
  * An object detailing the state of Amazon Inspector scanning for Amazon ECR resources.
2211
2469
  */
2212
2470
  ecr: State;
2471
+ lambda?: State;
2213
2472
  }
2214
2473
  export interface ResourceStatus {
2215
2474
  /**
@@ -2220,8 +2479,13 @@ declare namespace Inspector2 {
2220
2479
  * The status of Amazon Inspector scanning for Amazon ECR resources.
2221
2480
  */
2222
2481
  ecr: Status;
2482
+ /**
2483
+ * The status of Amazon Inspector scanning for AWS Lambda function resources.
2484
+ */
2485
+ lambda?: Status;
2223
2486
  }
2224
- export type ResourceType = "AWS_EC2_INSTANCE"|"AWS_ECR_CONTAINER_IMAGE"|"AWS_ECR_REPOSITORY"|string;
2487
+ export type ResourceType = "AWS_EC2_INSTANCE"|"AWS_ECR_CONTAINER_IMAGE"|"AWS_ECR_REPOSITORY"|"AWS_LAMBDA_FUNCTION"|string;
2488
+ export type Runtime = "NODEJS"|"NODEJS_12_X"|"NODEJS_14_X"|"NODEJS_16_X"|"JAVA_8"|"JAVA_8_AL2"|"JAVA_11"|"PYTHON_3_7"|"PYTHON_3_8"|"PYTHON_3_9"|"UNSUPPORTED"|string;
2225
2489
  export interface ScanStatus {
2226
2490
  /**
2227
2491
  * The reason for the scan.
@@ -2233,9 +2497,11 @@ declare namespace Inspector2 {
2233
2497
  statusCode: ScanStatusCode;
2234
2498
  }
2235
2499
  export type ScanStatusCode = "ACTIVE"|"INACTIVE"|string;
2236
- export type ScanStatusReason = "PENDING_INITIAL_SCAN"|"ACCESS_DENIED"|"INTERNAL_ERROR"|"UNMANAGED_EC2_INSTANCE"|"UNSUPPORTED_OS"|"SCAN_ELIGIBILITY_EXPIRED"|"RESOURCE_TERMINATED"|"SUCCESSFUL"|"NO_RESOURCES_FOUND"|"IMAGE_SIZE_EXCEEDED"|"SCAN_FREQUENCY_MANUAL"|"SCAN_FREQUENCY_SCAN_ON_PUSH"|"EC2_INSTANCE_STOPPED"|"PENDING_DISABLE"|"NO_INVENTORY"|"STALE_INVENTORY"|string;
2500
+ export type ScanStatusReason = "PENDING_INITIAL_SCAN"|"ACCESS_DENIED"|"INTERNAL_ERROR"|"UNMANAGED_EC2_INSTANCE"|"UNSUPPORTED_OS"|"SCAN_ELIGIBILITY_EXPIRED"|"RESOURCE_TERMINATED"|"SUCCESSFUL"|"NO_RESOURCES_FOUND"|"IMAGE_SIZE_EXCEEDED"|"SCAN_FREQUENCY_MANUAL"|"SCAN_FREQUENCY_SCAN_ON_PUSH"|"EC2_INSTANCE_STOPPED"|"PENDING_DISABLE"|"NO_INVENTORY"|"STALE_INVENTORY"|"EXCLUDED_BY_TAG"|"UNSUPPORTED_RUNTIME"|string;
2237
2501
  export type ScanType = "NETWORK"|"PACKAGE"|string;
2238
- export type Service = "EC2"|"ECR"|string;
2502
+ export type SecurityGroupId = string;
2503
+ export type SecurityGroupIdList = SecurityGroupId[];
2504
+ export type Service = "EC2"|"ECR"|"LAMBDA"|string;
2239
2505
  export type Severity = "INFORMATIONAL"|"LOW"|"MEDIUM"|"HIGH"|"CRITICAL"|"UNTRIAGED"|string;
2240
2506
  export interface SeverityCounts {
2241
2507
  /**
@@ -2298,7 +2564,7 @@ declare namespace Inspector2 {
2298
2564
  export type StringComparison = "EQUALS"|"PREFIX"|"NOT_EQUALS"|string;
2299
2565
  export interface StringFilter {
2300
2566
  /**
2301
- * The operator to use when comparing values in the filter
2567
+ * The operator to use when comparing values in the filter.
2302
2568
  */
2303
2569
  comparison: StringComparison;
2304
2570
  /**
@@ -2309,6 +2575,8 @@ declare namespace Inspector2 {
2309
2575
  export type StringFilterList = StringFilter[];
2310
2576
  export type StringInput = string;
2311
2577
  export type StringList = NonEmptyString[];
2578
+ export type SubnetId = string;
2579
+ export type SubnetIdList = SubnetId[];
2312
2580
  export type TagKey = string;
2313
2581
  export type TagKeyList = TagKey[];
2314
2582
  export type TagList = String[];
@@ -2463,8 +2731,10 @@ declare namespace Inspector2 {
2463
2731
  usage?: UsageList;
2464
2732
  }
2465
2733
  export type UsageTotalList = UsageTotal[];
2466
- export type UsageType = "EC2_INSTANCE_HOURS"|"ECR_INITIAL_SCAN"|"ECR_RESCAN"|string;
2734
+ export type UsageType = "EC2_INSTANCE_HOURS"|"ECR_INITIAL_SCAN"|"ECR_RESCAN"|"LAMBDA_FUNCTION_HOURS"|string;
2467
2735
  export type UsageValue = number;
2736
+ export type Version = string;
2737
+ export type VpcId = string;
2468
2738
  export type VulnerabilityId = string;
2469
2739
  export type VulnerabilityIdList = VulnerabilityId[];
2470
2740
  export interface VulnerablePackage {
@@ -2500,6 +2770,10 @@ declare namespace Inspector2 {
2500
2770
  * The code to run in your environment to update packages with a fix available.
2501
2771
  */
2502
2772
  remediation?: VulnerablePackageRemediation;
2773
+ /**
2774
+ * The Amazon Resource Number (ARN) of the AWS Lambda function affected by a finding.
2775
+ */
2776
+ sourceLambdaLayerArn?: LambdaLayerArn;
2503
2777
  /**
2504
2778
  * The source layer hash of the vulnerable package.
2505
2779
  */