Skip to content

Commit c86da60

Browse files
author
awstools
committed
feat(client-ecs): This release introduces a new cluster configuration to support the customer-managed keys for ECS managed storage encryption.
1 parent 7276ded commit c86da60

22 files changed

+287
-29
lines changed

clients/client-ecs/src/commands/CreateClusterCommand.ts

+8
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
7171
* s3KeyPrefix: "STRING_VALUE",
7272
* },
7373
* },
74+
* managedStorageConfiguration: { // ManagedStorageConfiguration
75+
* kmsKeyId: "STRING_VALUE",
76+
* fargateEphemeralStorageKmsKeyId: "STRING_VALUE",
77+
* },
7478
* },
7579
* capacityProviders: [ // StringList
7680
* "STRING_VALUE",
@@ -104,6 +108,10 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
104108
* // s3KeyPrefix: "STRING_VALUE",
105109
* // },
106110
* // },
111+
* // managedStorageConfiguration: { // ManagedStorageConfiguration
112+
* // kmsKeyId: "STRING_VALUE",
113+
* // fargateEphemeralStorageKmsKeyId: "STRING_VALUE",
114+
* // },
107115
* // },
108116
* // status: "STRING_VALUE",
109117
* // registeredContainerInstancesCount: Number("int"),

clients/client-ecs/src/commands/CreateServiceCommand.ts

+6
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,9 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met
389389
* // value: "STRING_VALUE",
390390
* // },
391391
* // ],
392+
* // fargateEphemeralStorage: { // DeploymentEphemeralStorage
393+
* // kmsKeyId: "STRING_VALUE",
394+
* // },
392395
* // },
393396
* // ],
394397
* // deployments: [ // Deployments
@@ -499,6 +502,9 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met
499502
* // },
500503
* // },
501504
* // ],
505+
* // fargateEphemeralStorage: {
506+
* // kmsKeyId: "STRING_VALUE",
507+
* // },
502508
* // },
503509
* // ],
504510
* // roleArn: "STRING_VALUE",

clients/client-ecs/src/commands/CreateTaskSetCommand.ts

+3
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,9 @@ export interface CreateTaskSetCommandOutput extends CreateTaskSetResponse, __Met
162162
* // value: "STRING_VALUE",
163163
* // },
164164
* // ],
165+
* // fargateEphemeralStorage: { // DeploymentEphemeralStorage
166+
* // kmsKeyId: "STRING_VALUE",
167+
* // },
165168
* // },
166169
* // };
167170
*

clients/client-ecs/src/commands/DeleteClusterCommand.ts

+4
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __Met
6161
* // s3KeyPrefix: "STRING_VALUE",
6262
* // },
6363
* // },
64+
* // managedStorageConfiguration: { // ManagedStorageConfiguration
65+
* // kmsKeyId: "STRING_VALUE",
66+
* // fargateEphemeralStorageKmsKeyId: "STRING_VALUE",
67+
* // },
6468
* // },
6569
* // status: "STRING_VALUE",
6670
* // registeredContainerInstancesCount: Number("int"),

clients/client-ecs/src/commands/DeleteServiceCommand.ts

+6
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,9 @@ export interface DeleteServiceCommandOutput extends DeleteServiceResponse, __Met
177177
* // value: "STRING_VALUE",
178178
* // },
179179
* // ],
180+
* // fargateEphemeralStorage: { // DeploymentEphemeralStorage
181+
* // kmsKeyId: "STRING_VALUE",
182+
* // },
180183
* // },
181184
* // ],
182185
* // deployments: [ // Deployments
@@ -287,6 +290,9 @@ export interface DeleteServiceCommandOutput extends DeleteServiceResponse, __Met
287290
* // },
288291
* // },
289292
* // ],
293+
* // fargateEphemeralStorage: {
294+
* // kmsKeyId: "STRING_VALUE",
295+
* // },
290296
* // },
291297
* // ],
292298
* // roleArn: "STRING_VALUE",

clients/client-ecs/src/commands/DeleteTaskSetCommand.ts

+3
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ export interface DeleteTaskSetCommandOutput extends DeleteTaskSetResponse, __Met
108108
* // value: "STRING_VALUE",
109109
* // },
110110
* // ],
111+
* // fargateEphemeralStorage: { // DeploymentEphemeralStorage
112+
* // kmsKeyId: "STRING_VALUE",
113+
* // },
111114
* // },
112115
* // };
113116
*

clients/client-ecs/src/commands/DescribeClustersCommand.ts

+4
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ export interface DescribeClustersCommandOutput extends DescribeClustersResponse,
6262
* // s3KeyPrefix: "STRING_VALUE",
6363
* // },
6464
* // },
65+
* // managedStorageConfiguration: { // ManagedStorageConfiguration
66+
* // kmsKeyId: "STRING_VALUE",
67+
* // fargateEphemeralStorageKmsKeyId: "STRING_VALUE",
68+
* // },
6569
* // },
6670
* // status: "STRING_VALUE",
6771
* // registeredContainerInstancesCount: Number("int"),

clients/client-ecs/src/commands/DescribeServicesCommand.ts

+6
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,9 @@ export interface DescribeServicesCommandOutput extends DescribeServicesResponse,
162162
* // value: "STRING_VALUE",
163163
* // },
164164
* // ],
165+
* // fargateEphemeralStorage: { // DeploymentEphemeralStorage
166+
* // kmsKeyId: "STRING_VALUE",
167+
* // },
165168
* // },
166169
* // ],
167170
* // deployments: [ // Deployments
@@ -272,6 +275,9 @@ export interface DescribeServicesCommandOutput extends DescribeServicesResponse,
272275
* // },
273276
* // },
274277
* // ],
278+
* // fargateEphemeralStorage: {
279+
* // kmsKeyId: "STRING_VALUE",
280+
* // },
275281
* // },
276282
* // ],
277283
* // roleArn: "STRING_VALUE",

clients/client-ecs/src/commands/DescribeTaskSetsCommand.ts

+3
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,9 @@ export interface DescribeTaskSetsCommandOutput extends DescribeTaskSetsResponse,
115115
* // value: "STRING_VALUE",
116116
* // },
117117
* // ],
118+
* // fargateEphemeralStorage: { // DeploymentEphemeralStorage
119+
* // kmsKeyId: "STRING_VALUE",
120+
* // },
118121
* // },
119122
* // ],
120123
* // failures: [ // Failures

clients/client-ecs/src/commands/DescribeTasksCommand.ts

+4
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,10 @@ export interface DescribeTasksCommandOutput extends DescribeTasksResponse, __Met
207207
* // ephemeralStorage: {
208208
* // sizeInGiB: Number("int"), // required
209209
* // },
210+
* // fargateEphemeralStorage: { // TaskEphemeralStorage
211+
* // sizeInGiB: Number("int"),
212+
* // kmsKeyId: "STRING_VALUE",
213+
* // },
210214
* // },
211215
* // ],
212216
* // failures: [ // Failures

clients/client-ecs/src/commands/PutClusterCapacityProvidersCommand.ts

+4
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ export interface PutClusterCapacityProvidersCommandOutput
8181
* // s3KeyPrefix: "STRING_VALUE",
8282
* // },
8383
* // },
84+
* // managedStorageConfiguration: { // ManagedStorageConfiguration
85+
* // kmsKeyId: "STRING_VALUE",
86+
* // fargateEphemeralStorageKmsKeyId: "STRING_VALUE",
87+
* // },
8488
* // },
8589
* // status: "STRING_VALUE",
8690
* // registeredContainerInstancesCount: Number("int"),

clients/client-ecs/src/commands/RunTaskCommand.ts

+4
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,10 @@ export interface RunTaskCommandOutput extends RunTaskResponse, __MetadataBearer
352352
* // ephemeralStorage: {
353353
* // sizeInGiB: Number("int"), // required
354354
* // },
355+
* // fargateEphemeralStorage: { // TaskEphemeralStorage
356+
* // sizeInGiB: Number("int"),
357+
* // kmsKeyId: "STRING_VALUE",
358+
* // },
355359
* // },
356360
* // ],
357361
* // failures: [ // Failures

clients/client-ecs/src/commands/StartTaskCommand.ts

+4
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,10 @@ export interface StartTaskCommandOutput extends StartTaskResponse, __MetadataBea
306306
* // ephemeralStorage: {
307307
* // sizeInGiB: Number("int"), // required
308308
* // },
309+
* // fargateEphemeralStorage: { // TaskEphemeralStorage
310+
* // sizeInGiB: Number("int"),
311+
* // kmsKeyId: "STRING_VALUE",
312+
* // },
309313
* // },
310314
* // ],
311315
* // failures: [ // Failures

clients/client-ecs/src/commands/StopTaskCommand.ts

+7
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ export interface StopTaskCommandOutput extends StopTaskResponse, __MetadataBeare
3535
* <code>SIGKILL</code> value is sent and the containers are forcibly stopped. If the
3636
* container handles the <code>SIGTERM</code> value gracefully and exits within 30 seconds
3737
* from receiving it, no <code>SIGKILL</code> value is sent.</p>
38+
* <p>For Windows containers, POSIX signals do not work and runtime stops the container by sending
39+
* 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
40+
* of (Windows) container #25982</a> on GitHub.</p>
3841
* <note>
3942
* <p>The default 30-second timeout can be configured on the Amazon ECS container agent with
4043
* the <code>ECS_CONTAINER_STOP_TIMEOUT</code> variable. For more information, see
@@ -210,6 +213,10 @@ export interface StopTaskCommandOutput extends StopTaskResponse, __MetadataBeare
210213
* // ephemeralStorage: {
211214
* // sizeInGiB: Number("int"), // required
212215
* // },
216+
* // fargateEphemeralStorage: { // TaskEphemeralStorage
217+
* // sizeInGiB: Number("int"),
218+
* // kmsKeyId: "STRING_VALUE",
219+
* // },
213220
* // },
214221
* // };
215222
*

clients/client-ecs/src/commands/UpdateClusterCommand.ts

+8
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ export interface UpdateClusterCommandOutput extends UpdateClusterResponse, __Met
5555
* s3KeyPrefix: "STRING_VALUE",
5656
* },
5757
* },
58+
* managedStorageConfiguration: { // ManagedStorageConfiguration
59+
* kmsKeyId: "STRING_VALUE",
60+
* fargateEphemeralStorageKmsKeyId: "STRING_VALUE",
61+
* },
5862
* },
5963
* serviceConnectDefaults: { // ClusterServiceConnectDefaultsRequest
6064
* namespace: "STRING_VALUE", // required
@@ -78,6 +82,10 @@ export interface UpdateClusterCommandOutput extends UpdateClusterResponse, __Met
7882
* // s3KeyPrefix: "STRING_VALUE",
7983
* // },
8084
* // },
85+
* // managedStorageConfiguration: { // ManagedStorageConfiguration
86+
* // kmsKeyId: "STRING_VALUE",
87+
* // fargateEphemeralStorageKmsKeyId: "STRING_VALUE",
88+
* // },
8189
* // },
8290
* // status: "STRING_VALUE",
8391
* // registeredContainerInstancesCount: Number("int"),

clients/client-ecs/src/commands/UpdateClusterSettingsCommand.ts

+4
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ export interface UpdateClusterSettingsCommandOutput extends UpdateClusterSetting
6262
* // s3KeyPrefix: "STRING_VALUE",
6363
* // },
6464
* // },
65+
* // managedStorageConfiguration: { // ManagedStorageConfiguration
66+
* // kmsKeyId: "STRING_VALUE",
67+
* // fargateEphemeralStorageKmsKeyId: "STRING_VALUE",
68+
* // },
6569
* // },
6670
* // status: "STRING_VALUE",
6771
* // registeredContainerInstancesCount: Number("int"),

clients/client-ecs/src/commands/UpdateServiceCommand.ts

+6
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,9 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met
428428
* // value: "STRING_VALUE",
429429
* // },
430430
* // ],
431+
* // fargateEphemeralStorage: { // DeploymentEphemeralStorage
432+
* // kmsKeyId: "STRING_VALUE",
433+
* // },
431434
* // },
432435
* // ],
433436
* // deployments: [ // Deployments
@@ -538,6 +541,9 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met
538541
* // },
539542
* // },
540543
* // ],
544+
* // fargateEphemeralStorage: {
545+
* // kmsKeyId: "STRING_VALUE",
546+
* // },
541547
* // },
542548
* // ],
543549
* // roleArn: "STRING_VALUE",

clients/client-ecs/src/commands/UpdateServicePrimaryTaskSetCommand.ts

+3
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,9 @@ export interface UpdateServicePrimaryTaskSetCommandOutput
112112
* // value: "STRING_VALUE",
113113
* // },
114114
* // ],
115+
* // fargateEphemeralStorage: { // DeploymentEphemeralStorage
116+
* // kmsKeyId: "STRING_VALUE",
117+
* // },
115118
* // },
116119
* // };
117120
*

clients/client-ecs/src/commands/UpdateTaskSetCommand.ts

+3
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,9 @@ export interface UpdateTaskSetCommandOutput extends UpdateTaskSetResponse, __Met
112112
* // value: "STRING_VALUE",
113113
* // },
114114
* // ],
115+
* // fargateEphemeralStorage: { // DeploymentEphemeralStorage
116+
* // kmsKeyId: "STRING_VALUE",
117+
* // },
115118
* // },
116119
* // };
117120
*

0 commit comments

Comments
 (0)