You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* <p>2048 (2 vCPU) - Available <code>memory</code> values: 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB)</p>
7459
-
* </li>
7460
-
* <li>
7461
-
* <p>4096 (4 vCPU) - Available <code>memory</code> values: 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)</p>
7462
-
* </li>
7463
-
* <li>
7464
-
* <p>8192 (8 vCPU) - Available <code>memory</code> values: 16 GB and 60 GB in 4 GB increments</p>
7465
-
* <p>This option requires Linux platform <code>1.4.0</code> or
7466
-
* later.</p>
7467
-
* </li>
7468
-
* <li>
7469
-
* <p>16384 (16vCPU) - Available <code>memory</code> values: 32GB and 120 GB in 8 GB increments</p>
7470
-
* <p>This option requires Linux platform <code>1.4.0</code> or
7471
-
* later.</p>
7472
-
* </li>
7473
-
* </ul>
7445
+
* vCPUs). </p>
7446
+
* <p>This field is required for Fargate. For information about the valid values, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_size">Task size</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
7474
7447
* @public
7475
7448
*/
7476
7449
cpu?: string | undefined;
@@ -9608,42 +9581,11 @@ export interface Task {
9608
9581
* expressed as a string using vCPUs (for example, <code>1 vCPU</code> or <code>1
9609
9582
* vcpu</code>). String values are converted to an integer that indicates the CPU units
9610
9583
* when the task definition is registered.</p>
9611
-
* <p>If you're using the EC2 launch type or the external launch type, this
9612
-
* field is optional. Supported values are between <code>128</code> CPU units
9613
-
* (<code>0.125</code> vCPUs) and <code>196608</code> CPU units (<code>192</code>
9614
-
* vCPUs). If you do not specify a value, the parameter is ignored.</p>
9615
-
* <p>If you're using the Fargate launch type, this field is required. You
9616
-
* must use one of the following values. These values determine the range of supported
9617
-
* values for the <code>memory</code> parameter:</p>
9618
-
* <p>The CPU units cannot be less than 1 vCPU when you use Windows containers on
* <p>2048 (2 vCPU) - Available <code>memory</code> values: 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB)</p>
9632
-
* </li>
9633
-
* <li>
9634
-
* <p>4096 (4 vCPU) - Available <code>memory</code> values: 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)</p>
9635
-
* </li>
9636
-
* <li>
9637
-
* <p>8192 (8 vCPU) - Available <code>memory</code> values: 16 GB and 60 GB in 4 GB increments</p>
9638
-
* <p>This option requires Linux platform <code>1.4.0</code> or
9639
-
* later.</p>
9640
-
* </li>
9641
-
* <li>
9642
-
* <p>16384 (16vCPU) - Available <code>memory</code> values: 32GB and 120 GB in 8 GB increments</p>
9643
-
* <p>This option requires Linux platform <code>1.4.0</code> or
9644
-
* later.</p>
9645
-
* </li>
9646
-
* </ul>
9584
+
* <p>If you're using the EC2 launch type or the external launch type, this field is
9585
+
* optional. Supported values are between <code>128</code> CPU units (<code>0.125</code>
9586
+
* vCPUs) and <code>196608</code> CPU units (<code>192</code> vCPUs). If you do not specify
9587
+
* a value, the parameter is ignored.</p>
9588
+
* <p>This field is required for Fargate. For information about the valid values, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_size">Task size</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
* <p>2048 (2 vCPU) - Available <code>memory</code> values: 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB)</p>
12007
-
* </li>
12008
-
* <li>
12009
-
* <p>4096 (4 vCPU) - Available <code>memory</code> values: 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)</p>
12010
-
* </li>
12011
-
* <li>
12012
-
* <p>8192 (8 vCPU) - Available <code>memory</code> values: 16 GB and 60 GB in 4 GB increments</p>
12013
-
* <p>This option requires Linux platform <code>1.4.0</code> or
12014
-
* later.</p>
12015
-
* </li>
12016
-
* <li>
12017
-
* <p>16384 (16vCPU) - Available <code>memory</code> values: 32GB and 120 GB in 8 GB increments</p>
12018
-
* <p>This option requires Linux platform <code>1.4.0</code> or
12019
-
* later.</p>
12020
-
* </li>
12021
-
* </ul>
11932
+
* <p>This field is required for Fargate. For information about the valid values, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_size">Task size</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
Copy file name to clipboardExpand all lines: codegen/sdk-codegen/aws-models/ecs.json
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -10224,7 +10224,7 @@
10224
10224
"cpu": {
10225
10225
"target": "com.amazonaws.ecs#String",
10226
10226
"traits": {
10227
-
"smithy.api#documentation": "<p>The number of CPU units used by the task. It can be expressed as an integer using CPU\n\t\t\tunits (for example, <code>1024</code>) or as a string using vCPUs (for example, <code>1\n\t\t\t\tvCPU</code> or <code>1 vcpu</code>) in a task definition. String values are\n\t\t\tconverted to an integer indicating the CPU units when the task definition is\n\t\t\tregistered.</p>\n <note>\n <p>Task-level CPU and memory parameters are ignored for Windows containers. We\n\t\t\t\trecommend specifying container-level resources for Windows containers.</p>\n </note>\n <p>If you're using the EC2 launch type or external launch type, this field\n\t\t\tis optional. Supported values are between <code>128</code> CPU units (<code>0.125</code>\n\t\t\tvCPUs) and <code>196608</code> CPU units (<code>192</code> vCPUs). If you do not specify\n\t\t\ta value, the parameter is ignored.</p>\n <p>If you're using the Fargate launch type, this field is required and you\n\t\t\tmust use one of the following values, which determines your range of supported values\n\t\t\tfor the <code>memory</code> parameter:</p>\n <p>The CPU units cannot be less than 1 vCPU when you use Windows containers on\n\t\t\tFargate.</p>\n <ul>\n <li>\n <p>256 (.25 vCPU) - Available <code>memory</code> values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB)</p>\n </li>\n <li>\n <p>512 (.5 vCPU) - Available <code>memory</code> values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB)</p>\n </li>\n <li>\n <p>1024 (1 vCPU) - Available <code>memory</code> values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)</p>\n </li>\n <li>\n <p>2048 (2 vCPU) - Available <code>memory</code> values: 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB)</p>\n </li>\n <li>\n <p>4096 (4 vCPU) - Available <code>memory</code> values: 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)</p>\n </li>\n <li>\n <p>8192 (8 vCPU) - Available <code>memory</code> values: 16 GB and 60 GB in 4 GB increments</p>\n <p>This option requires Linux platform <code>1.4.0</code> or\n later.</p>\n </li>\n <li>\n <p>16384 (16vCPU) - Available <code>memory</code> values: 32GB and 120 GB in 8 GB increments</p>\n <p>This option requires Linux platform <code>1.4.0</code> or\n later.</p>\n </li>\n </ul>"
10227
+
"smithy.api#documentation": "<p>The number of CPU units used by the task. It can be expressed as an integer using CPU\n\t\t\tunits (for example, <code>1024</code>) or as a string using vCPUs (for example, <code>1\n\t\t\t\tvCPU</code> or <code>1 vcpu</code>) in a task definition. String values are\n\t\t\tconverted to an integer indicating the CPU units when the task definition is\n\t\t\tregistered.</p>\n <note>\n <p>Task-level CPU and memory parameters are ignored for Windows containers. We\n\t\t\t\trecommend specifying container-level resources for Windows containers.</p>\n </note>\n <p>If you're using the EC2 launch type or external launch type, this field\n\t\t\tis optional. Supported values are between <code>128</code> CPU units (<code>0.125</code>\n\t\t\tvCPUs) and <code>196608</code> CPU units (<code>192</code> vCPUs). If you do not specify\n\t\t\ta value, the parameter is ignored.</p>\n <p>This field is required for Fargate. For information about the valid values, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_size\">Task size</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>"
10228
10228
}
10229
10229
},
10230
10230
"memory": {
@@ -13081,7 +13081,7 @@
13081
13081
"cpu": {
13082
13082
"target": "com.amazonaws.ecs#String",
13083
13083
"traits": {
13084
-
"smithy.api#documentation": "<p>The number of CPU units used by the task as expressed in a task definition. It can be\n\t\t\texpressed as an integer using CPU units (for example, <code>1024</code>). It can also be\n\t\t\texpressed as a string using vCPUs (for example, <code>1 vCPU</code> or <code>1\n\t\t\t\tvcpu</code>). String values are converted to an integer that indicates the CPU units\n\t\t\twhen the task definition is registered.</p>\n <p>If you're using the EC2 launch type or the external launch type, this\n\t\t\tfield is optional. Supported values are between <code>128</code> CPU units\n\t\t\t\t(<code>0.125</code> vCPUs) and <code>196608</code> CPU units (<code>192</code>\n\t\t\tvCPUs). If you do not specify a value, the parameter is ignored.</p>\n <p>If you're using the Fargate launch type, this field is required. You\n\t\t\tmust use one of the following values. These values determine the range of supported\n\t\t\tvalues for the <code>memory</code> parameter:</p>\n <p>The CPU units cannot be less than 1 vCPU when you use Windows containers on\n\t\t\tFargate.</p>\n <ul>\n <li>\n <p>256 (.25 vCPU) - Available <code>memory</code> values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB)</p>\n </li>\n <li>\n <p>512 (.5 vCPU) - Available <code>memory</code> values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB)</p>\n </li>\n <li>\n <p>1024 (1 vCPU) - Available <code>memory</code> values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)</p>\n </li>\n <li>\n <p>2048 (2 vCPU) - Available <code>memory</code> values: 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB)</p>\n </li>\n <li>\n <p>4096 (4 vCPU) - Available <code>memory</code> values: 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)</p>\n </li>\n <li>\n <p>8192 (8 vCPU) - Available <code>memory</code> values: 16 GB and 60 GB in 4 GB increments</p>\n <p>This option requires Linux platform <code>1.4.0</code> or\n later.</p>\n </li>\n <li>\n <p>16384 (16vCPU) - Available <code>memory</code> values: 32GB and 120 GB in 8 GB increments</p>\n <p>This option requires Linux platform <code>1.4.0</code> or\n later.</p>\n </li>\n </ul>"
13084
+
"smithy.api#documentation": "<p>The number of CPU units used by the task as expressed in a task definition. It can be\n\t\t\texpressed as an integer using CPU units (for example, <code>1024</code>). It can also be\n\t\t\texpressed as a string using vCPUs (for example, <code>1 vCPU</code> or <code>1\n\t\t\t\tvcpu</code>). String values are converted to an integer that indicates the CPU units\n\t\t\twhen the task definition is registered.</p>\n <p>If you're using the EC2 launch type or the external launch type, this field is\n\t\t\toptional. Supported values are between <code>128</code> CPU units (<code>0.125</code>\n\t\t\tvCPUs) and <code>196608</code> CPU units (<code>192</code> vCPUs). If you do not specify\n\t\t\ta value, the parameter is ignored.</p>\n <p>This field is required for Fargate. For information about the valid values, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_size\">Task size</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>"
13085
13085
}
13086
13086
},
13087
13087
"createdAt": {
@@ -13344,7 +13344,7 @@
13344
13344
"cpu": {
13345
13345
"target": "com.amazonaws.ecs#String",
13346
13346
"traits": {
13347
-
"smithy.api#documentation": "<p>The number of <code>cpu</code> units used by the task. If you use the EC2 launch type,\n\t\t\tthis field is optional. Any value can be used. If you use the Fargate launch type, this\n\t\t\tfield is required. You must use one of the following values. The value that you choose\n\t\t\tdetermines your range of valid values for the <code>memory</code> parameter.</p>\n <p>If you're using the EC2 launch type or the external launch type, this\n\t\t\tfield is optional. Supported values are between <code>128</code> CPU units\n\t\t\t\t(<code>0.125</code> vCPUs) and <code>196608</code> CPU units (<code>192</code>\n\t\t\tvCPUs). The CPU units cannot be less than 1 vCPU when you use Windows containers on\n\t\t\tFargate.</p>\n <ul>\n <li>\n <p>256 (.25 vCPU) - Available <code>memory</code> values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB)</p>\n </li>\n <li>\n <p>512 (.5 vCPU) - Available <code>memory</code> values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB)</p>\n </li>\n <li>\n <p>1024 (1 vCPU) - Available <code>memory</code> values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)</p>\n </li>\n <li>\n <p>2048 (2 vCPU) - Available <code>memory</code> values: 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB)</p>\n </li>\n <li>\n <p>4096 (4 vCPU) - Available <code>memory</code> values: 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)</p>\n </li>\n <li>\n <p>8192 (8 vCPU) - Available <code>memory</code> values: 16 GB and 60 GB in 4 GB increments</p>\n <p>This option requires Linux platform <code>1.4.0</code> or\n later.</p>\n </li>\n <li>\n <p>16384 (16vCPU) - Available <code>memory</code> values: 32GB and 120 GB in 8 GB increments</p>\n <p>This option requires Linux platform <code>1.4.0</code> or\n later.</p>\n </li>\n </ul>"
13347
+
"smithy.api#documentation": "<p>The number of <code>cpu</code> units used by the task. If you use the EC2 launch type,\n\t\t\tthis field is optional. Any value can be used. If you use the Fargate launch type, this\n\t\t\tfield is required. You must use one of the following values. The value that you choose\n\t\t\tdetermines your range of valid values for the <code>memory</code> parameter.</p>\n <p>If you're using the EC2 launch type or the external launch type, this\n\t\t\tfield is optional. Supported values are between <code>128</code> CPU units\n\t\t\t\t(<code>0.125</code> vCPUs) and <code>196608</code> CPU units (<code>192</code>\n\t\t\tvCPUs). </p>\n <p>This field is required for Fargate. For information about the valid values, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_size\">Task size</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>"
0 commit comments