@aws-sdk/client-ecs 3.309.0 → 3.310.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/models/models_0.js +1 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-types/ECS.d.ts +11 -11
- package/dist-types/commands/DeleteAccountSettingCommand.d.ts +1 -1
- package/dist-types/commands/ExecuteCommandCommand.d.ts +3 -3
- package/dist-types/commands/ListAccountSettingsCommand.d.ts +1 -1
- package/dist-types/commands/PutAccountSettingCommand.d.ts +10 -10
- package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +1 -1
- package/dist-types/commands/UpdateTaskProtectionCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +51 -42
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/package.json +36 -36
|
@@ -267,6 +267,7 @@ exports.SettingName = {
|
|
|
267
267
|
AWSVPC_TRUNKING: "awsvpcTrunking",
|
|
268
268
|
CONTAINER_INSIGHTS: "containerInsights",
|
|
269
269
|
CONTAINER_INSTANCE_LONG_ARN_FORMAT: "containerInstanceLongArnFormat",
|
|
270
|
+
FARGATE_FIPS_MODE: "fargateFIPSMode",
|
|
270
271
|
SERVICE_LONG_ARN_FORMAT: "serviceLongArnFormat",
|
|
271
272
|
TASK_LONG_ARN_FORMAT: "taskLongArnFormat",
|
|
272
273
|
};
|
|
@@ -250,6 +250,7 @@ export const SettingName = {
|
|
|
250
250
|
AWSVPC_TRUNKING: "awsvpcTrunking",
|
|
251
251
|
CONTAINER_INSIGHTS: "containerInsights",
|
|
252
252
|
CONTAINER_INSTANCE_LONG_ARN_FORMAT: "containerInstanceLongArnFormat",
|
|
253
|
+
FARGATE_FIPS_MODE: "fargateFIPSMode",
|
|
253
254
|
SERVICE_LONG_ARN_FORMAT: "serviceLongArnFormat",
|
|
254
255
|
TASK_LONG_ARN_FORMAT: "taskLongArnFormat",
|
|
255
256
|
};
|
package/dist-types/ECS.d.ts
CHANGED
|
@@ -424,7 +424,7 @@ export declare class ECS extends ECSClient {
|
|
|
424
424
|
* statement, for example limit the actions to a specific cluster, you receive an
|
|
425
425
|
* <code>AccessDeniedException</code> when there is a mismatch between the condition
|
|
426
426
|
* key value and the corresponding parameter value.</p>
|
|
427
|
-
* <p>For information about required permissions and considerations, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-exec.
|
|
427
|
+
* <p>For information about required permissions and considerations, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-exec.html">Using Amazon ECS Exec for
|
|
428
428
|
* debugging</a> in the <i>Amazon ECS Developer Guide</i>. </p>
|
|
429
429
|
*/
|
|
430
430
|
executeCommand(args: ExecuteCommandCommandInput, options?: __HttpHandlerOptions): Promise<ExecuteCommandCommandOutput>;
|
|
@@ -535,9 +535,9 @@ export declare class ECS extends ECSClient {
|
|
|
535
535
|
/**
|
|
536
536
|
* @public
|
|
537
537
|
* <p>Modifies an account setting. Account settings are set on a per-Region basis.</p>
|
|
538
|
-
* <p>If you change the account setting
|
|
539
|
-
*
|
|
540
|
-
*
|
|
538
|
+
* <p>If you change the root user account setting, the default settings are reset for users
|
|
539
|
+
* and roles that do not have specified individual account settings. For more information,
|
|
540
|
+
* see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html">Account
|
|
541
541
|
* Settings</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
542
542
|
* <p>When <code>serviceLongArnFormat</code>, <code>taskLongArnFormat</code>, or
|
|
543
543
|
* <code>containerInstanceLongArnFormat</code> are specified, the Amazon Resource Name
|
|
@@ -548,15 +548,15 @@ export declare class ECS extends ECSClient {
|
|
|
548
548
|
* must turn on this setting to use Amazon ECS features such as resource tagging.</p>
|
|
549
549
|
* <p>When <code>awsvpcTrunking</code> is specified, the elastic network interface (ENI)
|
|
550
550
|
* limit for any new container instances that support the feature is changed. If
|
|
551
|
-
* <code>awsvpcTrunking</code> is
|
|
551
|
+
* <code>awsvpcTrunking</code> is turned on, any new container instances that support the
|
|
552
552
|
* feature are launched have the increased ENI limits available to them. For more
|
|
553
553
|
* information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-instance-eni.html">Elastic Network
|
|
554
554
|
* Interface Trunking</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
555
|
-
* <p>When <code>containerInsights</code> is specified, the default setting indicating
|
|
556
|
-
*
|
|
557
|
-
* <code>containerInsights</code> is
|
|
558
|
-
* have Container Insights
|
|
559
|
-
* information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cloudwatch-container-insights.html">CloudWatch
|
|
555
|
+
* <p>When <code>containerInsights</code> is specified, the default setting indicating whether
|
|
556
|
+
* Amazon Web Services CloudWatch Container Insights is turned on for your clusters is changed. If
|
|
557
|
+
* <code>containerInsights</code> is turned on, any new clusters that are created will
|
|
558
|
+
* have Container Insights turned on unless you disable it during cluster creation. For
|
|
559
|
+
* more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cloudwatch-container-insights.html">CloudWatch
|
|
560
560
|
* Container Insights</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
561
561
|
*/
|
|
562
562
|
putAccountSetting(args: PutAccountSettingCommandInput, options?: __HttpHandlerOptions): Promise<PutAccountSettingCommandOutput>;
|
|
@@ -999,7 +999,7 @@ export declare class ECS extends ECSClient {
|
|
|
999
999
|
* <code>true</code> to protect your task from termination during scale-in events from
|
|
1000
1000
|
* <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-auto-scaling.html">Service
|
|
1001
1001
|
* Autoscaling</a> or <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">deployments</a>.</p>
|
|
1002
|
-
* <p>Task-protection, by default, expires after 2 hours at which point Amazon ECS
|
|
1002
|
+
* <p>Task-protection, by default, expires after 2 hours at which point Amazon ECS clears the
|
|
1003
1003
|
* <code>protectionEnabled</code> property making the task eligible for termination by
|
|
1004
1004
|
* a subsequent scale-in event.</p>
|
|
1005
1005
|
* <p>You can specify a custom expiration period for task protection from 1 minute to up to
|
|
@@ -28,7 +28,7 @@ export interface DeleteAccountSettingCommandOutput extends DeleteAccountSettingR
|
|
|
28
28
|
* // const { ECSClient, DeleteAccountSettingCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
29
29
|
* const client = new ECSClient(config);
|
|
30
30
|
* const input = { // DeleteAccountSettingRequest
|
|
31
|
-
* name: "serviceLongArnFormat" || "taskLongArnFormat" || "containerInstanceLongArnFormat" || "awsvpcTrunking" || "containerInsights", // required
|
|
31
|
+
* name: "serviceLongArnFormat" || "taskLongArnFormat" || "containerInstanceLongArnFormat" || "awsvpcTrunking" || "containerInsights" || "fargateFIPSMode", // required
|
|
32
32
|
* principalArn: "STRING_VALUE",
|
|
33
33
|
* };
|
|
34
34
|
* const command = new DeleteAccountSettingCommand(input);
|
|
@@ -24,7 +24,7 @@ export interface ExecuteCommandCommandOutput extends ExecuteCommandResponse, __M
|
|
|
24
24
|
* statement, for example limit the actions to a specific cluster, you receive an
|
|
25
25
|
* <code>AccessDeniedException</code> when there is a mismatch between the condition
|
|
26
26
|
* key value and the corresponding parameter value.</p>
|
|
27
|
-
* <p>For information about required permissions and considerations, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-exec.
|
|
27
|
+
* <p>For information about required permissions and considerations, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-exec.html">Using Amazon ECS Exec for
|
|
28
28
|
* debugging</a> in the <i>Amazon ECS Developer Guide</i>. </p>
|
|
29
29
|
* @example
|
|
30
30
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -78,8 +78,8 @@ export interface ExecuteCommandCommandOutput extends ExecuteCommandResponse, __M
|
|
|
78
78
|
* <p>The SSM agent is not installed or is not running</p>
|
|
79
79
|
* </li>
|
|
80
80
|
* <li>
|
|
81
|
-
* <p> There is an interface Amazon VPC endpoint for Amazon ECS, but there is not one for
|
|
82
|
-
*
|
|
81
|
+
* <p> There is an interface Amazon VPC endpoint for Amazon ECS, but there is not one for Systems
|
|
82
|
+
* Manager Session Manager</p>
|
|
83
83
|
* </li>
|
|
84
84
|
* </ul>
|
|
85
85
|
* <p>For information about how to troubleshoot the issues, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-exec.html">Troubleshooting issues with ECS
|
|
@@ -27,7 +27,7 @@ export interface ListAccountSettingsCommandOutput extends ListAccountSettingsRes
|
|
|
27
27
|
* // const { ECSClient, ListAccountSettingsCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
28
28
|
* const client = new ECSClient(config);
|
|
29
29
|
* const input = { // ListAccountSettingsRequest
|
|
30
|
-
* name: "serviceLongArnFormat" || "taskLongArnFormat" || "containerInstanceLongArnFormat" || "awsvpcTrunking" || "containerInsights",
|
|
30
|
+
* name: "serviceLongArnFormat" || "taskLongArnFormat" || "containerInstanceLongArnFormat" || "awsvpcTrunking" || "containerInsights" || "fargateFIPSMode",
|
|
31
31
|
* value: "STRING_VALUE",
|
|
32
32
|
* principalArn: "STRING_VALUE",
|
|
33
33
|
* effectiveSettings: true || false,
|
|
@@ -20,9 +20,9 @@ export interface PutAccountSettingCommandOutput extends PutAccountSettingRespons
|
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
22
|
* <p>Modifies an account setting. Account settings are set on a per-Region basis.</p>
|
|
23
|
-
* <p>If you change the account setting
|
|
24
|
-
*
|
|
25
|
-
*
|
|
23
|
+
* <p>If you change the root user account setting, the default settings are reset for users
|
|
24
|
+
* and roles that do not have specified individual account settings. For more information,
|
|
25
|
+
* see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html">Account
|
|
26
26
|
* Settings</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
27
27
|
* <p>When <code>serviceLongArnFormat</code>, <code>taskLongArnFormat</code>, or
|
|
28
28
|
* <code>containerInstanceLongArnFormat</code> are specified, the Amazon Resource Name
|
|
@@ -33,15 +33,15 @@ export interface PutAccountSettingCommandOutput extends PutAccountSettingRespons
|
|
|
33
33
|
* must turn on this setting to use Amazon ECS features such as resource tagging.</p>
|
|
34
34
|
* <p>When <code>awsvpcTrunking</code> is specified, the elastic network interface (ENI)
|
|
35
35
|
* limit for any new container instances that support the feature is changed. If
|
|
36
|
-
* <code>awsvpcTrunking</code> is
|
|
36
|
+
* <code>awsvpcTrunking</code> is turned on, any new container instances that support the
|
|
37
37
|
* feature are launched have the increased ENI limits available to them. For more
|
|
38
38
|
* information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-instance-eni.html">Elastic Network
|
|
39
39
|
* Interface Trunking</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
40
|
-
* <p>When <code>containerInsights</code> is specified, the default setting indicating
|
|
41
|
-
*
|
|
42
|
-
* <code>containerInsights</code> is
|
|
43
|
-
* have Container Insights
|
|
44
|
-
* information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cloudwatch-container-insights.html">CloudWatch
|
|
40
|
+
* <p>When <code>containerInsights</code> is specified, the default setting indicating whether
|
|
41
|
+
* Amazon Web Services CloudWatch Container Insights is turned on for your clusters is changed. If
|
|
42
|
+
* <code>containerInsights</code> is turned on, any new clusters that are created will
|
|
43
|
+
* have Container Insights turned on unless you disable it during cluster creation. For
|
|
44
|
+
* more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cloudwatch-container-insights.html">CloudWatch
|
|
45
45
|
* Container Insights</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
46
46
|
* @example
|
|
47
47
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -50,7 +50,7 @@ export interface PutAccountSettingCommandOutput extends PutAccountSettingRespons
|
|
|
50
50
|
* // const { ECSClient, PutAccountSettingCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
51
51
|
* const client = new ECSClient(config);
|
|
52
52
|
* const input = { // PutAccountSettingRequest
|
|
53
|
-
* name: "serviceLongArnFormat" || "taskLongArnFormat" || "containerInstanceLongArnFormat" || "awsvpcTrunking" || "containerInsights", // required
|
|
53
|
+
* name: "serviceLongArnFormat" || "taskLongArnFormat" || "containerInstanceLongArnFormat" || "awsvpcTrunking" || "containerInsights" || "fargateFIPSMode", // required
|
|
54
54
|
* value: "STRING_VALUE", // required
|
|
55
55
|
* principalArn: "STRING_VALUE",
|
|
56
56
|
* };
|
|
@@ -29,7 +29,7 @@ export interface PutAccountSettingDefaultCommandOutput extends PutAccountSetting
|
|
|
29
29
|
* // const { ECSClient, PutAccountSettingDefaultCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
30
30
|
* const client = new ECSClient(config);
|
|
31
31
|
* const input = { // PutAccountSettingDefaultRequest
|
|
32
|
-
* name: "serviceLongArnFormat" || "taskLongArnFormat" || "containerInstanceLongArnFormat" || "awsvpcTrunking" || "containerInsights", // required
|
|
32
|
+
* name: "serviceLongArnFormat" || "taskLongArnFormat" || "containerInstanceLongArnFormat" || "awsvpcTrunking" || "containerInsights" || "fargateFIPSMode", // required
|
|
33
33
|
* value: "STRING_VALUE", // required
|
|
34
34
|
* };
|
|
35
35
|
* const command = new PutAccountSettingDefaultCommand(input);
|
|
@@ -23,7 +23,7 @@ export interface UpdateTaskProtectionCommandOutput extends UpdateTaskProtectionR
|
|
|
23
23
|
* <code>true</code> to protect your task from termination during scale-in events from
|
|
24
24
|
* <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-auto-scaling.html">Service
|
|
25
25
|
* Autoscaling</a> or <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">deployments</a>.</p>
|
|
26
|
-
* <p>Task-protection, by default, expires after 2 hours at which point Amazon ECS
|
|
26
|
+
* <p>Task-protection, by default, expires after 2 hours at which point Amazon ECS clears the
|
|
27
27
|
* <code>protectionEnabled</code> property making the task eligible for termination by
|
|
28
28
|
* a subsequent scale-in event.</p>
|
|
29
29
|
* <p>You can specify a custom expiration period for task protection from 1 minute to up to
|
|
@@ -57,7 +57,7 @@ export type ManagedScalingStatus = (typeof ManagedScalingStatus)[keyof typeof Ma
|
|
|
57
57
|
/**
|
|
58
58
|
* @public
|
|
59
59
|
* <p>The managed scaling settings for the Auto Scaling group capacity provider.</p>
|
|
60
|
-
* <p>When managed scaling is
|
|
60
|
+
* <p>When managed scaling is turned on, Amazon ECS manages the scale-in and scale-out actions of
|
|
61
61
|
* the Auto Scaling group. Amazon ECS manages a target tracking scaling policy using an Amazon ECS
|
|
62
62
|
* managed CloudWatch metric with the specified <code>targetCapacity</code> value as the target
|
|
63
63
|
* value for the metric. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/asg-capacity-providers.html#asg-capacity-providers-managed-scaling">Using managed scaling</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
@@ -140,7 +140,7 @@ export interface AutoScalingGroupProvider {
|
|
|
140
140
|
* <p>When managed termination protection is on, Amazon ECS prevents the Amazon EC2 instances in an Auto
|
|
141
141
|
* Scaling group that contain tasks from being terminated during a scale-in action. The
|
|
142
142
|
* Auto Scaling group and each instance in the Auto Scaling group must have instance
|
|
143
|
-
* protection from scale-in actions
|
|
143
|
+
* protection from scale-in actions on as well. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection">Instance Protection</a> in the <i>Auto Scaling User Guide</i>.</p>
|
|
144
144
|
* <p>When managed termination protection is off, your Amazon EC2 instances aren't protected from
|
|
145
145
|
* termination when the Auto Scaling group scales in.</p>
|
|
146
146
|
*/
|
|
@@ -606,7 +606,7 @@ export interface ClusterServiceConnectDefaultsRequest {
|
|
|
606
606
|
* <p>If you update the service with an empty string <code>""</code> for the namespace name,
|
|
607
607
|
* the cluster configuration for Service Connect is removed. Note that the namespace will
|
|
608
608
|
* remain in Cloud Map and must be deleted separately.</p>
|
|
609
|
-
* <p>For more information about Cloud Map, see <a href="https://docs.aws.amazon.com/">Working
|
|
609
|
+
* <p>For more information about Cloud Map, see <a href="https://docs.aws.amazon.com/cloud-map/latest/dg/working-with-services.html">Working
|
|
610
610
|
* with Services</a> in the <i>Cloud Map Developer Guide</i>.</p>
|
|
611
611
|
*/
|
|
612
612
|
namespace: string | undefined;
|
|
@@ -629,16 +629,17 @@ export type ClusterSettingName = (typeof ClusterSettingName)[keyof typeof Cluste
|
|
|
629
629
|
*/
|
|
630
630
|
export interface ClusterSetting {
|
|
631
631
|
/**
|
|
632
|
-
* <p>The name of the cluster setting. The
|
|
633
|
-
* <code>containerInsights</code>.</p>
|
|
632
|
+
* <p>The name of the cluster setting. The value is <code>containerInsights</code> .</p>
|
|
634
633
|
*/
|
|
635
634
|
name?: ClusterSettingName | string;
|
|
636
635
|
/**
|
|
637
636
|
* <p>The value to set for the cluster setting. The supported values are <code>enabled</code> and
|
|
638
|
-
* <code>disabled</code>.
|
|
639
|
-
*
|
|
640
|
-
*
|
|
641
|
-
*
|
|
637
|
+
* <code>disabled</code>. </p>
|
|
638
|
+
* <p>If you set <code>name</code> to <code>containerInsights</code> and <code>value</code>
|
|
639
|
+
* to <code>enabled</code>, CloudWatch Container Insights will be on for the cluster, otherwise
|
|
640
|
+
* it will be off unless the <code>containerInsights</code> account setting is turned on.
|
|
641
|
+
* If a cluster value is specified, it will override the <code>containerInsights</code>
|
|
642
|
+
* value set with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutAccountSetting.html">PutAccountSetting</a> or <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutAccountSettingDefault.html">PutAccountSettingDefault</a>.</p>
|
|
642
643
|
*/
|
|
643
644
|
value?: string;
|
|
644
645
|
}
|
|
@@ -1062,7 +1063,7 @@ export interface DeploymentAlarms {
|
|
|
1062
1063
|
* update (<code>ECS</code>) deployment type.</p>
|
|
1063
1064
|
* </note>
|
|
1064
1065
|
* <p>The <b>deployment circuit breaker</b> determines whether a
|
|
1065
|
-
* service deployment will fail if the service can't reach a steady state. If
|
|
1066
|
+
* service deployment will fail if the service can't reach a steady state. If it is turned on, a
|
|
1066
1067
|
* service deployment will transition to a failed state and stop launching new tasks. You
|
|
1067
1068
|
* can also configure Amazon ECS to roll back your service to the last completed deployment
|
|
1068
1069
|
* after a failure. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html">Rolling
|
|
@@ -1680,7 +1681,7 @@ export interface ServiceConnectConfiguration {
|
|
|
1680
1681
|
/**
|
|
1681
1682
|
* <p>The namespace name or full Amazon Resource Name (ARN) of the Cloud Map namespace for use with Service Connect. The namespace must be in
|
|
1682
1683
|
* the same Amazon Web Services Region as the Amazon ECS service and cluster. The type of namespace doesn't
|
|
1683
|
-
* affect Service Connect. For more information about Cloud Map, see <a href="https://docs.aws.amazon.com/">Working with Services</a> in the
|
|
1684
|
+
* affect Service Connect. For more information about Cloud Map, see <a href="https://docs.aws.amazon.com/cloud-map/latest/dg/working-with-services.html">Working with Services</a> in the
|
|
1684
1685
|
* <i>Cloud Map Developer Guide</i>.</p>
|
|
1685
1686
|
*/
|
|
1686
1687
|
namespace?: string;
|
|
@@ -1804,6 +1805,7 @@ export interface CreateServiceRequest {
|
|
|
1804
1805
|
* isn't specified, the latest <code>ACTIVE</code> revision is used.</p>
|
|
1805
1806
|
* <p>A task definition must be specified if the service uses either the <code>ECS</code> or
|
|
1806
1807
|
* <code>CODE_DEPLOY</code> deployment controllers.</p>
|
|
1808
|
+
* <p>For more information about deployment types, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon ECS deployment types</a>.</p>
|
|
1807
1809
|
*/
|
|
1808
1810
|
taskDefinition?: string;
|
|
1809
1811
|
/**
|
|
@@ -2053,7 +2055,7 @@ export interface CreateServiceRequest {
|
|
|
2053
2055
|
*/
|
|
2054
2056
|
propagateTags?: PropagateTags | string;
|
|
2055
2057
|
/**
|
|
2056
|
-
* <p>Determines whether the execute command functionality is
|
|
2058
|
+
* <p>Determines whether the execute command functionality is turned on for the service. If
|
|
2057
2059
|
* <code>true</code>, this enables execute command functionality on all containers in
|
|
2058
2060
|
* the service tasks.</p>
|
|
2059
2061
|
*/
|
|
@@ -2214,7 +2216,7 @@ export interface Deployment {
|
|
|
2214
2216
|
* <p>The rollout state of the deployment. When a service deployment is started, it begins
|
|
2215
2217
|
* in an <code>IN_PROGRESS</code> state. When the service reaches a steady state, the
|
|
2216
2218
|
* deployment transitions to a <code>COMPLETED</code> state. If the service fails to reach
|
|
2217
|
-
* a steady state and circuit breaker is
|
|
2219
|
+
* a steady state and circuit breaker is turned on, the deployment transitions to a
|
|
2218
2220
|
* <code>FAILED</code> state. A deployment in <code>FAILED</code> state doesn't launch
|
|
2219
2221
|
* any new tasks. For more information, see <a>DeploymentCircuitBreaker</a>.</p>
|
|
2220
2222
|
*/
|
|
@@ -2709,8 +2711,8 @@ export interface Service {
|
|
|
2709
2711
|
*/
|
|
2710
2712
|
propagateTags?: PropagateTags | string;
|
|
2711
2713
|
/**
|
|
2712
|
-
* <p>Determines whether the execute command functionality is
|
|
2713
|
-
* <code>true</code>, the execute command functionality is
|
|
2714
|
+
* <p>Determines whether the execute command functionality is turned on for the service. If
|
|
2715
|
+
* <code>true</code>, the execute command functionality is turned on for all containers
|
|
2714
2716
|
* in tasks as part of the service.</p>
|
|
2715
2717
|
*/
|
|
2716
2718
|
enableExecuteCommand?: boolean;
|
|
@@ -2951,6 +2953,7 @@ export declare const SettingName: {
|
|
|
2951
2953
|
readonly AWSVPC_TRUNKING: "awsvpcTrunking";
|
|
2952
2954
|
readonly CONTAINER_INSIGHTS: "containerInsights";
|
|
2953
2955
|
readonly CONTAINER_INSTANCE_LONG_ARN_FORMAT: "containerInstanceLongArnFormat";
|
|
2956
|
+
readonly FARGATE_FIPS_MODE: "fargateFIPSMode";
|
|
2954
2957
|
readonly SERVICE_LONG_ARN_FORMAT: "serviceLongArnFormat";
|
|
2955
2958
|
readonly TASK_LONG_ARN_FORMAT: "taskLongArnFormat";
|
|
2956
2959
|
};
|
|
@@ -3825,9 +3828,9 @@ export interface PortMapping {
|
|
|
3825
3828
|
* <code>containerPort</code>. This is a static mapping strategy.</p>
|
|
3826
3829
|
* </li>
|
|
3827
3830
|
* <li>
|
|
3828
|
-
* <p>For containers in a task with the <code>bridge</code> network mode, the Amazon ECS
|
|
3829
|
-
*
|
|
3830
|
-
*
|
|
3831
|
+
* <p>For containers in a task with the <code>bridge</code> network mode, the Amazon ECS agent finds
|
|
3832
|
+
* open ports on the host and automatically binds them to the container ports. This
|
|
3833
|
+
* is a dynamic mapping strategy.</p>
|
|
3831
3834
|
* </li>
|
|
3832
3835
|
* </ul>
|
|
3833
3836
|
* <p>If you use containers in a task with the <code>awsvpc</code> or <code>host</code>
|
|
@@ -3981,7 +3984,7 @@ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
|
3981
3984
|
* @public
|
|
3982
3985
|
* <p>The type and amount of a resource to assign to a container. The supported resource types are
|
|
3983
3986
|
* GPUs and Elastic Inference accelerators. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-gpu.html">Working with
|
|
3984
|
-
* GPUs on Amazon ECS</a> or <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/
|
|
3987
|
+
* GPUs on Amazon ECS</a> or <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-inference.html">Working with
|
|
3985
3988
|
* Amazon Elastic Inference on Amazon ECS</a> in the <i>Amazon Elastic Container Service Developer Guide</i>
|
|
3986
3989
|
* </p>
|
|
3987
3990
|
*/
|
|
@@ -4756,9 +4759,13 @@ export interface ContainerDefinition {
|
|
|
4756
4759
|
* tasks hosted on Fargate. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/userguide/using_data_volumes.html">Fargate task
|
|
4757
4760
|
* storage</a> in the <i>Amazon ECS User Guide for Fargate</i>.</p>
|
|
4758
4761
|
* <note>
|
|
4759
|
-
* <p>
|
|
4760
|
-
*
|
|
4761
|
-
*
|
|
4762
|
+
* <p>For tasks using the Fargate launch type, the task requires
|
|
4763
|
+
* the following platforms:</p>
|
|
4764
|
+
* <ul>
|
|
4765
|
+
* <li>
|
|
4766
|
+
* <p>Linux platform version <code>1.4.0</code> or later.</p>
|
|
4767
|
+
* </li>
|
|
4768
|
+
* </ul>
|
|
4762
4769
|
* </note>
|
|
4763
4770
|
*/
|
|
4764
4771
|
export interface EphemeralStorage {
|
|
@@ -4837,7 +4844,7 @@ export declare const TaskDefinitionPlacementConstraintType: {
|
|
|
4837
4844
|
export type TaskDefinitionPlacementConstraintType = (typeof TaskDefinitionPlacementConstraintType)[keyof typeof TaskDefinitionPlacementConstraintType];
|
|
4838
4845
|
/**
|
|
4839
4846
|
* @public
|
|
4840
|
-
* <p>
|
|
4847
|
+
* <p>The constraint on task placement in the task definition. For more
|
|
4841
4848
|
* information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html">Task placement constraints</a> in the
|
|
4842
4849
|
* <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
4843
4850
|
* <note>
|
|
@@ -5081,14 +5088,14 @@ export interface EFSAuthorizationConfig {
|
|
|
5081
5088
|
* <p>The Amazon EFS access point ID to use. If an access point is specified, the root directory
|
|
5082
5089
|
* value specified in the <code>EFSVolumeConfiguration</code> must either be omitted or set
|
|
5083
5090
|
* to <code>/</code> which will enforce the path set on the EFS access point. If an access
|
|
5084
|
-
* point is used, transit encryption must be
|
|
5091
|
+
* point is used, transit encryption must be on in the
|
|
5085
5092
|
* <code>EFSVolumeConfiguration</code>. For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/efs-access-points.html">Working with Amazon
|
|
5086
5093
|
* EFS access points</a> in the <i>Amazon Elastic File System User Guide</i>.</p>
|
|
5087
5094
|
*/
|
|
5088
5095
|
accessPointId?: string;
|
|
5089
5096
|
/**
|
|
5090
5097
|
* <p>Determines whether to use the Amazon ECS task role defined in a task definition when
|
|
5091
|
-
* mounting the Amazon EFS file system. If
|
|
5098
|
+
* mounting the Amazon EFS file system. If it is turned on, transit encryption must be turned on in the
|
|
5092
5099
|
* <code>EFSVolumeConfiguration</code>. If this parameter is omitted, the default value
|
|
5093
5100
|
* of <code>DISABLED</code> is used. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/efs-volumes.html#efs-volume-accesspoints">Using
|
|
5094
5101
|
* Amazon EFS access points</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
@@ -5131,7 +5138,7 @@ export interface EFSVolumeConfiguration {
|
|
|
5131
5138
|
rootDirectory?: string;
|
|
5132
5139
|
/**
|
|
5133
5140
|
* <p>Determines whether to use encryption for Amazon EFS data in transit between the Amazon ECS host
|
|
5134
|
-
* and the Amazon EFS server. Transit encryption must be
|
|
5141
|
+
* and the Amazon EFS server. Transit encryption must be turned on if Amazon EFS IAM authorization is
|
|
5135
5142
|
* used. If this parameter is omitted, the default value of <code>DISABLED</code> is used.
|
|
5136
5143
|
* For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/encryption-in-transit.html">Encrypting data in transit</a> in
|
|
5137
5144
|
* the <i>Amazon Elastic File System User Guide</i>.</p>
|
|
@@ -6317,7 +6324,7 @@ export interface ManagedAgent {
|
|
|
6317
6324
|
*/
|
|
6318
6325
|
lastStartedAt?: Date;
|
|
6319
6326
|
/**
|
|
6320
|
-
* <p>The name of the managed agent. When the execute command feature is
|
|
6327
|
+
* <p>The name of the managed agent. When the execute command feature is turned on, the
|
|
6321
6328
|
* managed agent name is <code>ExecuteCommandAgent</code>.</p>
|
|
6322
6329
|
*/
|
|
6323
6330
|
name?: ManagedAgentName | string;
|
|
@@ -6758,8 +6765,8 @@ export interface Task {
|
|
|
6758
6765
|
*/
|
|
6759
6766
|
desiredStatus?: string;
|
|
6760
6767
|
/**
|
|
6761
|
-
* <p>Determines whether execute command functionality is
|
|
6762
|
-
* <code>true</code>, execute command functionality is
|
|
6768
|
+
* <p>Determines whether execute command functionality is turned on for this task. If
|
|
6769
|
+
* <code>true</code>, execute command functionality is turned on all the containers in
|
|
6763
6770
|
* the task.</p>
|
|
6764
6771
|
*/
|
|
6765
6772
|
enableExecuteCommand?: boolean;
|
|
@@ -7176,8 +7183,8 @@ export interface ExecuteCommandResponse {
|
|
|
7176
7183
|
* <p>The SSM agent is not installed or is not running</p>
|
|
7177
7184
|
* </li>
|
|
7178
7185
|
* <li>
|
|
7179
|
-
* <p> There is an interface Amazon VPC endpoint for Amazon ECS, but there is not one for
|
|
7180
|
-
*
|
|
7186
|
+
* <p> There is an interface Amazon VPC endpoint for Amazon ECS, but there is not one for Systems
|
|
7187
|
+
* Manager Session Manager</p>
|
|
7181
7188
|
* </li>
|
|
7182
7189
|
* </ul>
|
|
7183
7190
|
* <p>For information about how to troubleshoot the issues, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-exec.html">Troubleshooting issues with ECS
|
|
@@ -7240,7 +7247,7 @@ export interface GetTaskProtectionResponse {
|
|
|
7240
7247
|
* <li>
|
|
7241
7248
|
* <p>
|
|
7242
7249
|
* <code>protectionEnabled</code>: The protection status of the task. If scale-in
|
|
7243
|
-
* protection is
|
|
7250
|
+
* protection is turned on for a task, the value is <code>true</code>. Otherwise, it
|
|
7244
7251
|
* is <code>false</code>.</p>
|
|
7245
7252
|
* </li>
|
|
7246
7253
|
* <li>
|
|
@@ -7944,7 +7951,8 @@ export interface PutAccountSettingRequest {
|
|
|
7944
7951
|
* specified, the ARN and resource ID for your Amazon ECS container instances is affected. If
|
|
7945
7952
|
* <code>awsvpcTrunking</code> is specified, the elastic network interface (ENI) limit
|
|
7946
7953
|
* for your Amazon ECS container instances is affected. If <code>containerInsights</code> is
|
|
7947
|
-
* specified, the default setting for CloudWatch Container Insights for your clusters is
|
|
7954
|
+
* specified, the default setting for Amazon Web Services CloudWatch Container Insights for your clusters is
|
|
7955
|
+
* affected. If <code>fargateFIPSMode</code> is specified, Fargate FIPS 140 compliance is
|
|
7948
7956
|
* affected.</p>
|
|
7949
7957
|
*/
|
|
7950
7958
|
name: SettingName | string | undefined;
|
|
@@ -7987,11 +7995,12 @@ export interface PutAccountSettingDefaultRequest {
|
|
|
7987
7995
|
* specified, the ARN and resource ID for your Amazon ECS container instances is affected. If
|
|
7988
7996
|
* <code>awsvpcTrunking</code> is specified, the ENI limit for your Amazon ECS container
|
|
7989
7997
|
* instances is affected. If <code>containerInsights</code> is specified, the default
|
|
7990
|
-
* setting for CloudWatch Container Insights for your clusters is affected
|
|
7991
|
-
* <p>
|
|
7992
|
-
*
|
|
7993
|
-
*
|
|
7994
|
-
*
|
|
7998
|
+
* setting for Amazon Web Services CloudWatch Container Insights for your clusters is affected. </p>
|
|
7999
|
+
* <p>When you specify <code>fargateFIPSMode</code> for the <code>name</code> and
|
|
8000
|
+
* <code>enabled</code> for the <code>value</code>, Fargate uses FIPS-140 compliant
|
|
8001
|
+
* cryptographic algorithms on your tasks. For more information about FIPS-140 compliance
|
|
8002
|
+
* with Fargate, see <a href="https://docs.aws.amazon.com/AWSEC2ContainerServiceDocs/build/server-root/AmazonECS/latest/developerguide/ecs-fips-compliance.html"> Amazon Web Services Fargate Federal Information Processing Standard (FIPS) 140-2
|
|
8003
|
+
* compliance</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
7995
8004
|
*/
|
|
7996
8005
|
name: SettingName | string | undefined;
|
|
7997
8006
|
/**
|
|
@@ -8508,8 +8517,8 @@ export interface RegisterTaskDefinitionRequest {
|
|
|
8508
8517
|
* tasks hosted on Fargate. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/userguide/using_data_volumes.html">Fargate task
|
|
8509
8518
|
* storage</a> in the <i>Amazon ECS User Guide for Fargate</i>.</p>
|
|
8510
8519
|
* <note>
|
|
8511
|
-
* <p>
|
|
8512
|
-
* the following
|
|
8520
|
+
* <p>For tasks using the Fargate launch type, the task requires
|
|
8521
|
+
* the following platforms:</p>
|
|
8513
8522
|
* <ul>
|
|
8514
8523
|
* <li>
|
|
8515
8524
|
* <p>Linux platform version <code>1.4.0</code> or later.</p>
|
|
@@ -8774,7 +8783,7 @@ export interface StartTaskRequest {
|
|
|
8774
8783
|
*/
|
|
8775
8784
|
enableECSManagedTags?: boolean;
|
|
8776
8785
|
/**
|
|
8777
|
-
* <p>Whether or not the execute command functionality is
|
|
8786
|
+
* <p>Whether or not the execute command functionality is turned on for the task. If
|
|
8778
8787
|
* <code>true</code>, this enables execute command functionality on all containers in
|
|
8779
8788
|
* the task.</p>
|
|
8780
8789
|
*/
|
|
@@ -9640,7 +9649,7 @@ export interface UpdateTaskProtectionResponse {
|
|
|
9640
9649
|
* <li>
|
|
9641
9650
|
* <p>
|
|
9642
9651
|
* <code>protectionEnabled</code>: The protection status of the task. If scale-in
|
|
9643
|
-
* protection is
|
|
9652
|
+
* protection is turned on for a task, the value is <code>true</code>. Otherwise, it
|
|
9644
9653
|
* is <code>false</code>.</p>
|
|
9645
9654
|
* </li>
|
|
9646
9655
|
* <li>
|
|
@@ -528,6 +528,7 @@ export declare const SettingName: {
|
|
|
528
528
|
readonly AWSVPC_TRUNKING: "awsvpcTrunking";
|
|
529
529
|
readonly CONTAINER_INSIGHTS: "containerInsights";
|
|
530
530
|
readonly CONTAINER_INSTANCE_LONG_ARN_FORMAT: "containerInstanceLongArnFormat";
|
|
531
|
+
readonly FARGATE_FIPS_MODE: "fargateFIPSMode";
|
|
531
532
|
readonly SERVICE_LONG_ARN_FORMAT: "serviceLongArnFormat";
|
|
532
533
|
readonly TASK_LONG_ARN_FORMAT: "taskLongArnFormat";
|
|
533
534
|
};
|
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.
|
|
4
|
+
"version": "3.310.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,43 +21,43 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
56
|
-
"@aws-sdk/util-waiter": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.310.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.310.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.310.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.310.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.310.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.310.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.310.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.310.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.310.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.310.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.310.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.310.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.310.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.310.0",
|
|
44
|
+
"@aws-sdk/types": "3.310.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.310.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.310.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.310.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.310.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.310.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.310.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.310.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.310.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.310.0",
|
|
56
|
+
"@aws-sdk/util-waiter": "3.310.0",
|
|
57
57
|
"tslib": "^2.5.0"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
60
|
+
"@aws-sdk/service-client-documentation-generator": "3.310.0",
|
|
61
61
|
"@tsconfig/node14": "1.0.3",
|
|
62
62
|
"@types/node": "^14.14.31",
|
|
63
63
|
"concurrently": "7.0.0",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
}
|
|
78
78
|
},
|
|
79
79
|
"files": [
|
|
80
|
-
"dist
|
|
80
|
+
"dist-*/**"
|
|
81
81
|
],
|
|
82
82
|
"author": {
|
|
83
83
|
"name": "AWS SDK for JavaScript Team",
|