Skip to content

Commit

Permalink
feat(client-ecs): This release introduces a new cluster configuration…
Browse files Browse the repository at this point in the history
… to support the customer-managed keys for ECS managed storage encryption.
  • Loading branch information
awstools committed Jun 10, 2024
1 parent 7276ded commit c86da60
Show file tree
Hide file tree
Showing 22 changed files with 287 additions and 29 deletions.
8 changes: 8 additions & 0 deletions clients/client-ecs/src/commands/CreateClusterCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
* s3KeyPrefix: "STRING_VALUE",
* },
* },
* managedStorageConfiguration: { // ManagedStorageConfiguration
* kmsKeyId: "STRING_VALUE",
* fargateEphemeralStorageKmsKeyId: "STRING_VALUE",
* },
* },
* capacityProviders: [ // StringList
* "STRING_VALUE",
Expand Down Expand Up @@ -104,6 +108,10 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
* // s3KeyPrefix: "STRING_VALUE",
* // },
* // },
* // managedStorageConfiguration: { // ManagedStorageConfiguration
* // kmsKeyId: "STRING_VALUE",
* // fargateEphemeralStorageKmsKeyId: "STRING_VALUE",
* // },
* // },
* // status: "STRING_VALUE",
* // registeredContainerInstancesCount: Number("int"),
Expand Down
6 changes: 6 additions & 0 deletions clients/client-ecs/src/commands/CreateServiceCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,9 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met
* // value: "STRING_VALUE",
* // },
* // ],
* // fargateEphemeralStorage: { // DeploymentEphemeralStorage
* // kmsKeyId: "STRING_VALUE",
* // },
* // },
* // ],
* // deployments: [ // Deployments
Expand Down Expand Up @@ -499,6 +502,9 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met
* // },
* // },
* // ],
* // fargateEphemeralStorage: {
* // kmsKeyId: "STRING_VALUE",
* // },
* // },
* // ],
* // roleArn: "STRING_VALUE",
Expand Down
3 changes: 3 additions & 0 deletions clients/client-ecs/src/commands/CreateTaskSetCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,9 @@ export interface CreateTaskSetCommandOutput extends CreateTaskSetResponse, __Met
* // value: "STRING_VALUE",
* // },
* // ],
* // fargateEphemeralStorage: { // DeploymentEphemeralStorage
* // kmsKeyId: "STRING_VALUE",
* // },
* // },
* // };
*
Expand Down
4 changes: 4 additions & 0 deletions clients/client-ecs/src/commands/DeleteClusterCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __Met
* // s3KeyPrefix: "STRING_VALUE",
* // },
* // },
* // managedStorageConfiguration: { // ManagedStorageConfiguration
* // kmsKeyId: "STRING_VALUE",
* // fargateEphemeralStorageKmsKeyId: "STRING_VALUE",
* // },
* // },
* // status: "STRING_VALUE",
* // registeredContainerInstancesCount: Number("int"),
Expand Down
6 changes: 6 additions & 0 deletions clients/client-ecs/src/commands/DeleteServiceCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,9 @@ export interface DeleteServiceCommandOutput extends DeleteServiceResponse, __Met
* // value: "STRING_VALUE",
* // },
* // ],
* // fargateEphemeralStorage: { // DeploymentEphemeralStorage
* // kmsKeyId: "STRING_VALUE",
* // },
* // },
* // ],
* // deployments: [ // Deployments
Expand Down Expand Up @@ -287,6 +290,9 @@ export interface DeleteServiceCommandOutput extends DeleteServiceResponse, __Met
* // },
* // },
* // ],
* // fargateEphemeralStorage: {
* // kmsKeyId: "STRING_VALUE",
* // },
* // },
* // ],
* // roleArn: "STRING_VALUE",
Expand Down
3 changes: 3 additions & 0 deletions clients/client-ecs/src/commands/DeleteTaskSetCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ export interface DeleteTaskSetCommandOutput extends DeleteTaskSetResponse, __Met
* // value: "STRING_VALUE",
* // },
* // ],
* // fargateEphemeralStorage: { // DeploymentEphemeralStorage
* // kmsKeyId: "STRING_VALUE",
* // },
* // },
* // };
*
Expand Down
4 changes: 4 additions & 0 deletions clients/client-ecs/src/commands/DescribeClustersCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ export interface DescribeClustersCommandOutput extends DescribeClustersResponse,
* // s3KeyPrefix: "STRING_VALUE",
* // },
* // },
* // managedStorageConfiguration: { // ManagedStorageConfiguration
* // kmsKeyId: "STRING_VALUE",
* // fargateEphemeralStorageKmsKeyId: "STRING_VALUE",
* // },
* // },
* // status: "STRING_VALUE",
* // registeredContainerInstancesCount: Number("int"),
Expand Down
6 changes: 6 additions & 0 deletions clients/client-ecs/src/commands/DescribeServicesCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,9 @@ export interface DescribeServicesCommandOutput extends DescribeServicesResponse,
* // value: "STRING_VALUE",
* // },
* // ],
* // fargateEphemeralStorage: { // DeploymentEphemeralStorage
* // kmsKeyId: "STRING_VALUE",
* // },
* // },
* // ],
* // deployments: [ // Deployments
Expand Down Expand Up @@ -272,6 +275,9 @@ export interface DescribeServicesCommandOutput extends DescribeServicesResponse,
* // },
* // },
* // ],
* // fargateEphemeralStorage: {
* // kmsKeyId: "STRING_VALUE",
* // },
* // },
* // ],
* // roleArn: "STRING_VALUE",
Expand Down
3 changes: 3 additions & 0 deletions clients/client-ecs/src/commands/DescribeTaskSetsCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ export interface DescribeTaskSetsCommandOutput extends DescribeTaskSetsResponse,
* // value: "STRING_VALUE",
* // },
* // ],
* // fargateEphemeralStorage: { // DeploymentEphemeralStorage
* // kmsKeyId: "STRING_VALUE",
* // },
* // },
* // ],
* // failures: [ // Failures
Expand Down
4 changes: 4 additions & 0 deletions clients/client-ecs/src/commands/DescribeTasksCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,10 @@ export interface DescribeTasksCommandOutput extends DescribeTasksResponse, __Met
* // ephemeralStorage: {
* // sizeInGiB: Number("int"), // required
* // },
* // fargateEphemeralStorage: { // TaskEphemeralStorage
* // sizeInGiB: Number("int"),
* // kmsKeyId: "STRING_VALUE",
* // },
* // },
* // ],
* // failures: [ // Failures
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ export interface PutClusterCapacityProvidersCommandOutput
* // s3KeyPrefix: "STRING_VALUE",
* // },
* // },
* // managedStorageConfiguration: { // ManagedStorageConfiguration
* // kmsKeyId: "STRING_VALUE",
* // fargateEphemeralStorageKmsKeyId: "STRING_VALUE",
* // },
* // },
* // status: "STRING_VALUE",
* // registeredContainerInstancesCount: Number("int"),
Expand Down
4 changes: 4 additions & 0 deletions clients/client-ecs/src/commands/RunTaskCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,10 @@ export interface RunTaskCommandOutput extends RunTaskResponse, __MetadataBearer
* // ephemeralStorage: {
* // sizeInGiB: Number("int"), // required
* // },
* // fargateEphemeralStorage: { // TaskEphemeralStorage
* // sizeInGiB: Number("int"),
* // kmsKeyId: "STRING_VALUE",
* // },
* // },
* // ],
* // failures: [ // Failures
Expand Down
4 changes: 4 additions & 0 deletions clients/client-ecs/src/commands/StartTaskCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,10 @@ export interface StartTaskCommandOutput extends StartTaskResponse, __MetadataBea
* // ephemeralStorage: {
* // sizeInGiB: Number("int"), // required
* // },
* // fargateEphemeralStorage: { // TaskEphemeralStorage
* // sizeInGiB: Number("int"),
* // kmsKeyId: "STRING_VALUE",
* // },
* // },
* // ],
* // failures: [ // Failures
Expand Down
7 changes: 7 additions & 0 deletions clients/client-ecs/src/commands/StopTaskCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ export interface StopTaskCommandOutput extends StopTaskResponse, __MetadataBeare
* <code>SIGKILL</code> value is sent and the containers are forcibly stopped. If the
* container handles the <code>SIGTERM</code> value gracefully and exits within 30 seconds
* from receiving it, no <code>SIGKILL</code> value is sent.</p>
* <p>For Windows containers, POSIX signals do not work and runtime stops the container by sending
* 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
* of (Windows) container #25982</a> on GitHub.</p>
* <note>
* <p>The default 30-second timeout can be configured on the Amazon ECS container agent with
* the <code>ECS_CONTAINER_STOP_TIMEOUT</code> variable. For more information, see
Expand Down Expand Up @@ -210,6 +213,10 @@ export interface StopTaskCommandOutput extends StopTaskResponse, __MetadataBeare
* // ephemeralStorage: {
* // sizeInGiB: Number("int"), // required
* // },
* // fargateEphemeralStorage: { // TaskEphemeralStorage
* // sizeInGiB: Number("int"),
* // kmsKeyId: "STRING_VALUE",
* // },
* // },
* // };
*
Expand Down
8 changes: 8 additions & 0 deletions clients/client-ecs/src/commands/UpdateClusterCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ export interface UpdateClusterCommandOutput extends UpdateClusterResponse, __Met
* s3KeyPrefix: "STRING_VALUE",
* },
* },
* managedStorageConfiguration: { // ManagedStorageConfiguration
* kmsKeyId: "STRING_VALUE",
* fargateEphemeralStorageKmsKeyId: "STRING_VALUE",
* },
* },
* serviceConnectDefaults: { // ClusterServiceConnectDefaultsRequest
* namespace: "STRING_VALUE", // required
Expand All @@ -78,6 +82,10 @@ export interface UpdateClusterCommandOutput extends UpdateClusterResponse, __Met
* // s3KeyPrefix: "STRING_VALUE",
* // },
* // },
* // managedStorageConfiguration: { // ManagedStorageConfiguration
* // kmsKeyId: "STRING_VALUE",
* // fargateEphemeralStorageKmsKeyId: "STRING_VALUE",
* // },
* // },
* // status: "STRING_VALUE",
* // registeredContainerInstancesCount: Number("int"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ export interface UpdateClusterSettingsCommandOutput extends UpdateClusterSetting
* // s3KeyPrefix: "STRING_VALUE",
* // },
* // },
* // managedStorageConfiguration: { // ManagedStorageConfiguration
* // kmsKeyId: "STRING_VALUE",
* // fargateEphemeralStorageKmsKeyId: "STRING_VALUE",
* // },
* // },
* // status: "STRING_VALUE",
* // registeredContainerInstancesCount: Number("int"),
Expand Down
6 changes: 6 additions & 0 deletions clients/client-ecs/src/commands/UpdateServiceCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,9 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met
* // value: "STRING_VALUE",
* // },
* // ],
* // fargateEphemeralStorage: { // DeploymentEphemeralStorage
* // kmsKeyId: "STRING_VALUE",
* // },
* // },
* // ],
* // deployments: [ // Deployments
Expand Down Expand Up @@ -538,6 +541,9 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met
* // },
* // },
* // ],
* // fargateEphemeralStorage: {
* // kmsKeyId: "STRING_VALUE",
* // },
* // },
* // ],
* // roleArn: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ export interface UpdateServicePrimaryTaskSetCommandOutput
* // value: "STRING_VALUE",
* // },
* // ],
* // fargateEphemeralStorage: { // DeploymentEphemeralStorage
* // kmsKeyId: "STRING_VALUE",
* // },
* // },
* // };
*
Expand Down
3 changes: 3 additions & 0 deletions clients/client-ecs/src/commands/UpdateTaskSetCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ export interface UpdateTaskSetCommandOutput extends UpdateTaskSetResponse, __Met
* // value: "STRING_VALUE",
* // },
* // ],
* // fargateEphemeralStorage: { // DeploymentEphemeralStorage
* // kmsKeyId: "STRING_VALUE",
* // },
* // },
* // };
*
Expand Down
Loading

0 comments on commit c86da60

Please sign in to comment.