@aws-sdk/client-ecs 3.592.0 → 3.594.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/dist-cjs/index.js CHANGED
@@ -2702,6 +2702,7 @@ var de_Deployment = /* @__PURE__ */ __name((output, context) => {
2702
2702
  createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2703
2703
  desiredCount: import_smithy_client.expectInt32,
2704
2704
  failedTasks: import_smithy_client.expectInt32,
2705
+ fargateEphemeralStorage: import_smithy_client._json,
2705
2706
  id: import_smithy_client.expectString,
2706
2707
  launchType: import_smithy_client.expectString,
2707
2708
  networkConfiguration: import_smithy_client._json,
@@ -2933,6 +2934,7 @@ var de_Task = /* @__PURE__ */ __name((output, context) => {
2933
2934
  enableExecuteCommand: import_smithy_client.expectBoolean,
2934
2935
  ephemeralStorage: import_smithy_client._json,
2935
2936
  executionStoppedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2937
+ fargateEphemeralStorage: import_smithy_client._json,
2936
2938
  group: import_smithy_client.expectString,
2937
2939
  healthStatus: import_smithy_client.expectString,
2938
2940
  inferenceAccelerators: import_smithy_client._json,
@@ -3003,6 +3005,7 @@ var de_TaskSet = /* @__PURE__ */ __name((output, context) => {
3003
3005
  computedDesiredCount: import_smithy_client.expectInt32,
3004
3006
  createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3005
3007
  externalId: import_smithy_client.expectString,
3008
+ fargateEphemeralStorage: import_smithy_client._json,
3006
3009
  id: import_smithy_client.expectString,
3007
3010
  launchType: import_smithy_client.expectString,
3008
3011
  loadBalancers: import_smithy_client._json,
@@ -1591,6 +1591,7 @@ const de_Deployment = (output, context) => {
1591
1591
  createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1592
1592
  desiredCount: __expectInt32,
1593
1593
  failedTasks: __expectInt32,
1594
+ fargateEphemeralStorage: _json,
1594
1595
  id: __expectString,
1595
1596
  launchType: __expectString,
1596
1597
  networkConfiguration: _json,
@@ -1836,6 +1837,7 @@ const de_Task = (output, context) => {
1836
1837
  enableExecuteCommand: __expectBoolean,
1837
1838
  ephemeralStorage: _json,
1838
1839
  executionStoppedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1840
+ fargateEphemeralStorage: _json,
1839
1841
  group: __expectString,
1840
1842
  healthStatus: __expectString,
1841
1843
  inferenceAccelerators: _json,
@@ -1910,6 +1912,7 @@ const de_TaskSet = (output, context) => {
1910
1912
  computedDesiredCount: __expectInt32,
1911
1913
  createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1912
1914
  externalId: __expectString,
1915
+ fargateEphemeralStorage: _json,
1913
1916
  id: __expectString,
1914
1917
  launchType: __expectString,
1915
1918
  loadBalancers: _json,
@@ -70,6 +70,10 @@ declare const CreateClusterCommand_base: {
70
70
  * s3KeyPrefix: "STRING_VALUE",
71
71
  * },
72
72
  * },
73
+ * managedStorageConfiguration: { // ManagedStorageConfiguration
74
+ * kmsKeyId: "STRING_VALUE",
75
+ * fargateEphemeralStorageKmsKeyId: "STRING_VALUE",
76
+ * },
73
77
  * },
74
78
  * capacityProviders: [ // StringList
75
79
  * "STRING_VALUE",
@@ -103,6 +107,10 @@ declare const CreateClusterCommand_base: {
103
107
  * // s3KeyPrefix: "STRING_VALUE",
104
108
  * // },
105
109
  * // },
110
+ * // managedStorageConfiguration: { // ManagedStorageConfiguration
111
+ * // kmsKeyId: "STRING_VALUE",
112
+ * // fargateEphemeralStorageKmsKeyId: "STRING_VALUE",
113
+ * // },
106
114
  * // },
107
115
  * // status: "STRING_VALUE",
108
116
  * // registeredContainerInstancesCount: Number("int"),
@@ -388,6 +388,9 @@ declare const CreateServiceCommand_base: {
388
388
  * // value: "STRING_VALUE",
389
389
  * // },
390
390
  * // ],
391
+ * // fargateEphemeralStorage: { // DeploymentEphemeralStorage
392
+ * // kmsKeyId: "STRING_VALUE",
393
+ * // },
391
394
  * // },
392
395
  * // ],
393
396
  * // deployments: [ // Deployments
@@ -498,6 +501,9 @@ declare const CreateServiceCommand_base: {
498
501
  * // },
499
502
  * // },
500
503
  * // ],
504
+ * // fargateEphemeralStorage: {
505
+ * // kmsKeyId: "STRING_VALUE",
506
+ * // },
501
507
  * // },
502
508
  * // ],
503
509
  * // roleArn: "STRING_VALUE",
@@ -161,6 +161,9 @@ declare const CreateTaskSetCommand_base: {
161
161
  * // value: "STRING_VALUE",
162
162
  * // },
163
163
  * // ],
164
+ * // fargateEphemeralStorage: { // DeploymentEphemeralStorage
165
+ * // kmsKeyId: "STRING_VALUE",
166
+ * // },
164
167
  * // },
165
168
  * // };
166
169
  *
@@ -60,6 +60,10 @@ declare const DeleteClusterCommand_base: {
60
60
  * // s3KeyPrefix: "STRING_VALUE",
61
61
  * // },
62
62
  * // },
63
+ * // managedStorageConfiguration: { // ManagedStorageConfiguration
64
+ * // kmsKeyId: "STRING_VALUE",
65
+ * // fargateEphemeralStorageKmsKeyId: "STRING_VALUE",
66
+ * // },
63
67
  * // },
64
68
  * // status: "STRING_VALUE",
65
69
  * // registeredContainerInstancesCount: Number("int"),
@@ -176,6 +176,9 @@ declare const DeleteServiceCommand_base: {
176
176
  * // value: "STRING_VALUE",
177
177
  * // },
178
178
  * // ],
179
+ * // fargateEphemeralStorage: { // DeploymentEphemeralStorage
180
+ * // kmsKeyId: "STRING_VALUE",
181
+ * // },
179
182
  * // },
180
183
  * // ],
181
184
  * // deployments: [ // Deployments
@@ -286,6 +289,9 @@ declare const DeleteServiceCommand_base: {
286
289
  * // },
287
290
  * // },
288
291
  * // ],
292
+ * // fargateEphemeralStorage: {
293
+ * // kmsKeyId: "STRING_VALUE",
294
+ * // },
289
295
  * // },
290
296
  * // ],
291
297
  * // roleArn: "STRING_VALUE",
@@ -107,6 +107,9 @@ declare const DeleteTaskSetCommand_base: {
107
107
  * // value: "STRING_VALUE",
108
108
  * // },
109
109
  * // ],
110
+ * // fargateEphemeralStorage: { // DeploymentEphemeralStorage
111
+ * // kmsKeyId: "STRING_VALUE",
112
+ * // },
110
113
  * // },
111
114
  * // };
112
115
  *
@@ -61,6 +61,10 @@ declare const DescribeClustersCommand_base: {
61
61
  * // s3KeyPrefix: "STRING_VALUE",
62
62
  * // },
63
63
  * // },
64
+ * // managedStorageConfiguration: { // ManagedStorageConfiguration
65
+ * // kmsKeyId: "STRING_VALUE",
66
+ * // fargateEphemeralStorageKmsKeyId: "STRING_VALUE",
67
+ * // },
64
68
  * // },
65
69
  * // status: "STRING_VALUE",
66
70
  * // registeredContainerInstancesCount: Number("int"),
@@ -161,6 +161,9 @@ declare const DescribeServicesCommand_base: {
161
161
  * // value: "STRING_VALUE",
162
162
  * // },
163
163
  * // ],
164
+ * // fargateEphemeralStorage: { // DeploymentEphemeralStorage
165
+ * // kmsKeyId: "STRING_VALUE",
166
+ * // },
164
167
  * // },
165
168
  * // ],
166
169
  * // deployments: [ // Deployments
@@ -271,6 +274,9 @@ declare const DescribeServicesCommand_base: {
271
274
  * // },
272
275
  * // },
273
276
  * // ],
277
+ * // fargateEphemeralStorage: {
278
+ * // kmsKeyId: "STRING_VALUE",
279
+ * // },
274
280
  * // },
275
281
  * // ],
276
282
  * // roleArn: "STRING_VALUE",
@@ -114,6 +114,9 @@ declare const DescribeTaskSetsCommand_base: {
114
114
  * // value: "STRING_VALUE",
115
115
  * // },
116
116
  * // ],
117
+ * // fargateEphemeralStorage: { // DeploymentEphemeralStorage
118
+ * // kmsKeyId: "STRING_VALUE",
119
+ * // },
117
120
  * // },
118
121
  * // ],
119
122
  * // failures: [ // Failures
@@ -206,6 +206,10 @@ declare const DescribeTasksCommand_base: {
206
206
  * // ephemeralStorage: {
207
207
  * // sizeInGiB: Number("int"), // required
208
208
  * // },
209
+ * // fargateEphemeralStorage: { // TaskEphemeralStorage
210
+ * // sizeInGiB: Number("int"),
211
+ * // kmsKeyId: "STRING_VALUE",
212
+ * // },
209
213
  * // },
210
214
  * // ],
211
215
  * // failures: [ // Failures
@@ -78,6 +78,10 @@ declare const PutClusterCapacityProvidersCommand_base: {
78
78
  * // s3KeyPrefix: "STRING_VALUE",
79
79
  * // },
80
80
  * // },
81
+ * // managedStorageConfiguration: { // ManagedStorageConfiguration
82
+ * // kmsKeyId: "STRING_VALUE",
83
+ * // fargateEphemeralStorageKmsKeyId: "STRING_VALUE",
84
+ * // },
81
85
  * // },
82
86
  * // status: "STRING_VALUE",
83
87
  * // registeredContainerInstancesCount: Number("int"),
@@ -351,6 +351,10 @@ declare const RunTaskCommand_base: {
351
351
  * // ephemeralStorage: {
352
352
  * // sizeInGiB: Number("int"), // required
353
353
  * // },
354
+ * // fargateEphemeralStorage: { // TaskEphemeralStorage
355
+ * // sizeInGiB: Number("int"),
356
+ * // kmsKeyId: "STRING_VALUE",
357
+ * // },
354
358
  * // },
355
359
  * // ],
356
360
  * // failures: [ // Failures
@@ -305,6 +305,10 @@ declare const StartTaskCommand_base: {
305
305
  * // ephemeralStorage: {
306
306
  * // sizeInGiB: Number("int"), // required
307
307
  * // },
308
+ * // fargateEphemeralStorage: { // TaskEphemeralStorage
309
+ * // sizeInGiB: Number("int"),
310
+ * // kmsKeyId: "STRING_VALUE",
311
+ * // },
308
312
  * // },
309
313
  * // ],
310
314
  * // failures: [ // Failures
@@ -34,6 +34,9 @@ declare const StopTaskCommand_base: {
34
34
  * <code>SIGKILL</code> value is sent and the containers are forcibly stopped. If the
35
35
  * container handles the <code>SIGTERM</code> value gracefully and exits within 30 seconds
36
36
  * from receiving it, no <code>SIGKILL</code> value is sent.</p>
37
+ * <p>For Windows containers, POSIX signals do not work and runtime stops the container by sending
38
+ * a <code>CTRL_SHUTDOWN_EVENT</code>. For more information, see <a href="https://github.com/moby/moby/issues/25982">Unable to react to graceful shutdown
39
+ * of (Windows) container #25982</a> on GitHub.</p>
37
40
  * <note>
38
41
  * <p>The default 30-second timeout can be configured on the Amazon ECS container agent with
39
42
  * the <code>ECS_CONTAINER_STOP_TIMEOUT</code> variable. For more information, see
@@ -209,6 +212,10 @@ declare const StopTaskCommand_base: {
209
212
  * // ephemeralStorage: {
210
213
  * // sizeInGiB: Number("int"), // required
211
214
  * // },
215
+ * // fargateEphemeralStorage: { // TaskEphemeralStorage
216
+ * // sizeInGiB: Number("int"),
217
+ * // kmsKeyId: "STRING_VALUE",
218
+ * // },
212
219
  * // },
213
220
  * // };
214
221
  *
@@ -54,6 +54,10 @@ declare const UpdateClusterCommand_base: {
54
54
  * s3KeyPrefix: "STRING_VALUE",
55
55
  * },
56
56
  * },
57
+ * managedStorageConfiguration: { // ManagedStorageConfiguration
58
+ * kmsKeyId: "STRING_VALUE",
59
+ * fargateEphemeralStorageKmsKeyId: "STRING_VALUE",
60
+ * },
57
61
  * },
58
62
  * serviceConnectDefaults: { // ClusterServiceConnectDefaultsRequest
59
63
  * namespace: "STRING_VALUE", // required
@@ -77,6 +81,10 @@ declare const UpdateClusterCommand_base: {
77
81
  * // s3KeyPrefix: "STRING_VALUE",
78
82
  * // },
79
83
  * // },
84
+ * // managedStorageConfiguration: { // ManagedStorageConfiguration
85
+ * // kmsKeyId: "STRING_VALUE",
86
+ * // fargateEphemeralStorageKmsKeyId: "STRING_VALUE",
87
+ * // },
80
88
  * // },
81
89
  * // status: "STRING_VALUE",
82
90
  * // registeredContainerInstancesCount: Number("int"),
@@ -61,6 +61,10 @@ declare const UpdateClusterSettingsCommand_base: {
61
61
  * // s3KeyPrefix: "STRING_VALUE",
62
62
  * // },
63
63
  * // },
64
+ * // managedStorageConfiguration: { // ManagedStorageConfiguration
65
+ * // kmsKeyId: "STRING_VALUE",
66
+ * // fargateEphemeralStorageKmsKeyId: "STRING_VALUE",
67
+ * // },
64
68
  * // },
65
69
  * // status: "STRING_VALUE",
66
70
  * // registeredContainerInstancesCount: Number("int"),
@@ -427,6 +427,9 @@ declare const UpdateServiceCommand_base: {
427
427
  * // value: "STRING_VALUE",
428
428
  * // },
429
429
  * // ],
430
+ * // fargateEphemeralStorage: { // DeploymentEphemeralStorage
431
+ * // kmsKeyId: "STRING_VALUE",
432
+ * // },
430
433
  * // },
431
434
  * // ],
432
435
  * // deployments: [ // Deployments
@@ -537,6 +540,9 @@ declare const UpdateServiceCommand_base: {
537
540
  * // },
538
541
  * // },
539
542
  * // ],
543
+ * // fargateEphemeralStorage: {
544
+ * // kmsKeyId: "STRING_VALUE",
545
+ * // },
540
546
  * // },
541
547
  * // ],
542
548
  * // roleArn: "STRING_VALUE",
@@ -109,6 +109,9 @@ declare const UpdateServicePrimaryTaskSetCommand_base: {
109
109
  * // value: "STRING_VALUE",
110
110
  * // },
111
111
  * // ],
112
+ * // fargateEphemeralStorage: { // DeploymentEphemeralStorage
113
+ * // kmsKeyId: "STRING_VALUE",
114
+ * // },
112
115
  * // },
113
116
  * // };
114
117
  *
@@ -111,6 +111,9 @@ declare const UpdateTaskSetCommand_base: {
111
111
  * // value: "STRING_VALUE",
112
112
  * // },
113
113
  * // ],
114
+ * // fargateEphemeralStorage: { // DeploymentEphemeralStorage
115
+ * // kmsKeyId: "STRING_VALUE",
116
+ * // },
114
117
  * // },
115
118
  * // };
116
119
  *
@@ -560,7 +560,23 @@ export interface ExecuteCommandConfiguration {
560
560
  logConfiguration?: ExecuteCommandLogConfiguration;
561
561
  }
562
562
  /**
563
- * <p>The execute command configuration for the cluster.</p>
563
+ * <p>The managed storage configuration for the cluster.</p>
564
+ * @public
565
+ */
566
+ export interface ManagedStorageConfiguration {
567
+ /**
568
+ * <p>Specify a Key Management Service key ID to encrypt the managed storage.</p>
569
+ * @public
570
+ */
571
+ kmsKeyId?: string;
572
+ /**
573
+ * <p>Specify the Key Management Service key ID for the Fargate ephemeral storage.</p>
574
+ * @public
575
+ */
576
+ fargateEphemeralStorageKmsKeyId?: string;
577
+ }
578
+ /**
579
+ * <p>The execute command and managed storage configuration for the cluster.</p>
564
580
  * @public
565
581
  */
566
582
  export interface ClusterConfiguration {
@@ -569,6 +585,11 @@ export interface ClusterConfiguration {
569
585
  * @public
570
586
  */
571
587
  executeCommandConfiguration?: ExecuteCommandConfiguration;
588
+ /**
589
+ * <p>The details of the managed storage configuration.</p>
590
+ * @public
591
+ */
592
+ managedStorageConfiguration?: ManagedStorageConfiguration;
572
593
  }
573
594
  /**
574
595
  * <p>The details of a capacity provider strategy. A capacity provider strategy can be set
@@ -585,6 +606,12 @@ export interface ClusterConfiguration {
585
606
  * <code>FARGATE_SPOT</code> capacity providers. The Fargate capacity providers are
586
607
  * available to all accounts and only need to be associated with a cluster to be used in a
587
608
  * capacity provider strategy.</p>
609
+ * <p>With <code>FARGATE_SPOT</code>, you can run interruption
610
+ * tolerant tasks at a rate that's discounted compared to the <code>FARGATE</code> price.
611
+ * <code>FARGATE_SPOT</code> runs tasks on spare compute capacity. When Amazon Web Services needs the
612
+ * capacity back, your tasks are interrupted with a two-minute warning.
613
+ * <code>FARGATE_SPOT</code> only supports Linux tasks with the X86_64 architecture on
614
+ * platform version 1.3.0 or later.</p>
588
615
  * <p>A capacity provider strategy may contain a maximum of 6 capacity providers.</p>
589
616
  * @public
590
617
  */
@@ -1810,7 +1837,7 @@ export interface TimeoutConfiguration {
1810
1837
  perRequestTimeoutSeconds?: number;
1811
1838
  }
1812
1839
  /**
1813
- * <p>An object that represents the Amazon Web Services Private Certificate Authority certificate.</p>
1840
+ * <p>The certificate root authority that secures your service.</p>
1814
1841
  * @public
1815
1842
  */
1816
1843
  export interface ServiceConnectTlsCertificateAuthority {
@@ -1821,7 +1848,7 @@ export interface ServiceConnectTlsCertificateAuthority {
1821
1848
  awsPcaAuthorityArn?: string;
1822
1849
  }
1823
1850
  /**
1824
- * <p>An object that represents the configuration for Service Connect TLS.</p>
1851
+ * <p>The key that encrypts and decrypts your resources for Service Connect TLS.</p>
1825
1852
  * @public
1826
1853
  */
1827
1854
  export interface ServiceConnectTlsConfiguration {
@@ -2597,6 +2624,17 @@ export interface CreateServiceRequest {
2597
2624
  */
2598
2625
  volumeConfigurations?: ServiceVolumeConfiguration[];
2599
2626
  }
2627
+ /**
2628
+ * <p>The amount of ephemeral storage to allocate for the deployment.</p>
2629
+ * @public
2630
+ */
2631
+ export interface DeploymentEphemeralStorage {
2632
+ /**
2633
+ * <p>Specify an Key Management Service key ID to encrypt the ephemeral storage for deployment.</p>
2634
+ * @public
2635
+ */
2636
+ kmsKeyId?: string;
2637
+ }
2600
2638
  /**
2601
2639
  * @public
2602
2640
  * @enum
@@ -2796,6 +2834,11 @@ export interface Deployment {
2796
2834
  * @public
2797
2835
  */
2798
2836
  volumeConfigurations?: ServiceVolumeConfiguration[];
2837
+ /**
2838
+ * <p>The Fargate ephemeral storage settings for the deployment.</p>
2839
+ * @public
2840
+ */
2841
+ fargateEphemeralStorage?: DeploymentEphemeralStorage;
2799
2842
  }
2800
2843
  /**
2801
2844
  * <p>The details for an event that's associated with a service.</p>
@@ -3079,6 +3122,11 @@ export interface TaskSet {
3079
3122
  * @public
3080
3123
  */
3081
3124
  tags?: Tag[];
3125
+ /**
3126
+ * <p>The Fargate ephemeral storage settings for the task set.</p>
3127
+ * @public
3128
+ */
3129
+ fargateEphemeralStorage?: DeploymentEphemeralStorage;
3082
3130
  }
3083
3131
  /**
3084
3132
  * <p>Details on a service within a cluster.</p>
@@ -4228,16 +4276,16 @@ export interface FirelensConfiguration {
4228
4276
  * <p>The following are notes about container health check support:</p>
4229
4277
  * <ul>
4230
4278
  * <li>
4231
- * <p>When the Amazon ECS agent cannot connect to the Amazon ECS service, the service reports
4232
- * the container as <code>UNHEALTHY</code>. </p>
4233
- * </li>
4234
- * <li>
4235
- * <p>The health check statuses are the "last heard from" response from the Amazon ECS
4236
- * agent. There are no assumptions made about the status of the container health
4237
- * checks.</p>
4279
+ * <p>If the Amazon ECS container agent becomes disconnected from the Amazon ECS service, this won't
4280
+ * cause a container to transition to an <code>UNHEALTHY</code> status. This is by design,
4281
+ * to ensure that containers remain running during agent restarts or temporary
4282
+ * unavailability. The health check status is the "last heard from" response from the Amazon ECS
4283
+ * agent, so if the container was considered <code>HEALTHY</code> prior to the disconnect,
4284
+ * that status will remain until the agent reconnects and another health check occurs.
4285
+ * There are no assumptions made about the status of the container health checks.</p>
4238
4286
  * </li>
4239
4287
  * <li>
4240
- * <p>Container health checks require version 1.17.0 or greater of the Amazon ECS
4288
+ * <p>Container health checks require version <code>1.17.0</code> or greater of the Amazon ECS
4241
4289
  * container agent. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html">Updating the
4242
4290
  * Amazon ECS container agent</a>.</p>
4243
4291
  * </li>
@@ -4786,18 +4834,17 @@ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
4786
4834
  export interface ResourceRequirement {
4787
4835
  /**
4788
4836
  * <p>The value for the specified resource type.</p>
4789
- * <p>If the <code>GPU</code> type is used, the value is the number of physical
4790
- * <code>GPUs</code> the Amazon ECS container agent reserves for the container. The number
4791
- * of GPUs that's reserved for all containers in a task can't exceed the number of
4792
- * available GPUs on the container instance that the task is launched on.</p>
4793
- * <p>If the <code>InferenceAccelerator</code> type is used, the <code>value</code> matches
4837
+ * <p>When the type is <code>GPU</code>, the value is the number of physical <code>GPUs</code> the
4838
+ * Amazon ECS container agent reserves for the container. The number of GPUs that's reserved for
4839
+ * all containers in a task can't exceed the number of available GPUs on the container
4840
+ * instance that the task is launched on.</p>
4841
+ * <p>When the type is <code>InferenceAccelerator</code>, the <code>value</code> matches
4794
4842
  * the <code>deviceName</code> for an <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_InferenceAccelerator.html">InferenceAccelerator</a> specified in a task definition.</p>
4795
4843
  * @public
4796
4844
  */
4797
4845
  value: string | undefined;
4798
4846
  /**
4799
- * <p>The type of resource to assign to a container. The supported values are
4800
- * <code>GPU</code> or <code>InferenceAccelerator</code>.</p>
4847
+ * <p>The type of resource to assign to a container. </p>
4801
4848
  * @public
4802
4849
  */
4803
4850
  type: ResourceType | undefined;
@@ -7634,6 +7681,25 @@ export interface Container {
7634
7681
  */
7635
7682
  gpuIds?: string[];
7636
7683
  }
7684
+ /**
7685
+ * <p>The amount of ephemeral storage to allocate for the task.</p>
7686
+ * @public
7687
+ */
7688
+ export interface TaskEphemeralStorage {
7689
+ /**
7690
+ * <p>The total amount, in GiB, of the ephemeral storage to set for the task. The minimum
7691
+ * supported value is <code>20</code> GiB and the maximum supported value is
7692
+ <code>200</code>
7693
+ * GiB.</p>
7694
+ * @public
7695
+ */
7696
+ sizeInGiB?: number;
7697
+ /**
7698
+ * <p>Specify an Key Management Service key ID to encrypt the ephemeral storage for the task.</p>
7699
+ * @public
7700
+ */
7701
+ kmsKeyId?: string;
7702
+ }
7637
7703
  /**
7638
7704
  * <p>The overrides that are sent to a container. An empty container override can be passed
7639
7705
  * in. An example of an empty container override is <code>\{"containerOverrides": [ ]
@@ -8124,6 +8190,11 @@ export interface Task {
8124
8190
  * @public
8125
8191
  */
8126
8192
  ephemeralStorage?: EphemeralStorage;
8193
+ /**
8194
+ * <p>The Fargate ephemeral storage settings for the task.</p>
8195
+ * @public
8196
+ */
8197
+ fargateEphemeralStorage?: TaskEphemeralStorage;
8127
8198
  }
8128
8199
  /**
8129
8200
  * @public
@@ -10014,8 +10085,6 @@ export interface RegisterTaskDefinitionRequest {
10014
10085
  /**
10015
10086
  * <p>The operating system that your tasks definitions run on. A platform family is
10016
10087
  * specified only for tasks using the Fargate launch type. </p>
10017
- * <p>When you specify a task definition in a service, this value must match the
10018
- * <code>runtimePlatform</code> value of the service.</p>
10019
10088
  * @public
10020
10089
  */
10021
10090
  runtimePlatform?: RuntimePlatform;
@@ -135,8 +135,13 @@ export interface ExecuteCommandConfiguration {
135
135
  logging?: ExecuteCommandLogging;
136
136
  logConfiguration?: ExecuteCommandLogConfiguration;
137
137
  }
138
+ export interface ManagedStorageConfiguration {
139
+ kmsKeyId?: string;
140
+ fargateEphemeralStorageKmsKeyId?: string;
141
+ }
138
142
  export interface ClusterConfiguration {
139
143
  executeCommandConfiguration?: ExecuteCommandConfiguration;
144
+ managedStorageConfiguration?: ManagedStorageConfiguration;
140
145
  }
141
146
  export interface CapacityProviderStrategyItem {
142
147
  capacityProvider: string | undefined;
@@ -411,6 +416,9 @@ export interface CreateServiceRequest {
411
416
  serviceConnectConfiguration?: ServiceConnectConfiguration;
412
417
  volumeConfigurations?: ServiceVolumeConfiguration[];
413
418
  }
419
+ export interface DeploymentEphemeralStorage {
420
+ kmsKeyId?: string;
421
+ }
414
422
  export declare const DeploymentRolloutState: {
415
423
  readonly COMPLETED: "COMPLETED";
416
424
  readonly FAILED: "FAILED";
@@ -442,6 +450,7 @@ export interface Deployment {
442
450
  serviceConnectConfiguration?: ServiceConnectConfiguration;
443
451
  serviceConnectResources?: ServiceConnectServiceResource[];
444
452
  volumeConfigurations?: ServiceVolumeConfiguration[];
453
+ fargateEphemeralStorage?: DeploymentEphemeralStorage;
445
454
  }
446
455
  export interface ServiceEvent {
447
456
  id?: string;
@@ -487,6 +496,7 @@ export interface TaskSet {
487
496
  stabilityStatus?: StabilityStatus;
488
497
  stabilityStatusAt?: Date;
489
498
  tags?: Tag[];
499
+ fargateEphemeralStorage?: DeploymentEphemeralStorage;
490
500
  }
491
501
  export interface Service {
492
502
  serviceArn?: string;
@@ -1257,6 +1267,10 @@ export interface Container {
1257
1267
  memoryReservation?: string;
1258
1268
  gpuIds?: string[];
1259
1269
  }
1270
+ export interface TaskEphemeralStorage {
1271
+ sizeInGiB?: number;
1272
+ kmsKeyId?: string;
1273
+ }
1260
1274
  export interface ContainerOverride {
1261
1275
  name?: string;
1262
1276
  command?: string[];
@@ -1326,6 +1340,7 @@ export interface Task {
1326
1340
  taskDefinitionArn?: string;
1327
1341
  version?: number;
1328
1342
  ephemeralStorage?: EphemeralStorage;
1343
+ fargateEphemeralStorage?: TaskEphemeralStorage;
1329
1344
  }
1330
1345
  export interface DescribeTasksResponse {
1331
1346
  tasks?: Task[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ecs",
3
3
  "description": "AWS SDK for JavaScript Ecs Client for Node.js, Browser and React Native",
4
- "version": "3.592.0",
4
+ "version": "3.594.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-ecs",