@aws-sdk/client-securityhub 3.458.0 → 3.460.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.
Files changed (103) hide show
  1. package/README.md +80 -0
  2. package/dist-cjs/SecurityHub.js +20 -0
  3. package/dist-cjs/commands/BatchGetConfigurationPolicyAssociationsCommand.js +51 -0
  4. package/dist-cjs/commands/CreateConfigurationPolicyCommand.js +51 -0
  5. package/dist-cjs/commands/DeleteConfigurationPolicyCommand.js +51 -0
  6. package/dist-cjs/commands/GetConfigurationPolicyAssociationCommand.js +51 -0
  7. package/dist-cjs/commands/GetConfigurationPolicyCommand.js +51 -0
  8. package/dist-cjs/commands/ListConfigurationPoliciesCommand.js +51 -0
  9. package/dist-cjs/commands/ListConfigurationPolicyAssociationsCommand.js +51 -0
  10. package/dist-cjs/commands/StartConfigurationPolicyAssociationCommand.js +51 -0
  11. package/dist-cjs/commands/StartConfigurationPolicyDisassociationCommand.js +51 -0
  12. package/dist-cjs/commands/UpdateConfigurationPolicyCommand.js +51 -0
  13. package/dist-cjs/commands/index.js +10 -0
  14. package/dist-cjs/models/models_0.js +10 -1
  15. package/dist-cjs/models/models_2.js +34 -1
  16. package/dist-cjs/pagination/ListConfigurationPoliciesPaginator.js +29 -0
  17. package/dist-cjs/pagination/ListConfigurationPolicyAssociationsPaginator.js +29 -0
  18. package/dist-cjs/pagination/index.js +2 -0
  19. package/dist-cjs/protocols/Aws_restJson1.js +943 -35
  20. package/dist-es/SecurityHub.js +20 -0
  21. package/dist-es/commands/BatchGetConfigurationPolicyAssociationsCommand.js +47 -0
  22. package/dist-es/commands/CreateConfigurationPolicyCommand.js +47 -0
  23. package/dist-es/commands/DeleteConfigurationPolicyCommand.js +47 -0
  24. package/dist-es/commands/GetConfigurationPolicyAssociationCommand.js +47 -0
  25. package/dist-es/commands/GetConfigurationPolicyCommand.js +47 -0
  26. package/dist-es/commands/ListConfigurationPoliciesCommand.js +47 -0
  27. package/dist-es/commands/ListConfigurationPolicyAssociationsCommand.js +47 -0
  28. package/dist-es/commands/StartConfigurationPolicyAssociationCommand.js +47 -0
  29. package/dist-es/commands/StartConfigurationPolicyDisassociationCommand.js +47 -0
  30. package/dist-es/commands/UpdateConfigurationPolicyCommand.js +47 -0
  31. package/dist-es/commands/index.js +10 -0
  32. package/dist-es/models/models_0.js +9 -0
  33. package/dist-es/models/models_2.js +33 -0
  34. package/dist-es/pagination/ListConfigurationPoliciesPaginator.js +25 -0
  35. package/dist-es/pagination/ListConfigurationPolicyAssociationsPaginator.js +25 -0
  36. package/dist-es/pagination/index.js +2 -0
  37. package/dist-es/protocols/Aws_restJson1.js +920 -33
  38. package/dist-types/SecurityHub.d.ts +70 -0
  39. package/dist-types/SecurityHubClient.d.ts +12 -2
  40. package/dist-types/commands/BatchDisableStandardsCommand.d.ts +3 -0
  41. package/dist-types/commands/BatchEnableStandardsCommand.d.ts +3 -0
  42. package/dist-types/commands/BatchGetAutomationRulesCommand.d.ts +3 -0
  43. package/dist-types/commands/BatchGetConfigurationPolicyAssociationsCommand.d.ts +176 -0
  44. package/dist-types/commands/BatchGetSecurityControlsCommand.d.ts +22 -2
  45. package/dist-types/commands/BatchImportFindingsCommand.d.ts +4 -0
  46. package/dist-types/commands/BatchUpdateAutomationRulesCommand.d.ts +3 -0
  47. package/dist-types/commands/BatchUpdateStandardsControlAssociationsCommand.d.ts +3 -0
  48. package/dist-types/commands/CreateAutomationRuleCommand.d.ts +3 -0
  49. package/dist-types/commands/CreateConfigurationPolicyCommand.d.ts +265 -0
  50. package/dist-types/commands/CreateInsightCommand.d.ts +3 -0
  51. package/dist-types/commands/CreateMembersCommand.d.ts +3 -0
  52. package/dist-types/commands/DeleteConfigurationPolicyCommand.d.ts +109 -0
  53. package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +27 -2
  54. package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +3 -0
  55. package/dist-types/commands/DisableSecurityHubCommand.d.ts +3 -0
  56. package/dist-types/commands/DisassociateMembersCommand.d.ts +3 -0
  57. package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +3 -0
  58. package/dist-types/commands/GetConfigurationPolicyAssociationCommand.d.ts +131 -0
  59. package/dist-types/commands/GetConfigurationPolicyCommand.d.ts +191 -0
  60. package/dist-types/commands/GetFindingsCommand.d.ts +7 -0
  61. package/dist-types/commands/GetInsightsCommand.d.ts +3 -0
  62. package/dist-types/commands/GetSecurityControlDefinitionCommand.d.ts +35 -0
  63. package/dist-types/commands/ListConfigurationPoliciesCommand.d.ts +131 -0
  64. package/dist-types/commands/ListConfigurationPolicyAssociationsCommand.d.ts +140 -0
  65. package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +6 -0
  66. package/dist-types/commands/StartConfigurationPolicyAssociationCommand.d.ts +133 -0
  67. package/dist-types/commands/StartConfigurationPolicyDisassociationCommand.d.ts +116 -0
  68. package/dist-types/commands/UpdateConfigurationPolicyCommand.d.ts +271 -0
  69. package/dist-types/commands/UpdateFindingsCommand.d.ts +3 -0
  70. package/dist-types/commands/UpdateInsightCommand.d.ts +3 -0
  71. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +16 -2
  72. package/dist-types/commands/UpdateSecurityControlCommand.d.ts +23 -0
  73. package/dist-types/commands/UpdateSecurityHubConfigurationCommand.d.ts +3 -0
  74. package/dist-types/commands/UpdateStandardsControlCommand.d.ts +3 -0
  75. package/dist-types/commands/index.d.ts +10 -0
  76. package/dist-types/models/models_0.d.ts +86 -192
  77. package/dist-types/models/models_1.d.ts +192 -49
  78. package/dist-types/models/models_2.d.ts +1180 -37
  79. package/dist-types/pagination/ListConfigurationPoliciesPaginator.d.ts +7 -0
  80. package/dist-types/pagination/ListConfigurationPolicyAssociationsPaginator.d.ts +7 -0
  81. package/dist-types/pagination/index.d.ts +2 -0
  82. package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
  83. package/dist-types/ts3.4/SecurityHub.d.ts +200 -0
  84. package/dist-types/ts3.4/SecurityHubClient.d.ts +60 -0
  85. package/dist-types/ts3.4/commands/BatchGetConfigurationPolicyAssociationsCommand.d.ts +42 -0
  86. package/dist-types/ts3.4/commands/CreateConfigurationPolicyCommand.d.ts +42 -0
  87. package/dist-types/ts3.4/commands/DeleteConfigurationPolicyCommand.d.ts +42 -0
  88. package/dist-types/ts3.4/commands/GetConfigurationPolicyAssociationCommand.d.ts +42 -0
  89. package/dist-types/ts3.4/commands/GetConfigurationPolicyCommand.d.ts +42 -0
  90. package/dist-types/ts3.4/commands/ListConfigurationPoliciesCommand.d.ts +42 -0
  91. package/dist-types/ts3.4/commands/ListConfigurationPolicyAssociationsCommand.d.ts +42 -0
  92. package/dist-types/ts3.4/commands/StartConfigurationPolicyAssociationCommand.d.ts +42 -0
  93. package/dist-types/ts3.4/commands/StartConfigurationPolicyDisassociationCommand.d.ts +42 -0
  94. package/dist-types/ts3.4/commands/UpdateConfigurationPolicyCommand.d.ts +42 -0
  95. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  96. package/dist-types/ts3.4/models/models_0.d.ts +21 -26
  97. package/dist-types/ts3.4/models/models_1.d.ts +32 -9
  98. package/dist-types/ts3.4/models/models_2.d.ts +243 -4
  99. package/dist-types/ts3.4/pagination/ListConfigurationPoliciesPaginator.d.ts +11 -0
  100. package/dist-types/ts3.4/pagination/ListConfigurationPolicyAssociationsPaginator.d.ts +11 -0
  101. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  102. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +120 -0
  103. package/package.json +12 -12
@@ -4,6 +4,7 @@ export * from "./BatchDeleteAutomationRulesCommand";
4
4
  export * from "./BatchDisableStandardsCommand";
5
5
  export * from "./BatchEnableStandardsCommand";
6
6
  export * from "./BatchGetAutomationRulesCommand";
7
+ export * from "./BatchGetConfigurationPolicyAssociationsCommand";
7
8
  export * from "./BatchGetSecurityControlsCommand";
8
9
  export * from "./BatchGetStandardsControlAssociationsCommand";
9
10
  export * from "./BatchImportFindingsCommand";
@@ -12,11 +13,13 @@ export * from "./BatchUpdateFindingsCommand";
12
13
  export * from "./BatchUpdateStandardsControlAssociationsCommand";
13
14
  export * from "./CreateActionTargetCommand";
14
15
  export * from "./CreateAutomationRuleCommand";
16
+ export * from "./CreateConfigurationPolicyCommand";
15
17
  export * from "./CreateFindingAggregatorCommand";
16
18
  export * from "./CreateInsightCommand";
17
19
  export * from "./CreateMembersCommand";
18
20
  export * from "./DeclineInvitationsCommand";
19
21
  export * from "./DeleteActionTargetCommand";
22
+ export * from "./DeleteConfigurationPolicyCommand";
20
23
  export * from "./DeleteFindingAggregatorCommand";
21
24
  export * from "./DeleteInsightCommand";
22
25
  export * from "./DeleteInvitationsCommand";
@@ -37,6 +40,8 @@ export * from "./EnableImportFindingsForProductCommand";
37
40
  export * from "./EnableOrganizationAdminAccountCommand";
38
41
  export * from "./EnableSecurityHubCommand";
39
42
  export * from "./GetAdministratorAccountCommand";
43
+ export * from "./GetConfigurationPolicyAssociationCommand";
44
+ export * from "./GetConfigurationPolicyCommand";
40
45
  export * from "./GetEnabledStandardsCommand";
41
46
  export * from "./GetFindingAggregatorCommand";
42
47
  export * from "./GetFindingHistoryCommand";
@@ -49,6 +54,8 @@ export * from "./GetMembersCommand";
49
54
  export * from "./GetSecurityControlDefinitionCommand";
50
55
  export * from "./InviteMembersCommand";
51
56
  export * from "./ListAutomationRulesCommand";
57
+ export * from "./ListConfigurationPoliciesCommand";
58
+ export * from "./ListConfigurationPolicyAssociationsCommand";
52
59
  export * from "./ListEnabledProductsForImportCommand";
53
60
  export * from "./ListFindingAggregatorsCommand";
54
61
  export * from "./ListInvitationsCommand";
@@ -57,9 +64,12 @@ export * from "./ListOrganizationAdminAccountsCommand";
57
64
  export * from "./ListSecurityControlDefinitionsCommand";
58
65
  export * from "./ListStandardsControlAssociationsCommand";
59
66
  export * from "./ListTagsForResourceCommand";
67
+ export * from "./StartConfigurationPolicyAssociationCommand";
68
+ export * from "./StartConfigurationPolicyDisassociationCommand";
60
69
  export * from "./TagResourceCommand";
61
70
  export * from "./UntagResourceCommand";
62
71
  export * from "./UpdateActionTargetCommand";
72
+ export * from "./UpdateConfigurationPolicyCommand";
63
73
  export * from "./UpdateFindingAggregatorCommand";
64
74
  export * from "./UpdateFindingsCommand";
65
75
  export * from "./UpdateInsightCommand";
@@ -904,6 +904,62 @@ export interface AssociatedStandard {
904
904
  */
905
905
  StandardsId?: string;
906
906
  }
907
+ /**
908
+ * @public
909
+ * @enum
910
+ */
911
+ export declare const ConfigurationPolicyAssociationStatus: {
912
+ readonly FAILED: "FAILED";
913
+ readonly PENDING: "PENDING";
914
+ readonly SUCCESS: "SUCCESS";
915
+ };
916
+ /**
917
+ * @public
918
+ */
919
+ export type ConfigurationPolicyAssociationStatus = (typeof ConfigurationPolicyAssociationStatus)[keyof typeof ConfigurationPolicyAssociationStatus];
920
+ /**
921
+ * @public
922
+ * @enum
923
+ */
924
+ export declare const AssociationType: {
925
+ readonly APPLIED: "APPLIED";
926
+ readonly INHERITED: "INHERITED";
927
+ };
928
+ /**
929
+ * @public
930
+ */
931
+ export type AssociationType = (typeof AssociationType)[keyof typeof AssociationType];
932
+ /**
933
+ * @public
934
+ * <p>
935
+ * Options for filtering the <code>ListConfigurationPolicyAssociations</code> response. You can filter by the Amazon Resource Name (ARN) or
936
+ * universally unique identifier (UUID) of a configuration policy, <code>AssociationType</code>, or <code>AssociationStatus</code>.
937
+ * </p>
938
+ */
939
+ export interface AssociationFilters {
940
+ /**
941
+ * @public
942
+ * <p>
943
+ * The ARN or UUID of the configuration policy.
944
+ * </p>
945
+ */
946
+ ConfigurationPolicyId?: string;
947
+ /**
948
+ * @public
949
+ * <p>
950
+ * Indicates whether the association between a target and a configuration was directly applied by the
951
+ * Security Hub delegated administrator or inherited from a parent.
952
+ * </p>
953
+ */
954
+ AssociationType?: AssociationType;
955
+ /**
956
+ * @public
957
+ * <p>
958
+ * The current status of the association between a target and a configuration policy.
959
+ * </p>
960
+ */
961
+ AssociationStatus?: ConfigurationPolicyAssociationStatus;
962
+ }
907
963
  /**
908
964
  * @public
909
965
  * <p>
@@ -1314,7 +1370,7 @@ export interface AutomationRulesFindingFilters {
1314
1370
  ProductArn?: StringFilter[];
1315
1371
  /**
1316
1372
  * @public
1317
- * <p> The Amazon Web Services account ID in which a finding was generated. </p>
1373
+ * <p>The Amazon Web Services account ID in which a finding was generated.</p>
1318
1374
  * <p>
1319
1375
  * Array Members: Minimum number of 1 item. Maximum number of 100 items.
1320
1376
  * </p>
@@ -1678,6 +1734,35 @@ export interface AutomationRulesFindingFilters {
1678
1734
  * </p>
1679
1735
  */
1680
1736
  UserDefinedFields?: MapFilter[];
1737
+ /**
1738
+ * @public
1739
+ * <p>
1740
+ * The Amazon Resource Name (ARN) of the application that is related to a finding.
1741
+ * </p>
1742
+ * <p>
1743
+ * Array Members: Minimum number of 1 item. Maximum number of 20 items.
1744
+ * </p>
1745
+ */
1746
+ ResourceApplicationArn?: StringFilter[];
1747
+ /**
1748
+ * @public
1749
+ * <p>
1750
+ * The name of the application that is related to a finding.
1751
+ * </p>
1752
+ * <p>
1753
+ * Array Members: Minimum number of 1 item. Maximum number of 20 items.
1754
+ * </p>
1755
+ */
1756
+ ResourceApplicationName?: StringFilter[];
1757
+ /**
1758
+ * @public
1759
+ * <p>The name of the Amazon Web Services account in which a finding was generated.
1760
+ * </p>
1761
+ * <p>
1762
+ * Array Members: Minimum number of 1 item. Maximum number of 20 items.
1763
+ * </p>
1764
+ */
1765
+ AwsAccountName?: StringFilter[];
1681
1766
  }
1682
1767
  /**
1683
1768
  * @public
@@ -11288,194 +11373,3 @@ export interface AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationDetails {
11288
11373
  */
11289
11374
  TransitEncryptionPort?: number;
11290
11375
  }
11291
- /**
11292
- * @public
11293
- * <p>Information about a bind mount host volume.</p>
11294
- */
11295
- export interface AwsEcsTaskDefinitionVolumesHostDetails {
11296
- /**
11297
- * @public
11298
- * <p>The path on the host container instance that is presented to the container.</p>
11299
- */
11300
- SourcePath?: string;
11301
- }
11302
- /**
11303
- * @public
11304
- * <p>A data volume to mount from another container.</p>
11305
- */
11306
- export interface AwsEcsTaskDefinitionVolumesDetails {
11307
- /**
11308
- * @public
11309
- * <p>Information about a Docker volume.</p>
11310
- */
11311
- DockerVolumeConfiguration?: AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails;
11312
- /**
11313
- * @public
11314
- * <p>Information about the Amazon Elastic File System file system that is used for task storage.</p>
11315
- */
11316
- EfsVolumeConfiguration?: AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationDetails;
11317
- /**
11318
- * @public
11319
- * <p>Information about a bind mount host volume.</p>
11320
- */
11321
- Host?: AwsEcsTaskDefinitionVolumesHostDetails;
11322
- /**
11323
- * @public
11324
- * <p>The name of the data volume.</p>
11325
- */
11326
- Name?: string;
11327
- }
11328
- /**
11329
- * @public
11330
- * <p>Details about a task definition. A task definition describes the container and volume definitions
11331
- * of an Amazon Elastic Container Service task.</p>
11332
- */
11333
- export interface AwsEcsTaskDefinitionDetails {
11334
- /**
11335
- * @public
11336
- * <p>The container definitions that describe the containers that make up the task.</p>
11337
- */
11338
- ContainerDefinitions?: AwsEcsTaskDefinitionContainerDefinitionsDetails[];
11339
- /**
11340
- * @public
11341
- * <p>The number of CPU units used by the task.Valid values are as follows:</p>
11342
- * <ul>
11343
- * <li>
11344
- * <p>
11345
- * <code>256 (.25 vCPU)</code>
11346
- * </p>
11347
- * </li>
11348
- * <li>
11349
- * <p>
11350
- * <code>512 (.5 vCPU)</code>
11351
- * </p>
11352
- * </li>
11353
- * <li>
11354
- * <p>
11355
- * <code>1024 (1 vCPU)</code>
11356
- * </p>
11357
- * </li>
11358
- * <li>
11359
- * <p>
11360
- * <code>2048 (2 vCPU)</code>
11361
- * </p>
11362
- * </li>
11363
- * <li>
11364
- * <p>
11365
- * <code>4096 (4 vCPU)</code>
11366
- * </p>
11367
- * </li>
11368
- * </ul>
11369
- */
11370
- Cpu?: string;
11371
- /**
11372
- * @public
11373
- * <p>The ARN of the task execution role that grants the container agent permission to make API calls on behalf of the container user.</p>
11374
- */
11375
- ExecutionRoleArn?: string;
11376
- /**
11377
- * @public
11378
- * <p>The name of a family that this task definition is registered to.</p>
11379
- */
11380
- Family?: string;
11381
- /**
11382
- * @public
11383
- * <p>The Elastic Inference accelerators to use for the containers in the task.</p>
11384
- */
11385
- InferenceAccelerators?: AwsEcsTaskDefinitionInferenceAcceleratorsDetails[];
11386
- /**
11387
- * @public
11388
- * <p>The inter-process communication (IPC) resource namespace to use for the containers in the task. Valid values are as follows:</p>
11389
- * <ul>
11390
- * <li>
11391
- * <p>
11392
- * <code>host</code>
11393
- * </p>
11394
- * </li>
11395
- * <li>
11396
- * <p>
11397
- * <code>none</code>
11398
- * </p>
11399
- * </li>
11400
- * <li>
11401
- * <p>
11402
- * <code>task</code>
11403
- * </p>
11404
- * </li>
11405
- * </ul>
11406
- */
11407
- IpcMode?: string;
11408
- /**
11409
- * @public
11410
- * <p>The amount (in MiB) of memory used by the task. </p>
11411
- * <p>For tasks that are hosted on Amazon EC2, you can provide a task-level memory value or a container-level memory value.
11412
- * For tasks that are hosted on Fargate, you must use one of the <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_size">specified values</a> in the <i>
11413
- * <i>Amazon Elastic Container Service Developer Guide</i>
11414
- * </i>, which determines your range of supported values for the <code>Cpu</code> and <code>Memory</code> parameters.</p>
11415
- */
11416
- Memory?: string;
11417
- /**
11418
- * @public
11419
- * <p>The Docker networking mode to use for the containers in the task. Valid values are as follows:</p>
11420
- * <ul>
11421
- * <li>
11422
- * <p>
11423
- * <code>awsvpc</code>
11424
- * </p>
11425
- * </li>
11426
- * <li>
11427
- * <p>
11428
- * <code>bridge</code>
11429
- * </p>
11430
- * </li>
11431
- * <li>
11432
- * <p>
11433
- * <code>host</code>
11434
- * </p>
11435
- * </li>
11436
- * <li>
11437
- * <p>
11438
- * <code>none</code>
11439
- * </p>
11440
- * </li>
11441
- * </ul>
11442
- */
11443
- NetworkMode?: string;
11444
- /**
11445
- * @public
11446
- * <p>The process namespace to use for the containers in the task. Valid values are <code>host</code> or <code>task</code>.</p>
11447
- */
11448
- PidMode?: string;
11449
- /**
11450
- * @public
11451
- * <p>The placement constraint objects to use for tasks.</p>
11452
- */
11453
- PlacementConstraints?: AwsEcsTaskDefinitionPlacementConstraintsDetails[];
11454
- /**
11455
- * @public
11456
- * <p>The configuration details for the App Mesh proxy.</p>
11457
- */
11458
- ProxyConfiguration?: AwsEcsTaskDefinitionProxyConfigurationDetails;
11459
- /**
11460
- * @public
11461
- * <p>The task launch types that the task definition was validated against.</p>
11462
- */
11463
- RequiresCompatibilities?: string[];
11464
- /**
11465
- * @public
11466
- * <p>The short name or ARN of the IAM role that grants containers in the task permission to call Amazon Web Services API operations on your behalf.</p>
11467
- */
11468
- TaskRoleArn?: string;
11469
- /**
11470
- * @public
11471
- * <p>The data volume definitions for the task.</p>
11472
- */
11473
- Volumes?: AwsEcsTaskDefinitionVolumesDetails[];
11474
- /**
11475
- * @public
11476
- * <p>
11477
- * The status of the task definition.
11478
- * </p>
11479
- */
11480
- Status?: string;
11481
- }
@@ -1,4 +1,195 @@
1
- import { AssociatedStandard, AvailabilityZone, AwsEcsContainerDetails, RelatedFinding, SeverityLabel } from "./models_0";
1
+ import { AssociatedStandard, AvailabilityZone, AwsEcsContainerDetails, AwsEcsTaskDefinitionContainerDefinitionsDetails, AwsEcsTaskDefinitionInferenceAcceleratorsDetails, AwsEcsTaskDefinitionPlacementConstraintsDetails, AwsEcsTaskDefinitionProxyConfigurationDetails, AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails, AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationDetails, RelatedFinding, SeverityLabel } from "./models_0";
2
+ /**
3
+ * @public
4
+ * <p>Information about a bind mount host volume.</p>
5
+ */
6
+ export interface AwsEcsTaskDefinitionVolumesHostDetails {
7
+ /**
8
+ * @public
9
+ * <p>The path on the host container instance that is presented to the container.</p>
10
+ */
11
+ SourcePath?: string;
12
+ }
13
+ /**
14
+ * @public
15
+ * <p>A data volume to mount from another container.</p>
16
+ */
17
+ export interface AwsEcsTaskDefinitionVolumesDetails {
18
+ /**
19
+ * @public
20
+ * <p>Information about a Docker volume.</p>
21
+ */
22
+ DockerVolumeConfiguration?: AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails;
23
+ /**
24
+ * @public
25
+ * <p>Information about the Amazon Elastic File System file system that is used for task storage.</p>
26
+ */
27
+ EfsVolumeConfiguration?: AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationDetails;
28
+ /**
29
+ * @public
30
+ * <p>Information about a bind mount host volume.</p>
31
+ */
32
+ Host?: AwsEcsTaskDefinitionVolumesHostDetails;
33
+ /**
34
+ * @public
35
+ * <p>The name of the data volume.</p>
36
+ */
37
+ Name?: string;
38
+ }
39
+ /**
40
+ * @public
41
+ * <p>Details about a task definition. A task definition describes the container and volume definitions
42
+ * of an Amazon Elastic Container Service task.</p>
43
+ */
44
+ export interface AwsEcsTaskDefinitionDetails {
45
+ /**
46
+ * @public
47
+ * <p>The container definitions that describe the containers that make up the task.</p>
48
+ */
49
+ ContainerDefinitions?: AwsEcsTaskDefinitionContainerDefinitionsDetails[];
50
+ /**
51
+ * @public
52
+ * <p>The number of CPU units used by the task.Valid values are as follows:</p>
53
+ * <ul>
54
+ * <li>
55
+ * <p>
56
+ * <code>256 (.25 vCPU)</code>
57
+ * </p>
58
+ * </li>
59
+ * <li>
60
+ * <p>
61
+ * <code>512 (.5 vCPU)</code>
62
+ * </p>
63
+ * </li>
64
+ * <li>
65
+ * <p>
66
+ * <code>1024 (1 vCPU)</code>
67
+ * </p>
68
+ * </li>
69
+ * <li>
70
+ * <p>
71
+ * <code>2048 (2 vCPU)</code>
72
+ * </p>
73
+ * </li>
74
+ * <li>
75
+ * <p>
76
+ * <code>4096 (4 vCPU)</code>
77
+ * </p>
78
+ * </li>
79
+ * </ul>
80
+ */
81
+ Cpu?: string;
82
+ /**
83
+ * @public
84
+ * <p>The ARN of the task execution role that grants the container agent permission to make API calls on behalf of the container user.</p>
85
+ */
86
+ ExecutionRoleArn?: string;
87
+ /**
88
+ * @public
89
+ * <p>The name of a family that this task definition is registered to.</p>
90
+ */
91
+ Family?: string;
92
+ /**
93
+ * @public
94
+ * <p>The Elastic Inference accelerators to use for the containers in the task.</p>
95
+ */
96
+ InferenceAccelerators?: AwsEcsTaskDefinitionInferenceAcceleratorsDetails[];
97
+ /**
98
+ * @public
99
+ * <p>The inter-process communication (IPC) resource namespace to use for the containers in the task. Valid values are as follows:</p>
100
+ * <ul>
101
+ * <li>
102
+ * <p>
103
+ * <code>host</code>
104
+ * </p>
105
+ * </li>
106
+ * <li>
107
+ * <p>
108
+ * <code>none</code>
109
+ * </p>
110
+ * </li>
111
+ * <li>
112
+ * <p>
113
+ * <code>task</code>
114
+ * </p>
115
+ * </li>
116
+ * </ul>
117
+ */
118
+ IpcMode?: string;
119
+ /**
120
+ * @public
121
+ * <p>The amount (in MiB) of memory used by the task. </p>
122
+ * <p>For tasks that are hosted on Amazon EC2, you can provide a task-level memory value or a container-level memory value.
123
+ * For tasks that are hosted on Fargate, you must use one of the <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_size">specified values</a> in the <i>
124
+ * <i>Amazon Elastic Container Service Developer Guide</i>
125
+ * </i>, which determines your range of supported values for the <code>Cpu</code> and <code>Memory</code> parameters.</p>
126
+ */
127
+ Memory?: string;
128
+ /**
129
+ * @public
130
+ * <p>The Docker networking mode to use for the containers in the task. Valid values are as follows:</p>
131
+ * <ul>
132
+ * <li>
133
+ * <p>
134
+ * <code>awsvpc</code>
135
+ * </p>
136
+ * </li>
137
+ * <li>
138
+ * <p>
139
+ * <code>bridge</code>
140
+ * </p>
141
+ * </li>
142
+ * <li>
143
+ * <p>
144
+ * <code>host</code>
145
+ * </p>
146
+ * </li>
147
+ * <li>
148
+ * <p>
149
+ * <code>none</code>
150
+ * </p>
151
+ * </li>
152
+ * </ul>
153
+ */
154
+ NetworkMode?: string;
155
+ /**
156
+ * @public
157
+ * <p>The process namespace to use for the containers in the task. Valid values are <code>host</code> or <code>task</code>.</p>
158
+ */
159
+ PidMode?: string;
160
+ /**
161
+ * @public
162
+ * <p>The placement constraint objects to use for tasks.</p>
163
+ */
164
+ PlacementConstraints?: AwsEcsTaskDefinitionPlacementConstraintsDetails[];
165
+ /**
166
+ * @public
167
+ * <p>The configuration details for the App Mesh proxy.</p>
168
+ */
169
+ ProxyConfiguration?: AwsEcsTaskDefinitionProxyConfigurationDetails;
170
+ /**
171
+ * @public
172
+ * <p>The task launch types that the task definition was validated against.</p>
173
+ */
174
+ RequiresCompatibilities?: string[];
175
+ /**
176
+ * @public
177
+ * <p>The short name or ARN of the IAM role that grants containers in the task permission to call Amazon Web Services API operations on your behalf.</p>
178
+ */
179
+ TaskRoleArn?: string;
180
+ /**
181
+ * @public
182
+ * <p>The data volume definitions for the task.</p>
183
+ */
184
+ Volumes?: AwsEcsTaskDefinitionVolumesDetails[];
185
+ /**
186
+ * @public
187
+ * <p>
188
+ * The status of the task definition.
189
+ * </p>
190
+ */
191
+ Status?: string;
192
+ }
2
193
  /**
3
194
  * @public
4
195
  * <p>Provides details on a container instance bind mount host volume.
@@ -9403,51 +9594,3 @@ export interface AwsWafv2CustomResponseDetails {
9403
9594
  */
9404
9595
  ResponseHeaders?: AwsWafv2CustomHttpHeader[];
9405
9596
  }
9406
- /**
9407
- * @public
9408
- * <p>
9409
- * Specifies that WAF should block the request and optionally defines additional custom handling for the response to the web request.
9410
- * </p>
9411
- */
9412
- export interface AwsWafv2ActionBlockDetails {
9413
- /**
9414
- * @public
9415
- * <p>
9416
- * Defines a custom response for the web request. For information, see
9417
- * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html">Customizing web requests and responses in WAF</a> in the <i>WAF Developer Guide.</i>.
9418
- * </p>
9419
- */
9420
- CustomResponse?: AwsWafv2CustomResponseDetails;
9421
- }
9422
- /**
9423
- * @public
9424
- * <p>
9425
- * Specifies that WAF should run a CAPTCHA check against the request.
9426
- * </p>
9427
- */
9428
- export interface AwsWafv2RulesActionCaptchaDetails {
9429
- /**
9430
- * @public
9431
- * <p>
9432
- * Defines custom handling for the web request, used when the CAPTCHA inspection determines that the request's token is valid and unexpired. For more information,
9433
- * see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html">Customizing web requests and responses in WAF</a> in the <i>WAF Developer Guide.</i>.
9434
- * </p>
9435
- */
9436
- CustomRequestHandling?: AwsWafv2CustomRequestHandlingDetails;
9437
- }
9438
- /**
9439
- * @public
9440
- * <p>
9441
- * Specifies that WAF should count the request.
9442
- * </p>
9443
- */
9444
- export interface AwsWafv2RulesActionCountDetails {
9445
- /**
9446
- * @public
9447
- * <p>
9448
- * Defines custom handling for the web request. For more information,
9449
- * see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html">Customizing web requests and responses in WAF</a> in the <i>WAF Developer Guide.</i>.
9450
- * </p>
9451
- */
9452
- CustomRequestHandling?: AwsWafv2CustomRequestHandlingDetails;
9453
- }