@aws-sdk/client-ecs 3.429.0 → 3.431.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/endpoint/ruleset.js +3 -3
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-types/commands/CreateServiceCommand.d.ts +4 -4
- package/dist-types/commands/DescribeContainerInstancesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeServicesCommand.d.ts +2 -2
- package/dist-types/commands/DescribeTasksCommand.d.ts +3 -3
- package/dist-types/commands/GetTaskProtectionCommand.d.ts +1 -1
- package/dist-types/commands/ListContainerInstancesCommand.d.ts +2 -2
- package/dist-types/commands/ListServicesCommand.d.ts +1 -1
- package/dist-types/commands/ListTasksCommand.d.ts +3 -3
- package/dist-types/commands/RunTaskCommand.d.ts +4 -4
- package/dist-types/commands/UpdateTaskProtectionCommand.d.ts +3 -3
- package/dist-types/models/models_0.d.ts +89 -30
- package/package.json +11 -11
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a = "isSet",
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
5
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }, { conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ endpoint: { url: "https://ecs-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ endpoint: { url: "https://ecs-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ endpoint: { url: "https://ecs.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://ecs.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = "isSet",
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
2
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }, { conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ endpoint: { url: "https://ecs-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ endpoint: { url: "https://ecs-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ endpoint: { url: "https://ecs.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://ecs.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -547,10 +547,10 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met
|
|
|
547
547
|
* "loadBalancers": [],
|
|
548
548
|
* "pendingCount": 0,
|
|
549
549
|
* "runningCount": 0,
|
|
550
|
-
* "serviceArn": "arn:aws:ecs:us-east-1:012345678910:service/ecs-simple-service",
|
|
550
|
+
* "serviceArn": "arn:aws:ecs:us-east-1:012345678910:service/default/ecs-simple-service",
|
|
551
551
|
* "serviceName": "ecs-simple-service",
|
|
552
552
|
* "status": "ACTIVE",
|
|
553
|
-
* "taskDefinition": "arn:aws:ecs:us-east-1:012345678910:task-definition/hello_world:6"
|
|
553
|
+
* "taskDefinition": "arn:aws:ecs:us-east-1:012345678910:task-definition/default/hello_world:6"
|
|
554
554
|
* }
|
|
555
555
|
* }
|
|
556
556
|
* *\/
|
|
@@ -608,10 +608,10 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met
|
|
|
608
608
|
* "pendingCount": 0,
|
|
609
609
|
* "roleArn": "arn:aws:iam::012345678910:role/ecsServiceRole",
|
|
610
610
|
* "runningCount": 0,
|
|
611
|
-
* "serviceArn": "arn:aws:ecs:us-east-1:012345678910:service/ecs-simple-service-elb",
|
|
611
|
+
* "serviceArn": "arn:aws:ecs:us-east-1:012345678910:service/default/ecs-simple-service-elb",
|
|
612
612
|
* "serviceName": "ecs-simple-service-elb",
|
|
613
613
|
* "status": "ACTIVE",
|
|
614
|
-
* "taskDefinition": "arn:aws:ecs:us-east-1:012345678910:task-definition/console-sample-app-static:6"
|
|
614
|
+
* "taskDefinition": "arn:aws:ecs:us-east-1:012345678910:task-definition/default/console-sample-app-static:6"
|
|
615
615
|
* }
|
|
616
616
|
* }
|
|
617
617
|
* *\/
|
|
@@ -176,7 +176,7 @@ export interface DescribeContainerInstancesCommandOutput extends DescribeContain
|
|
|
176
176
|
* "containerInstances": [
|
|
177
177
|
* {
|
|
178
178
|
* "agentConnected": true,
|
|
179
|
-
* "containerInstanceArn": "arn:aws:ecs:us-east-1:012345678910:container-instance/f2756532-8f13-4d53-87c9-aed50dc94cd7",
|
|
179
|
+
* "containerInstanceArn": "arn:aws:ecs:us-east-1:012345678910:container-instance/default/f2756532-8f13-4d53-87c9-aed50dc94cd7",
|
|
180
180
|
* "ec2InstanceId": "i-807f3249",
|
|
181
181
|
* "pendingTasksCount": 0,
|
|
182
182
|
* "registeredResources": [
|
|
@@ -354,10 +354,10 @@ export interface DescribeServicesCommandOutput extends DescribeServicesResponse,
|
|
|
354
354
|
* "loadBalancers": [],
|
|
355
355
|
* "pendingCount": 0,
|
|
356
356
|
* "runningCount": 0,
|
|
357
|
-
* "serviceArn": "arn:aws:ecs:us-east-1:012345678910:service/ecs-simple-service",
|
|
357
|
+
* "serviceArn": "arn:aws:ecs:us-east-1:012345678910:service/default/ecs-simple-service",
|
|
358
358
|
* "serviceName": "ecs-simple-service",
|
|
359
359
|
* "status": "ACTIVE",
|
|
360
|
-
* "taskDefinition": "arn:aws:ecs:us-east-1:012345678910:task-definition/hello_world:6"
|
|
360
|
+
* "taskDefinition": "arn:aws:ecs:us-east-1:012345678910:task-definition/default/hello_world:6"
|
|
361
361
|
* }
|
|
362
362
|
* ]
|
|
363
363
|
* }
|
|
@@ -255,7 +255,7 @@ export interface DescribeTasksCommandOutput extends DescribeTasksResponse, __Met
|
|
|
255
255
|
* "tasks": [
|
|
256
256
|
* {
|
|
257
257
|
* "clusterArn": "arn:aws:ecs:<region>:<aws_account_id>:cluster/default",
|
|
258
|
-
* "containerInstanceArn": "arn:aws:ecs:<region>:<aws_account_id>:container-instance/18f9eda5-27d7-4c19-b133-45adc516e8fb",
|
|
258
|
+
* "containerInstanceArn": "arn:aws:ecs:<region>:<aws_account_id>:container-instance/default/18f9eda5-27d7-4c19-b133-45adc516e8fb",
|
|
259
259
|
* "containers": [
|
|
260
260
|
* {
|
|
261
261
|
* "name": "ecs-demo",
|
|
@@ -268,7 +268,7 @@ export interface DescribeTasksCommandOutput extends DescribeTasksResponse, __Met
|
|
|
268
268
|
* "hostPort": 80
|
|
269
269
|
* }
|
|
270
270
|
* ],
|
|
271
|
-
* "taskArn": "arn:aws:ecs:<region>:<aws_account_id>:task/c5cba4eb-5dad-405e-96db-71ef8eefe6a8"
|
|
271
|
+
* "taskArn": "arn:aws:ecs:<region>:<aws_account_id>:task/default/c5cba4eb-5dad-405e-96db-71ef8eefe6a8"
|
|
272
272
|
* }
|
|
273
273
|
* ],
|
|
274
274
|
* "desiredStatus": "RUNNING",
|
|
@@ -281,7 +281,7 @@ export interface DescribeTasksCommandOutput extends DescribeTasksResponse, __Met
|
|
|
281
281
|
* ]
|
|
282
282
|
* },
|
|
283
283
|
* "startedBy": "ecs-svc/9223370608528463088",
|
|
284
|
-
* "taskArn": "arn:aws:ecs:<region>:<aws_account_id>:task/c5cba4eb-5dad-405e-96db-71ef8eefe6a8",
|
|
284
|
+
* "taskArn": "arn:aws:ecs:<region>:<aws_account_id>:task/default/c5cba4eb-5dad-405e-96db-71ef8eefe6a8",
|
|
285
285
|
* "taskDefinitionArn": "arn:aws:ecs:<region>:<aws_account_id>:task-definition/amazon-ecs-sample:1"
|
|
286
286
|
* }
|
|
287
287
|
* ]
|
|
@@ -108,7 +108,7 @@ export interface GetTaskProtectionCommandOutput extends GetTaskProtectionRespons
|
|
|
108
108
|
* {
|
|
109
109
|
* "expirationDate": "2022-11-02T06:56:32.553Z",
|
|
110
110
|
* "protectionEnabled": true,
|
|
111
|
-
* "taskArn": "arn:aws:ecs:us-west-2:012345678910:task/b8b1cf532d0e46ba8d44a40d1de16772"
|
|
111
|
+
* "taskArn": "arn:aws:ecs:us-west-2:012345678910:task/default/b8b1cf532d0e46ba8d44a40d1de16772"
|
|
112
112
|
* }
|
|
113
113
|
* ]
|
|
114
114
|
* }
|
|
@@ -85,8 +85,8 @@ export interface ListContainerInstancesCommandOutput extends ListContainerInstan
|
|
|
85
85
|
* /* response ==
|
|
86
86
|
* {
|
|
87
87
|
* "containerInstanceArns": [
|
|
88
|
-
* "arn:aws:ecs:us-east-1:<aws_account_id>:container-instance/f6bbb147-5370-4ace-8c73-c7181ded911f",
|
|
89
|
-
* "arn:aws:ecs:us-east-1:<aws_account_id>:container-instance/ffe3d344-77e2-476c-a4d0-bf560ad50acb"
|
|
88
|
+
* "arn:aws:ecs:us-east-1:<aws_account_id>:container-instance/default/f6bbb147-5370-4ace-8c73-c7181ded911f",
|
|
89
|
+
* "arn:aws:ecs:us-east-1:<aws_account_id>:container-instance/default/ffe3d344-77e2-476c-a4d0-bf560ad50acb"
|
|
90
90
|
* ]
|
|
91
91
|
* }
|
|
92
92
|
* *\/
|
|
@@ -82,7 +82,7 @@ export interface ListServicesCommandOutput extends ListServicesResponse, __Metad
|
|
|
82
82
|
* /* response ==
|
|
83
83
|
* {
|
|
84
84
|
* "serviceArns": [
|
|
85
|
-
* "arn:aws:ecs:us-east-1:012345678910:service/my-http-service"
|
|
85
|
+
* "arn:aws:ecs:us-east-1:012345678910:service/default/my-http-service"
|
|
86
86
|
* ]
|
|
87
87
|
* }
|
|
88
88
|
* *\/
|
|
@@ -94,8 +94,8 @@ export interface ListTasksCommandOutput extends ListTasksResponse, __MetadataBea
|
|
|
94
94
|
* /* response ==
|
|
95
95
|
* {
|
|
96
96
|
* "taskArns": [
|
|
97
|
-
* "arn:aws:ecs:us-east-1:012345678910:task/0cc43cdb-3bee-4407-9c26-c0e6ea5bee84",
|
|
98
|
-
* "arn:aws:ecs:us-east-1:012345678910:task/6b809ef6-c67e-4467-921f-ee261c15a0a1"
|
|
97
|
+
* "arn:aws:ecs:us-east-1:012345678910:task/default/0cc43cdb-3bee-4407-9c26-c0e6ea5bee84",
|
|
98
|
+
* "arn:aws:ecs:us-east-1:012345678910:task/default/6b809ef6-c67e-4467-921f-ee261c15a0a1"
|
|
99
99
|
* ]
|
|
100
100
|
* }
|
|
101
101
|
* *\/
|
|
@@ -114,7 +114,7 @@ export interface ListTasksCommandOutput extends ListTasksResponse, __MetadataBea
|
|
|
114
114
|
* /* response ==
|
|
115
115
|
* {
|
|
116
116
|
* "taskArns": [
|
|
117
|
-
* "arn:aws:ecs:us-east-1:012345678910:task/0cc43cdb-3bee-4407-9c26-c0e6ea5bee84"
|
|
117
|
+
* "arn:aws:ecs:us-east-1:012345678910:task/default/0cc43cdb-3bee-4407-9c26-c0e6ea5bee84"
|
|
118
118
|
* ]
|
|
119
119
|
* }
|
|
120
120
|
* *\/
|
|
@@ -379,13 +379,13 @@ export interface RunTaskCommandOutput extends RunTaskResponse, __MetadataBearer
|
|
|
379
379
|
* {
|
|
380
380
|
* "tasks": [
|
|
381
381
|
* {
|
|
382
|
-
* "containerInstanceArn": "arn:aws:ecs:us-east-1:<aws_account_id>:container-instance/ffe3d344-77e2-476c-a4d0-bf560ad50acb",
|
|
382
|
+
* "containerInstanceArn": "arn:aws:ecs:us-east-1:<aws_account_id>:container-instance/default/ffe3d344-77e2-476c-a4d0-bf560ad50acb",
|
|
383
383
|
* "containers": [
|
|
384
384
|
* {
|
|
385
385
|
* "name": "sleep",
|
|
386
|
-
* "containerArn": "arn:aws:ecs:us-east-1:<aws_account_id>:container/58591c8e-be29-4ddf-95aa-ee459d4c59fd",
|
|
386
|
+
* "containerArn": "arn:aws:ecs:us-east-1:<aws_account_id>:container/default/58591c8e-be29-4ddf-95aa-ee459d4c59fd",
|
|
387
387
|
* "lastStatus": "PENDING",
|
|
388
|
-
* "taskArn": "arn:aws:ecs:us-east-1:<aws_account_id>:task/a9f21ea7-c9f5-44b1-b8e6-b31f50ed33c0"
|
|
388
|
+
* "taskArn": "arn:aws:ecs:us-east-1:<aws_account_id>:task/default/a9f21ea7-c9f5-44b1-b8e6-b31f50ed33c0"
|
|
389
389
|
* }
|
|
390
390
|
* ],
|
|
391
391
|
* "desiredStatus": "RUNNING",
|
|
@@ -397,7 +397,7 @@ export interface RunTaskCommandOutput extends RunTaskResponse, __MetadataBearer
|
|
|
397
397
|
* }
|
|
398
398
|
* ]
|
|
399
399
|
* },
|
|
400
|
-
* "taskArn": "arn:aws:ecs:us-east-1:<aws_account_id>:task/a9f21ea7-c9f5-44b1-b8e6-b31f50ed33c0",
|
|
400
|
+
* "taskArn": "arn:aws:ecs:us-east-1:<aws_account_id>:task/default/a9f21ea7-c9f5-44b1-b8e6-b31f50ed33c0",
|
|
401
401
|
* "taskDefinitionArn": "arn:aws:ecs:us-east-1:<aws_account_id>:task-definition/sleep360:1"
|
|
402
402
|
* }
|
|
403
403
|
* ]
|
|
@@ -138,7 +138,7 @@ export interface UpdateTaskProtectionCommandOutput extends UpdateTaskProtectionR
|
|
|
138
138
|
* {
|
|
139
139
|
* "expirationDate": "2022-11-02T06:56:32.553Z",
|
|
140
140
|
* "protectionEnabled": true,
|
|
141
|
-
* "taskArn": "arn:aws:ecs:us-west-2:012345678910:task/b8b1cf532d0e46ba8d44a40d1de16772"
|
|
141
|
+
* "taskArn": "arn:aws:ecs:us-west-2:012345678910:task/default/b8b1cf532d0e46ba8d44a40d1de16772"
|
|
142
142
|
* }
|
|
143
143
|
* ]
|
|
144
144
|
* }
|
|
@@ -165,7 +165,7 @@ export interface UpdateTaskProtectionCommandOutput extends UpdateTaskProtectionR
|
|
|
165
165
|
* {
|
|
166
166
|
* "expirationDate": "2022-11-02T06:56:32.553Z",
|
|
167
167
|
* "protectionEnabled": true,
|
|
168
|
-
* "taskArn": "arn:aws:ecs:us-west-2:012345678910:task/b8b1cf532d0e46ba8d44a40d1de16772"
|
|
168
|
+
* "taskArn": "arn:aws:ecs:us-west-2:012345678910:task/default/b8b1cf532d0e46ba8d44a40d1de16772"
|
|
169
169
|
* }
|
|
170
170
|
* ]
|
|
171
171
|
* }
|
|
@@ -191,7 +191,7 @@ export interface UpdateTaskProtectionCommandOutput extends UpdateTaskProtectionR
|
|
|
191
191
|
* "protectedTasks": [
|
|
192
192
|
* {
|
|
193
193
|
* "protectionEnabled": false,
|
|
194
|
-
* "taskArn": "arn:aws:ecs:us-west-2:012345678910:task/b8b1cf532d0e46ba8d44a40d1de16772"
|
|
194
|
+
* "taskArn": "arn:aws:ecs:us-west-2:012345678910:task/default/b8b1cf532d0e46ba8d44a40d1de16772"
|
|
195
195
|
* }
|
|
196
196
|
* ]
|
|
197
197
|
* }
|
|
@@ -637,7 +637,7 @@ export interface ClusterServiceConnectDefaultsRequest {
|
|
|
637
637
|
* Cloud Map namespace with the "API calls" method of instance discovery only. This instance
|
|
638
638
|
* discovery method is the "HTTP" namespace type in the Command Line Interface. Other types of instance
|
|
639
639
|
* discovery aren't used by Service Connect.</p>
|
|
640
|
-
* <p>If you update the
|
|
640
|
+
* <p>If you update the cluster with an empty string <code>""</code> for the namespace name,
|
|
641
641
|
* the cluster configuration for Service Connect is removed. Note that the namespace will
|
|
642
642
|
* remain in Cloud Map and must be deleted separately.</p>
|
|
643
643
|
* <p>For more information about Cloud Map, see <a href="https://docs.aws.amazon.com/cloud-map/latest/dg/working-with-services.html">Working
|
|
@@ -3609,13 +3609,11 @@ export declare const EnvironmentFileType: {
|
|
|
3609
3609
|
export type EnvironmentFileType = (typeof EnvironmentFileType)[keyof typeof EnvironmentFileType];
|
|
3610
3610
|
/**
|
|
3611
3611
|
* @public
|
|
3612
|
-
* <p>A list of files containing the environment variables to pass to a container. You can
|
|
3613
|
-
*
|
|
3614
|
-
*
|
|
3612
|
+
* <p>A list of files containing the environment variables to pass to a container. You can specify
|
|
3613
|
+
* up to ten environment files. The file must have a <code>.env</code> file extension. Each
|
|
3614
|
+
* line in an environment file should contain an environment variable in
|
|
3615
3615
|
* <code>VARIABLE=VALUE</code> format. Lines beginning with <code>#</code> are treated
|
|
3616
|
-
* as comments and are ignored
|
|
3617
|
-
* syntax, see <a href="https://docs.docker.com/compose/env-file/">Declare default
|
|
3618
|
-
* environment variables in file</a>.</p>
|
|
3616
|
+
* as comments and are ignored.</p>
|
|
3619
3617
|
* <p>If there are environment variables specified using the <code>environment</code>
|
|
3620
3618
|
* parameter in a container definition, they take precedence over the variables contained
|
|
3621
3619
|
* within an environment file. If multiple environment files are specified that contain the
|
|
@@ -3631,6 +3629,18 @@ export type EnvironmentFileType = (typeof EnvironmentFileType)[keyof typeof Envi
|
|
|
3631
3629
|
* <p>Windows platform version <code>1.0.0</code> or later.</p>
|
|
3632
3630
|
* </li>
|
|
3633
3631
|
* </ul>
|
|
3632
|
+
* <p>Consider the following when using the Fargate launch type:</p>
|
|
3633
|
+
* <ul>
|
|
3634
|
+
* <li>
|
|
3635
|
+
* <p>The file is handled like a native Docker env-file.</p>
|
|
3636
|
+
* </li>
|
|
3637
|
+
* <li>
|
|
3638
|
+
* <p>There is no support for shell escape handling.</p>
|
|
3639
|
+
* </li>
|
|
3640
|
+
* <li>
|
|
3641
|
+
* <p>The container entry point interperts the <code>VARIABLE</code> values.</p>
|
|
3642
|
+
* </li>
|
|
3643
|
+
* </ul>
|
|
3634
3644
|
*/
|
|
3635
3645
|
export interface EnvironmentFile {
|
|
3636
3646
|
/**
|
|
@@ -3719,8 +3729,8 @@ export interface FirelensConfiguration {
|
|
|
3719
3729
|
* </note>
|
|
3720
3730
|
* <p>You can view the health status of both individual containers and a task with the
|
|
3721
3731
|
* DescribeTasks API operation or when viewing the task details in the console.</p>
|
|
3722
|
-
* <p>The health check is designed to make sure that your containers survive
|
|
3723
|
-
*
|
|
3732
|
+
* <p>The health check is designed to make sure that your containers survive agent restarts,
|
|
3733
|
+
* upgrades, or temporary unavailability.</p>
|
|
3724
3734
|
* <p>The following describes the possible <code>healthStatus</code> values for a
|
|
3725
3735
|
* container:</p>
|
|
3726
3736
|
* <ul>
|
|
@@ -3735,30 +3745,78 @@ export interface FirelensConfiguration {
|
|
|
3735
3745
|
* </li>
|
|
3736
3746
|
* <li>
|
|
3737
3747
|
* <p>
|
|
3738
|
-
* <code>UNKNOWN</code>-The container health check is being evaluated
|
|
3739
|
-
* there's no container health check defined
|
|
3748
|
+
* <code>UNKNOWN</code>-The container health check is being evaluated,
|
|
3749
|
+
* there's no container health check defined, or Amazon ECS doesn't have the health
|
|
3750
|
+
* status of the container.</p>
|
|
3740
3751
|
* </li>
|
|
3741
3752
|
* </ul>
|
|
3742
|
-
* <p>The following describes the possible <code>healthStatus</code> values
|
|
3743
|
-
* container health
|
|
3744
|
-
*
|
|
3753
|
+
* <p>The following describes the possible <code>healthStatus</code> values based on the
|
|
3754
|
+
* container health checker status of essential containers in the task with the following
|
|
3755
|
+
* priority order (high to low):</p>
|
|
3745
3756
|
* <ul>
|
|
3746
3757
|
* <li>
|
|
3747
3758
|
* <p>
|
|
3748
|
-
* <code>
|
|
3749
|
-
*
|
|
3759
|
+
* <code>UNHEALTHY</code>-One or more essential containers have failed
|
|
3760
|
+
* their health check.</p>
|
|
3750
3761
|
* </li>
|
|
3751
3762
|
* <li>
|
|
3752
3763
|
* <p>
|
|
3753
|
-
* <code>
|
|
3754
|
-
*
|
|
3764
|
+
* <code>UNKNOWN</code>-Any essential container running within the task is
|
|
3765
|
+
* in an <code>UNKNOWN</code> state and no other essential containers have an
|
|
3766
|
+
* <code>UNHEALTHY</code> state.</p>
|
|
3755
3767
|
* </li>
|
|
3756
3768
|
* <li>
|
|
3757
3769
|
* <p>
|
|
3758
|
-
* <code>
|
|
3759
|
-
*
|
|
3760
|
-
*
|
|
3761
|
-
*
|
|
3770
|
+
* <code>HEALTHY</code>-All essential containers within the task have
|
|
3771
|
+
* passed their health checks.</p>
|
|
3772
|
+
* </li>
|
|
3773
|
+
* </ul>
|
|
3774
|
+
* <p>Consider the following task health example with 2 containers.</p>
|
|
3775
|
+
* <ul>
|
|
3776
|
+
* <li>
|
|
3777
|
+
* <p>If Container1 is <code>UNHEALTHY</code> and Container2 is
|
|
3778
|
+
* <code>UNKNOWN</code>, the task health is <code>UNHEALTHY</code>.</p>
|
|
3779
|
+
* </li>
|
|
3780
|
+
* <li>
|
|
3781
|
+
* <p>If Container1 is <code>UNHEALTHY</code> and Container2 is
|
|
3782
|
+
* <code>HEALTHY</code>, the task health is <code>UNHEALTHY</code>.</p>
|
|
3783
|
+
* </li>
|
|
3784
|
+
* <li>
|
|
3785
|
+
* <p>If Container1 is <code>HEALTHY</code> and Container2 is <code>UNKNOWN</code>,
|
|
3786
|
+
* the task health is <code>UNKNOWN</code>.</p>
|
|
3787
|
+
* </li>
|
|
3788
|
+
* <li>
|
|
3789
|
+
* <p>If Container1 is <code>HEALTHY</code> and Container2 is <code>HEALTHY</code>,
|
|
3790
|
+
* the task health is <code>HEALTHY</code>.</p>
|
|
3791
|
+
* </li>
|
|
3792
|
+
* </ul>
|
|
3793
|
+
* <p>Consider the following task health example with 3 containers.</p>
|
|
3794
|
+
* <ul>
|
|
3795
|
+
* <li>
|
|
3796
|
+
* <p>If Container1 is <code>UNHEALTHY</code> and Container2 is <code>UNKNOWN</code>, and Container3
|
|
3797
|
+
* is <code>UNKNOWN</code>, the task health is <code>UNHEALTHY</code>.</p>
|
|
3798
|
+
* </li>
|
|
3799
|
+
* <li>
|
|
3800
|
+
* <p>If Container1 is <code>UNHEALTHY</code> and Container2 is <code>UNKNOWN</code>, and Container3
|
|
3801
|
+
* is <code>HEALTHY</code>, the task health is <code>UNHEALTHY</code>.</p>
|
|
3802
|
+
* </li>
|
|
3803
|
+
* <li>
|
|
3804
|
+
* <p>If Container1 is <code>UNHEALTHY</code> and Container2 is <code>HEALTHY</code>, and Container3
|
|
3805
|
+
* is <code>HEALTHY</code>, the task health is <code>UNHEALTHY</code>.</p>
|
|
3806
|
+
* </li>
|
|
3807
|
+
* <li>
|
|
3808
|
+
* <p>If Container1 is <code>HEALTHY</code> and Container2 is <code>UNKNOWN</code>, and Container3
|
|
3809
|
+
* is <code>HEALTHY</code>, the task health is <code>UNKNOWN</code>.</p>
|
|
3810
|
+
* </li>
|
|
3811
|
+
* <li>
|
|
3812
|
+
* <p>If Container1 is <code>HEALTHY</code> and Container2 is <code>UNKNOWN</code>,
|
|
3813
|
+
* and Container3 is <code>UNKNOWN</code>, the task health is
|
|
3814
|
+
* <code>UNKNOWN</code>.</p>
|
|
3815
|
+
* </li>
|
|
3816
|
+
* <li>
|
|
3817
|
+
* <p>If Container1 is <code>HEALTHY</code> and Container2 is <code>HEALTHY</code>,
|
|
3818
|
+
* and Container3 is <code>HEALTHY</code>, the task health is
|
|
3819
|
+
* <code>HEALTHY</code>.</p>
|
|
3762
3820
|
* </li>
|
|
3763
3821
|
* </ul>
|
|
3764
3822
|
* <p>If a task is run manually, and not as part of a service, the task will continue its
|
|
@@ -3768,12 +3826,13 @@ export interface FirelensConfiguration {
|
|
|
3768
3826
|
* <p>The following are notes about container health check support:</p>
|
|
3769
3827
|
* <ul>
|
|
3770
3828
|
* <li>
|
|
3771
|
-
* <p>When the Amazon ECS agent cannot connect to the Amazon ECS service,
|
|
3772
|
-
*
|
|
3829
|
+
* <p>When the Amazon ECS agent cannot connect to the Amazon ECS service, the service reports
|
|
3830
|
+
* the container as <code>UNHEALTHY</code>. </p>
|
|
3773
3831
|
* </li>
|
|
3774
3832
|
* <li>
|
|
3775
|
-
* <p>The health check statuses are the "last heard from" response from the Amazon ECS
|
|
3776
|
-
* are no assumptions made about the status of the container health
|
|
3833
|
+
* <p>The health check statuses are the "last heard from" response from the Amazon ECS
|
|
3834
|
+
* agent. There are no assumptions made about the status of the container health
|
|
3835
|
+
* checks.</p>
|
|
3777
3836
|
* </li>
|
|
3778
3837
|
* <li>
|
|
3779
3838
|
* <p>Container health checks require version 1.17.0 or greater of the Amazon ECS
|
|
@@ -4243,8 +4302,8 @@ export interface PortMapping {
|
|
|
4243
4302
|
* <ul>
|
|
4244
4303
|
* <li>
|
|
4245
4304
|
* <p>For containers in a task with the <code>awsvpc</code> network mode,
|
|
4246
|
-
* the <code>
|
|
4247
|
-
* <code>
|
|
4305
|
+
* the <code>hostPortRange</code> is set to the same value as the
|
|
4306
|
+
* <code>containerPortRange</code>. This is a static mapping
|
|
4248
4307
|
* strategy.</p>
|
|
4249
4308
|
* </li>
|
|
4250
4309
|
* <li>
|
|
@@ -6989,8 +7048,8 @@ export interface NetworkBinding {
|
|
|
6989
7048
|
* <ul>
|
|
6990
7049
|
* <li>
|
|
6991
7050
|
* <p>For containers in a task with the <code>awsvpc</code> network mode,
|
|
6992
|
-
* the <code>
|
|
6993
|
-
* <code>
|
|
7051
|
+
* the <code>hostPortRange</code> is set to the same value as the
|
|
7052
|
+
* <code>containerPortRange</code>. This is a static mapping
|
|
6994
7053
|
* strategy.</p>
|
|
6995
7054
|
* </li>
|
|
6996
7055
|
* <li>
|
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.431.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,28 +21,28 @@
|
|
|
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/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.431.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.431.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.431.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.428.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.428.0",
|
|
29
29
|
"@aws-sdk/middleware-signing": "3.428.0",
|
|
30
30
|
"@aws-sdk/middleware-user-agent": "3.428.0",
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.430.0",
|
|
32
32
|
"@aws-sdk/types": "3.428.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.428.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.428.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^2.0.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.430.0",
|
|
36
|
+
"@smithy/config-resolver": "^2.0.15",
|
|
37
37
|
"@smithy/fetch-http-handler": "^2.2.3",
|
|
38
38
|
"@smithy/hash-node": "^2.0.11",
|
|
39
39
|
"@smithy/invalid-dependency": "^2.0.11",
|
|
40
40
|
"@smithy/middleware-content-length": "^2.0.13",
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.1.
|
|
42
|
-
"@smithy/middleware-retry": "^2.0.
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.1.2",
|
|
42
|
+
"@smithy/middleware-retry": "^2.0.17",
|
|
43
43
|
"@smithy/middleware-serde": "^2.0.11",
|
|
44
44
|
"@smithy/middleware-stack": "^2.0.5",
|
|
45
|
-
"@smithy/node-config-provider": "^2.1.
|
|
45
|
+
"@smithy/node-config-provider": "^2.1.2",
|
|
46
46
|
"@smithy/node-http-handler": "^2.1.7",
|
|
47
47
|
"@smithy/protocol-http": "^3.0.7",
|
|
48
48
|
"@smithy/smithy-client": "^2.1.11",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
54
54
|
"@smithy/util-defaults-mode-browser": "^2.0.15",
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.0.20",
|
|
56
56
|
"@smithy/util-retry": "^2.0.4",
|
|
57
57
|
"@smithy/util-utf8": "^2.0.0",
|
|
58
58
|
"@smithy/util-waiter": "^2.0.11",
|