@aws-sdk/client-ecs 3.651.1 → 3.653.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-types/models/models_0.d.ts +60 -55
- package/package.json +1 -1
|
@@ -1265,11 +1265,16 @@ export interface DeploymentConfiguration {
|
|
|
1265
1265
|
* to do this are available). The default <code>maximumPercent</code> value for a service
|
|
1266
1266
|
* using the <code>REPLICA</code> service scheduler is 200%.</p>
|
|
1267
1267
|
* <p>If a service is using either the blue/green (<code>CODE_DEPLOY</code>) or
|
|
1268
|
-
* <code>EXTERNAL</code> deployment types and tasks
|
|
1268
|
+
* <code>EXTERNAL</code> deployment types, and tasks in the service use the EC2
|
|
1269
1269
|
* launch type, the <b>maximum percent</b> value is set to the
|
|
1270
|
-
* default value
|
|
1270
|
+
* default value. The <b>maximum percent</b> value is used to define the upper limit on the number of the tasks in the
|
|
1271
1271
|
* service that remain in the <code>RUNNING</code> state while the container instances are
|
|
1272
|
-
* in the <code>DRAINING</code> state
|
|
1272
|
+
* in the <code>DRAINING</code> state.</p>
|
|
1273
|
+
* <note>
|
|
1274
|
+
* <p>You can't specify a custom <code>maximumPercent</code> value for a service that uses either the blue/green (<code>CODE_DEPLOY</code>) or
|
|
1275
|
+
* <code>EXTERNAL</code> deployment types and has tasks that use the EC2 launch type.</p>
|
|
1276
|
+
* </note>
|
|
1277
|
+
* <p>If the tasks in the service use the
|
|
1273
1278
|
* Fargate launch type, the maximum percent value is not used, although it is
|
|
1274
1279
|
* returned when describing your service.</p>
|
|
1275
1280
|
* @public
|
|
@@ -1332,9 +1337,14 @@ export interface DeploymentConfiguration {
|
|
|
1332
1337
|
* <p>If a service is using either the blue/green (<code>CODE_DEPLOY</code>) or
|
|
1333
1338
|
* <code>EXTERNAL</code> deployment types and is running tasks that use the
|
|
1334
1339
|
* EC2 launch type, the <b>minimum healthy
|
|
1335
|
-
* percent</b> value is set to the default value
|
|
1340
|
+
* percent</b> value is set to the default value. The <b>minimum healthy percent</b> value is used to define the lower
|
|
1336
1341
|
* limit on the number of the tasks in the service that remain in the <code>RUNNING</code>
|
|
1337
|
-
* state while the container instances are in the <code>DRAINING</code> state
|
|
1342
|
+
* state while the container instances are in the <code>DRAINING</code> state.</p>
|
|
1343
|
+
* <note>
|
|
1344
|
+
* <p>You can't specify a custom <code>minimumHealthyPercent</code> value for a service that uses either the blue/green (<code>CODE_DEPLOY</code>) or
|
|
1345
|
+
* <code>EXTERNAL</code> deployment types and has tasks that use the EC2 launch type.</p>
|
|
1346
|
+
* </note>
|
|
1347
|
+
* <p>If a service
|
|
1338
1348
|
* is using either the blue/green (<code>CODE_DEPLOY</code>) or <code>EXTERNAL</code>
|
|
1339
1349
|
* deployment types and is running tasks that use the Fargate launch type,
|
|
1340
1350
|
* the minimum healthy percent value is not used, although it is returned when describing
|
|
@@ -1692,7 +1702,7 @@ export interface Secret {
|
|
|
1692
1702
|
}
|
|
1693
1703
|
/**
|
|
1694
1704
|
* <p>The log configuration for the container. This parameter maps to <code>LogConfig</code>
|
|
1695
|
-
* in the docker
|
|
1705
|
+
* in the docker container create command and the
|
|
1696
1706
|
* <code>--log-driver</code> option to docker
|
|
1697
1707
|
* run.</p>
|
|
1698
1708
|
* <p>By default, containers use the same logging driver that the Docker daemon uses.
|
|
@@ -1967,7 +1977,7 @@ export interface ServiceConnectConfiguration {
|
|
|
1967
1977
|
services?: ServiceConnectService[];
|
|
1968
1978
|
/**
|
|
1969
1979
|
* <p>The log configuration for the container. This parameter maps to <code>LogConfig</code>
|
|
1970
|
-
* in the docker
|
|
1980
|
+
* in the docker container create command and the
|
|
1971
1981
|
* <code>--log-driver</code> option to docker
|
|
1972
1982
|
* run.</p>
|
|
1973
1983
|
* <p>By default, containers use the same logging driver that the Docker daemon uses.
|
|
@@ -4320,7 +4330,7 @@ export interface HealthCheck {
|
|
|
4320
4330
|
* <code> CMD-SHELL, curl -f http://localhost/ || exit 1</code>
|
|
4321
4331
|
* </p>
|
|
4322
4332
|
* <p>An exit code of 0 indicates success, and non-zero exit code indicates failure. For
|
|
4323
|
-
* more information, see <code>HealthCheck</code> in
|
|
4333
|
+
* more information, see <code>HealthCheck</code> in the docker container create command</p>
|
|
4324
4334
|
* @public
|
|
4325
4335
|
*/
|
|
4326
4336
|
command: string[] | undefined;
|
|
@@ -4364,7 +4374,7 @@ export interface HealthCheck {
|
|
|
4364
4374
|
export interface KernelCapabilities {
|
|
4365
4375
|
/**
|
|
4366
4376
|
* <p>The Linux capabilities for the container that have been added to the default
|
|
4367
|
-
* configuration provided by Docker. This parameter maps to <code>CapAdd</code> in the docker
|
|
4377
|
+
* configuration provided by Docker. This parameter maps to <code>CapAdd</code> in the docker container create command and the
|
|
4368
4378
|
* <code>--cap-add</code> option to docker
|
|
4369
4379
|
* run.</p>
|
|
4370
4380
|
* <note>
|
|
@@ -4385,7 +4395,7 @@ export interface KernelCapabilities {
|
|
|
4385
4395
|
add?: string[];
|
|
4386
4396
|
/**
|
|
4387
4397
|
* <p>The Linux capabilities for the container that have been removed from the default
|
|
4388
|
-
* configuration provided by Docker. This parameter maps to <code>CapDrop</code> in the docker
|
|
4398
|
+
* configuration provided by Docker. This parameter maps to <code>CapDrop</code> in the docker container create command and the
|
|
4389
4399
|
* <code>--cap-drop</code> option to docker
|
|
4390
4400
|
* run.</p>
|
|
4391
4401
|
* <p>Valid values: <code>"ALL" | "AUDIT_CONTROL" | "AUDIT_WRITE" | "BLOCK_SUSPEND" |
|
|
@@ -4484,7 +4494,7 @@ export interface LinuxParameters {
|
|
|
4484
4494
|
capabilities?: KernelCapabilities;
|
|
4485
4495
|
/**
|
|
4486
4496
|
* <p>Any host devices to expose to the container. This parameter maps to
|
|
4487
|
-
* <code>Devices</code> in
|
|
4497
|
+
* <code>Devices</code> in the docker container create command and the <code>--device</code> option to docker run.</p>
|
|
4488
4498
|
* <note>
|
|
4489
4499
|
* <p>If you're using tasks that use the Fargate launch type, the
|
|
4490
4500
|
* <code>devices</code> parameter isn't supported.</p>
|
|
@@ -4616,7 +4626,7 @@ export type TransportProtocol = (typeof TransportProtocol)[keyof typeof Transpor
|
|
|
4616
4626
|
* <code>hostPort</code> can be left blank or it must be the same value as the
|
|
4617
4627
|
* <code>containerPort</code>.</p>
|
|
4618
4628
|
* <p>Most fields of this parameter (<code>containerPort</code>, <code>hostPort</code>,
|
|
4619
|
-
* <code>protocol</code>) maps to <code>PortBindings</code> in the docker
|
|
4629
|
+
* <code>protocol</code>) maps to <code>PortBindings</code> in the docker container create command and the
|
|
4620
4630
|
* <code>--publish</code> option to <code>docker
|
|
4621
4631
|
* run</code>. If the network mode of a task definition is set to
|
|
4622
4632
|
* <code>host</code>, host ports must either be undefined or match the container port
|
|
@@ -4876,7 +4886,7 @@ export interface ContainerRestartPolicy {
|
|
|
4876
4886
|
}
|
|
4877
4887
|
/**
|
|
4878
4888
|
* <p>A list of namespaced kernel parameters to set in the container. This parameter maps to
|
|
4879
|
-
* <code>Sysctls</code> in
|
|
4889
|
+
* <code>Sysctls</code> in the docker container create command and the <code>--sysctl</code> option to docker run. For example, you can configure
|
|
4880
4890
|
* <code>net.ipv4.tcp_keepalive_time</code> setting to maintain longer lived
|
|
4881
4891
|
* connections.</p>
|
|
4882
4892
|
* <p>We don't recommend that you specify network-related <code>systemControls</code>
|
|
@@ -4986,12 +4996,12 @@ export interface Ulimit {
|
|
|
4986
4996
|
*/
|
|
4987
4997
|
name: UlimitName | undefined;
|
|
4988
4998
|
/**
|
|
4989
|
-
* <p>The soft limit for the <code>ulimit</code> type
|
|
4999
|
+
* <p>The soft limit for the <code>ulimit</code> type. The value can be specified in bytes, seconds, or as a count, depending on the <code>type</code> of the <code>ulimit</code>.</p>
|
|
4990
5000
|
* @public
|
|
4991
5001
|
*/
|
|
4992
5002
|
softLimit: number | undefined;
|
|
4993
5003
|
/**
|
|
4994
|
-
* <p>The hard limit for the <code>ulimit</code> type
|
|
5004
|
+
* <p>The hard limit for the <code>ulimit</code> type. The value can be specified in bytes, seconds, or as a count, depending on the <code>type</code> of the <code>ulimit</code>.</p>
|
|
4995
5005
|
* @public
|
|
4996
5006
|
*/
|
|
4997
5007
|
hardLimit: number | undefined;
|
|
@@ -5025,7 +5035,7 @@ export interface ContainerDefinition {
|
|
|
5025
5035
|
* <p>The name of a container. If you're linking multiple containers together in a task
|
|
5026
5036
|
* definition, the <code>name</code> of one container can be entered in the
|
|
5027
5037
|
* <code>links</code> of another container to connect the containers.
|
|
5028
|
-
* Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed. This parameter maps to <code>name</code> in
|
|
5038
|
+
* Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed. This parameter maps to <code>name</code> in the docker container create command and the
|
|
5029
5039
|
* <code>--name</code> option to docker
|
|
5030
5040
|
* run. </p>
|
|
5031
5041
|
* @public
|
|
@@ -5038,7 +5048,7 @@ export interface ContainerDefinition {
|
|
|
5038
5048
|
* <i>repository-url</i>/<i>image</i>:<i>tag</i>
|
|
5039
5049
|
* </code> or <code>
|
|
5040
5050
|
* <i>repository-url</i>/<i>image</i>@<i>digest</i>
|
|
5041
|
-
* </code>. Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps to <code>Image</code> in the docker
|
|
5051
|
+
* </code>. Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps to <code>Image</code> in the docker container create command and the
|
|
5042
5052
|
* <code>IMAGE</code> parameter of docker
|
|
5043
5053
|
* run.</p>
|
|
5044
5054
|
* <ul>
|
|
@@ -5079,7 +5089,7 @@ export interface ContainerDefinition {
|
|
|
5079
5089
|
repositoryCredentials?: RepositoryCredentials;
|
|
5080
5090
|
/**
|
|
5081
5091
|
* <p>The number of <code>cpu</code> units reserved for the container. This parameter maps
|
|
5082
|
-
* to <code>CpuShares</code> in the docker
|
|
5092
|
+
* to <code>CpuShares</code> in the docker container create commandand the <code>--cpu-shares</code> option to docker run.</p>
|
|
5083
5093
|
* <p>This field is optional for tasks using the Fargate launch type, and the
|
|
5084
5094
|
* only requirement is that the total amount of CPU reserved for all containers within a
|
|
5085
5095
|
* task be lower than the task-level <code>cpu</code> value.</p>
|
|
@@ -5136,7 +5146,7 @@ export interface ContainerDefinition {
|
|
|
5136
5146
|
* to exceed the memory specified here, the container is killed. The total amount of memory
|
|
5137
5147
|
* reserved for all containers within a task must be lower than the task
|
|
5138
5148
|
* <code>memory</code> value, if one is specified. This parameter maps to
|
|
5139
|
-
* <code>Memory</code> in
|
|
5149
|
+
* <code>Memory</code> in the docker container create command and the <code>--memory</code> option to docker run.</p>
|
|
5140
5150
|
* <p>If using the Fargate launch type, this parameter is optional.</p>
|
|
5141
5151
|
* <p>If using the EC2 launch type, you must specify either a task-level
|
|
5142
5152
|
* memory value or a container-level memory value. If you specify both a container-level
|
|
@@ -5158,7 +5168,7 @@ export interface ContainerDefinition {
|
|
|
5158
5168
|
* However, your container can consume more memory when it needs to, up to either the hard
|
|
5159
5169
|
* limit specified with the <code>memory</code> parameter (if applicable), or all of the
|
|
5160
5170
|
* available memory on the container instance, whichever comes first. This parameter maps
|
|
5161
|
-
* to <code>MemoryReservation</code> in the
|
|
5171
|
+
* to <code>MemoryReservation</code> in the docker container create command and the <code>--memory-reservation</code> option to docker run.</p>
|
|
5162
5172
|
* <p>If a task-level memory value is not specified, you must specify a non-zero integer for
|
|
5163
5173
|
* one or both of <code>memory</code> or <code>memoryReservation</code> in a container
|
|
5164
5174
|
* definition. If you specify both, <code>memory</code> must be greater than
|
|
@@ -5184,7 +5194,7 @@ export interface ContainerDefinition {
|
|
|
5184
5194
|
* without the need for port mappings. This parameter is only supported if the network mode
|
|
5185
5195
|
* of a task definition is <code>bridge</code>. The <code>name:internalName</code>
|
|
5186
5196
|
* construct is analogous to <code>name:alias</code> in Docker links.
|
|
5187
|
-
* Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed.. This parameter maps to <code>Links</code> in the docker
|
|
5197
|
+
* Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed.. This parameter maps to <code>Links</code> in the docker container create command and the
|
|
5188
5198
|
* <code>--link</code> option to docker
|
|
5189
5199
|
* run.</p>
|
|
5190
5200
|
* <note>
|
|
@@ -5209,7 +5219,7 @@ export interface ContainerDefinition {
|
|
|
5209
5219
|
* <code>localhost</code>. There's no loopback for port mappings on Windows, so you
|
|
5210
5220
|
* can't access a container's mapped port from the host itself. </p>
|
|
5211
5221
|
* <p>This parameter maps to <code>PortBindings</code> in the
|
|
5212
|
-
* the docker
|
|
5222
|
+
* the docker container create command and the
|
|
5213
5223
|
* <code>--publish</code> option to docker
|
|
5214
5224
|
* run. If the network mode of a task definition is set to <code>none</code>,
|
|
5215
5225
|
* then you can't specify port mappings. If the network mode of a task definition is set to
|
|
@@ -5254,13 +5264,13 @@ export interface ContainerDefinition {
|
|
|
5254
5264
|
* arguments as <code>command</code> array items instead.</p>
|
|
5255
5265
|
* </important>
|
|
5256
5266
|
* <p>The entry point that's passed to the container. This parameter maps to
|
|
5257
|
-
* <code>Entrypoint</code> in
|
|
5267
|
+
* <code>Entrypoint</code> in the docker container create command and the <code>--entrypoint</code> option to docker run.</p>
|
|
5258
5268
|
* @public
|
|
5259
5269
|
*/
|
|
5260
5270
|
entryPoint?: string[];
|
|
5261
5271
|
/**
|
|
5262
5272
|
* <p>The command that's passed to the container. This parameter maps to <code>Cmd</code> in
|
|
5263
|
-
* the docker
|
|
5273
|
+
* the docker container create command and the
|
|
5264
5274
|
* <code>COMMAND</code> parameter to docker
|
|
5265
5275
|
* run. If there are multiple arguments, each
|
|
5266
5276
|
* argument is a separated string in the array.</p>
|
|
@@ -5269,7 +5279,7 @@ export interface ContainerDefinition {
|
|
|
5269
5279
|
command?: string[];
|
|
5270
5280
|
/**
|
|
5271
5281
|
* <p>The environment variables to pass to a container. This parameter maps to
|
|
5272
|
-
* <code>Env</code> in the docker
|
|
5282
|
+
* <code>Env</code> in the docker container create command and the <code>--env</code> option to docker run.</p>
|
|
5273
5283
|
* <important>
|
|
5274
5284
|
* <p>We don't recommend that you use plaintext environment variables for sensitive
|
|
5275
5285
|
* information, such as credential data.</p>
|
|
@@ -5295,7 +5305,7 @@ export interface ContainerDefinition {
|
|
|
5295
5305
|
environmentFiles?: EnvironmentFile[];
|
|
5296
5306
|
/**
|
|
5297
5307
|
* <p>The mount points for data volumes in your container.</p>
|
|
5298
|
-
* <p>This parameter maps to <code>Volumes</code> in the
|
|
5308
|
+
* <p>This parameter maps to <code>Volumes</code> in the docker container create command and the <code>--volume</code> option to docker run.</p>
|
|
5299
5309
|
* <p>Windows containers can mount whole directories on the same drive as
|
|
5300
5310
|
* <code>$env:ProgramData</code>. Windows containers can't mount directories on a
|
|
5301
5311
|
* different drive, and mount point can't be across drives.</p>
|
|
@@ -5304,7 +5314,7 @@ export interface ContainerDefinition {
|
|
|
5304
5314
|
mountPoints?: MountPoint[];
|
|
5305
5315
|
/**
|
|
5306
5316
|
* <p>Data volumes to mount from another container. This parameter maps to
|
|
5307
|
-
* <code>VolumesFrom</code> in
|
|
5317
|
+
* <code>VolumesFrom</code> in the docker container create command and the <code>--volumes-from</code> option to docker run.</p>
|
|
5308
5318
|
* @public
|
|
5309
5319
|
*/
|
|
5310
5320
|
volumesFrom?: VolumeFrom[];
|
|
@@ -5400,7 +5410,7 @@ export interface ContainerDefinition {
|
|
|
5400
5410
|
* <p>Windows platform version <code>1.0.0</code> or later.</p>
|
|
5401
5411
|
* </li>
|
|
5402
5412
|
* </ul>
|
|
5403
|
-
* <p>
|
|
5413
|
+
* <p>For tasks that use the Fargate launch type, the max stop timeout value is 120 seconds and if the parameter is not specified, the
|
|
5404
5414
|
* default value of 30 seconds is used.</p>
|
|
5405
5415
|
* <p>For tasks that use the EC2 launch type, if the <code>stopTimeout</code>
|
|
5406
5416
|
* parameter isn't specified, the value set for the Amazon ECS container agent configuration
|
|
@@ -5415,13 +5425,13 @@ export interface ContainerDefinition {
|
|
|
5415
5425
|
* <code>ecs-init</code> package. If your container instances are launched from version
|
|
5416
5426
|
* <code>20190301</code> or later, then they contain the required versions of the
|
|
5417
5427
|
* container agent and <code>ecs-init</code>. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html">Amazon ECS-optimized Linux AMI</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
5418
|
-
* <p>The valid values are 2-120 seconds.</p>
|
|
5428
|
+
* <p>The valid values for Fargate are 2-120 seconds.</p>
|
|
5419
5429
|
* @public
|
|
5420
5430
|
*/
|
|
5421
5431
|
stopTimeout?: number;
|
|
5422
5432
|
/**
|
|
5423
5433
|
* <p>The hostname to use for your container. This parameter maps to <code>Hostname</code>
|
|
5424
|
-
* in
|
|
5434
|
+
* in the docker container create command and the
|
|
5425
5435
|
* <code>--hostname</code> option to docker
|
|
5426
5436
|
* run.</p>
|
|
5427
5437
|
* <note>
|
|
@@ -5432,7 +5442,7 @@ export interface ContainerDefinition {
|
|
|
5432
5442
|
*/
|
|
5433
5443
|
hostname?: string;
|
|
5434
5444
|
/**
|
|
5435
|
-
* <p>The user to use inside the container. This parameter maps to <code>User</code> in the docker
|
|
5445
|
+
* <p>The user to use inside the container. This parameter maps to <code>User</code> in the docker container create command and the
|
|
5436
5446
|
* <code>--user</code> option to docker
|
|
5437
5447
|
* run.</p>
|
|
5438
5448
|
* <important>
|
|
@@ -5482,13 +5492,13 @@ export interface ContainerDefinition {
|
|
|
5482
5492
|
user?: string;
|
|
5483
5493
|
/**
|
|
5484
5494
|
* <p>The working directory to run commands inside the container in. This parameter maps to
|
|
5485
|
-
* <code>WorkingDir</code> in the docker
|
|
5495
|
+
* <code>WorkingDir</code> in the docker container create command and the <code>--workdir</code> option to docker run.</p>
|
|
5486
5496
|
* @public
|
|
5487
5497
|
*/
|
|
5488
5498
|
workingDirectory?: string;
|
|
5489
5499
|
/**
|
|
5490
5500
|
* <p>When this parameter is true, networking is off within the container. This parameter
|
|
5491
|
-
* maps to <code>NetworkDisabled</code> in the docker
|
|
5501
|
+
* maps to <code>NetworkDisabled</code> in the docker container create command.</p>
|
|
5492
5502
|
* <note>
|
|
5493
5503
|
* <p>This parameter is not supported for Windows containers.</p>
|
|
5494
5504
|
* </note>
|
|
@@ -5498,7 +5508,7 @@ export interface ContainerDefinition {
|
|
|
5498
5508
|
/**
|
|
5499
5509
|
* <p>When this parameter is true, the container is given elevated privileges on the host
|
|
5500
5510
|
* container instance (similar to the <code>root</code> user). This parameter maps to
|
|
5501
|
-
* <code>Privileged</code> in the
|
|
5511
|
+
* <code>Privileged</code> in the docker container create command and the <code>--privileged</code> option to docker run</p>
|
|
5502
5512
|
* <note>
|
|
5503
5513
|
* <p>This parameter is not supported for Windows containers or tasks run on Fargate.</p>
|
|
5504
5514
|
* </note>
|
|
@@ -5507,7 +5517,7 @@ export interface ContainerDefinition {
|
|
|
5507
5517
|
privileged?: boolean;
|
|
5508
5518
|
/**
|
|
5509
5519
|
* <p>When this parameter is true, the container is given read-only access to its root file
|
|
5510
|
-
* system. This parameter maps to <code>ReadonlyRootfs</code> in the docker
|
|
5520
|
+
* system. This parameter maps to <code>ReadonlyRootfs</code> in the docker container create command and the
|
|
5511
5521
|
* <code>--read-only</code> option to docker
|
|
5512
5522
|
* run.</p>
|
|
5513
5523
|
* <note>
|
|
@@ -5518,7 +5528,7 @@ export interface ContainerDefinition {
|
|
|
5518
5528
|
readonlyRootFilesystem?: boolean;
|
|
5519
5529
|
/**
|
|
5520
5530
|
* <p>A list of DNS servers that are presented to the container. This parameter maps to
|
|
5521
|
-
* <code>Dns</code> in the
|
|
5531
|
+
* <code>Dns</code> in the docker container create command and the <code>--dns</code> option to docker run.</p>
|
|
5522
5532
|
* <note>
|
|
5523
5533
|
* <p>This parameter is not supported for Windows containers.</p>
|
|
5524
5534
|
* </note>
|
|
@@ -5527,7 +5537,7 @@ export interface ContainerDefinition {
|
|
|
5527
5537
|
dnsServers?: string[];
|
|
5528
5538
|
/**
|
|
5529
5539
|
* <p>A list of DNS search domains that are presented to the container. This parameter maps
|
|
5530
|
-
* to <code>DnsSearch</code> in the docker
|
|
5540
|
+
* to <code>DnsSearch</code> in the docker container create command and the <code>--dns-search</code> option to docker run.</p>
|
|
5531
5541
|
* <note>
|
|
5532
5542
|
* <p>This parameter is not supported for Windows containers.</p>
|
|
5533
5543
|
* </note>
|
|
@@ -5536,7 +5546,7 @@ export interface ContainerDefinition {
|
|
|
5536
5546
|
dnsSearchDomains?: string[];
|
|
5537
5547
|
/**
|
|
5538
5548
|
* <p>A list of hostnames and IP address mappings to append to the <code>/etc/hosts</code>
|
|
5539
|
-
* file on the container. This parameter maps to <code>ExtraHosts</code> in the docker
|
|
5549
|
+
* file on the container. This parameter maps to <code>ExtraHosts</code> in the docker container create command and the
|
|
5540
5550
|
* <code>--add-host</code> option to docker
|
|
5541
5551
|
* run.</p>
|
|
5542
5552
|
* <note>
|
|
@@ -5556,7 +5566,7 @@ export interface ContainerDefinition {
|
|
|
5556
5566
|
* For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/windows-gmsa.html">Using gMSAs for Windows
|
|
5557
5567
|
* Containers</a> and <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/linux-gmsa.html">Using gMSAs for Linux
|
|
5558
5568
|
* Containers</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
5559
|
-
* <p>This parameter maps to <code>SecurityOpt</code> in the docker
|
|
5569
|
+
* <p>This parameter maps to <code>SecurityOpt</code> in the docker container create command and the
|
|
5560
5570
|
* <code>--security-opt</code> option to docker
|
|
5561
5571
|
* run.</p>
|
|
5562
5572
|
* <note>
|
|
@@ -5574,19 +5584,19 @@ export interface ContainerDefinition {
|
|
|
5574
5584
|
/**
|
|
5575
5585
|
* <p>When this parameter is <code>true</code>, you can deploy containerized applications
|
|
5576
5586
|
* that require <code>stdin</code> or a <code>tty</code> to be allocated. This parameter
|
|
5577
|
-
* maps to <code>OpenStdin</code> in the docker
|
|
5587
|
+
* maps to <code>OpenStdin</code> in the docker container create command and the <code>--interactive</code> option to docker run.</p>
|
|
5578
5588
|
* @public
|
|
5579
5589
|
*/
|
|
5580
5590
|
interactive?: boolean;
|
|
5581
5591
|
/**
|
|
5582
5592
|
* <p>When this parameter is <code>true</code>, a TTY is allocated. This parameter maps to
|
|
5583
|
-
* <code>Tty</code> in
|
|
5593
|
+
* <code>Tty</code> in the docker container create command and the <code>--tty</code> option to docker run.</p>
|
|
5584
5594
|
* @public
|
|
5585
5595
|
*/
|
|
5586
5596
|
pseudoTerminal?: boolean;
|
|
5587
5597
|
/**
|
|
5588
5598
|
* <p>A key/value map of labels to add to the container. This parameter maps to
|
|
5589
|
-
* <code>Labels</code> in the docker
|
|
5599
|
+
* <code>Labels</code> in the docker container create command and the <code>--label</code> option to docker run. This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: <code>sudo docker version --format '\{\{.Server.APIVersion\}\}'</code>
|
|
5590
5600
|
* </p>
|
|
5591
5601
|
* @public
|
|
5592
5602
|
*/
|
|
@@ -5594,7 +5604,7 @@ export interface ContainerDefinition {
|
|
|
5594
5604
|
/**
|
|
5595
5605
|
* <p>A list of <code>ulimits</code> to set in the container. If a <code>ulimit</code> value
|
|
5596
5606
|
* is specified in a task definition, it overrides the default values set by Docker. This
|
|
5597
|
-
* parameter maps to <code>Ulimits</code> in
|
|
5607
|
+
* parameter maps to <code>Ulimits</code> in the docker container create command and the <code>--ulimit</code> option to docker run. Valid naming values are displayed
|
|
5598
5608
|
* in the <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_Ulimit.html">Ulimit</a> data type.</p>
|
|
5599
5609
|
* <p>Amazon ECS tasks hosted on Fargate use the default
|
|
5600
5610
|
* resource limit values set by the operating system with the exception of
|
|
@@ -5613,7 +5623,7 @@ export interface ContainerDefinition {
|
|
|
5613
5623
|
ulimits?: Ulimit[];
|
|
5614
5624
|
/**
|
|
5615
5625
|
* <p>The log configuration specification for the container.</p>
|
|
5616
|
-
* <p>This parameter maps to <code>LogConfig</code> in the docker
|
|
5626
|
+
* <p>This parameter maps to <code>LogConfig</code> in the docker container create command and the
|
|
5617
5627
|
* <code>--log-driver</code> option to docker
|
|
5618
5628
|
* run. By default, containers use the same logging driver that the Docker
|
|
5619
5629
|
* daemon uses. However the container can use a different logging driver than the Docker
|
|
@@ -5641,7 +5651,7 @@ export interface ContainerDefinition {
|
|
|
5641
5651
|
logConfiguration?: LogConfiguration;
|
|
5642
5652
|
/**
|
|
5643
5653
|
* <p>The container health check command and associated configuration parameters for the
|
|
5644
|
-
* container. This parameter maps to <code>HealthCheck</code> in the docker
|
|
5654
|
+
* container. This parameter maps to <code>HealthCheck</code> in the docker container create command and the
|
|
5645
5655
|
* <code>HEALTHCHECK</code> parameter of docker
|
|
5646
5656
|
* run.</p>
|
|
5647
5657
|
* @public
|
|
@@ -5649,7 +5659,7 @@ export interface ContainerDefinition {
|
|
|
5649
5659
|
healthCheck?: HealthCheck;
|
|
5650
5660
|
/**
|
|
5651
5661
|
* <p>A list of namespaced kernel parameters to set in the container. This parameter maps to
|
|
5652
|
-
* <code>Sysctls</code> in
|
|
5662
|
+
* <code>Sysctls</code> in the docker container create command and the <code>--sysctl</code> option to docker run. For example, you can configure
|
|
5653
5663
|
* <code>net.ipv4.tcp_keepalive_time</code> setting to maintain longer lived
|
|
5654
5664
|
* connections.</p>
|
|
5655
5665
|
* @public
|
|
@@ -6015,7 +6025,7 @@ export interface DockerVolumeConfiguration {
|
|
|
6015
6025
|
* by Docker because it is used for task placement. If the driver was installed using the
|
|
6016
6026
|
* Docker plugin CLI, use <code>docker plugin ls</code> to retrieve the driver name from
|
|
6017
6027
|
* your container instance. If the driver was installed using another method, use Docker
|
|
6018
|
-
* plugin discovery to retrieve the driver name. This parameter maps to <code>Driver</code> in the docker
|
|
6028
|
+
* plugin discovery to retrieve the driver name. This parameter maps to <code>Driver</code> in the docker container create command and the
|
|
6019
6029
|
* <code>xxdriver</code> option to docker
|
|
6020
6030
|
* volume create.</p>
|
|
6021
6031
|
* @public
|
|
@@ -6030,7 +6040,7 @@ export interface DockerVolumeConfiguration {
|
|
|
6030
6040
|
driverOpts?: Record<string, string>;
|
|
6031
6041
|
/**
|
|
6032
6042
|
* <p>Custom metadata to add to your Docker volume. This parameter maps to
|
|
6033
|
-
* <code>Labels</code> in the docker
|
|
6043
|
+
* <code>Labels</code> in the docker container create command and the <code>xxlabel</code> option to docker
|
|
6034
6044
|
* volume create.</p>
|
|
6035
6045
|
* @public
|
|
6036
6046
|
*/
|
|
@@ -6397,8 +6407,8 @@ export interface TaskDefinition {
|
|
|
6397
6407
|
*/
|
|
6398
6408
|
placementConstraints?: TaskDefinitionPlacementConstraint[];
|
|
6399
6409
|
/**
|
|
6400
|
-
* <p>
|
|
6401
|
-
*
|
|
6410
|
+
* <p>Amazon ECS validates the task definition parameters with those supported by the launch type. For
|
|
6411
|
+
* more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html">Amazon ECS launch types</a>
|
|
6402
6412
|
* in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
6403
6413
|
* @public
|
|
6404
6414
|
*/
|
|
@@ -9286,11 +9296,6 @@ export interface PutAccountSettingRequest {
|
|
|
9286
9296
|
* </li>
|
|
9287
9297
|
* <li>
|
|
9288
9298
|
* <p>
|
|
9289
|
-
* <code>fargateFIPSMode</code> - If you specify <code>fargateFIPSMode</code>,
|
|
9290
|
-
* Fargate FIPS 140 compliance is affected.</p>
|
|
9291
|
-
* </li>
|
|
9292
|
-
* <li>
|
|
9293
|
-
* <p>
|
|
9294
9299
|
* <code>fargateTaskRetirementWaitPeriod</code> - When Amazon Web Services determines that a
|
|
9295
9300
|
* security or infrastructure update is needed for an Amazon ECS task hosted on
|
|
9296
9301
|
* Fargate, the tasks need to be stopped and new tasks launched to replace them.
|
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.653.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-ecs",
|