Skip to content

Commit d660152

Browse files
author
awstools
committed
docs(client-ecs): This is a documentation only release for Amazon ECS that supports the CPU task limit increase.
1 parent 985543d commit d660152

File tree

3 files changed

+40
-22
lines changed

3 files changed

+40
-22
lines changed

clients/client-ecs/src/commands/RunTaskCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ export interface RunTaskCommandOutput extends RunTaskResponse, __MetadataBearer
382382
*
383383
* @throws {@link BlockedException} (client fault)
384384
* <p>Your Amazon Web Services account was blocked. For more information, contact <a href="http://aws.amazon.com/contact-us/">
385-
* Amazon Web Services Support</a>.</p>
385+
* Amazon Web ServicesSupport</a>.</p>
386386
*
387387
* @throws {@link ClientException} (client fault)
388388
* <p>These errors are usually caused by a client action. This client action might be using

clients/client-ecs/src/models/models_0.ts

Lines changed: 34 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1740,8 +1740,22 @@ export interface AwsVpcConfiguration {
17401740
securityGroups?: string[] | undefined;
17411741

17421742
/**
1743-
* <p>Whether the task's elastic network interface receives a public IP address. The default
1744-
* value is <code>ENABLED</code>.</p>
1743+
* <p>Whether the task's elastic network interface receives a public IP address. </p>
1744+
* <p>Consider the following when you set this value:</p>
1745+
* <ul>
1746+
* <li>
1747+
* <p>When you use <code>create-service</code> or <code>update-service</code>, the default is
1748+
* <code>DISABLED</code>. </p>
1749+
* </li>
1750+
* <li>
1751+
* <p>When the service <code>deploymentController</code> is <code>ECS</code>, the value must be
1752+
* <code>DISABLED</code>. </p>
1753+
* </li>
1754+
* <li>
1755+
* <p>When you use <code>create-service</code> or <code>update-service</code>, the
1756+
* default is <code>ENABLED</code>. </p>
1757+
* </li>
1758+
* </ul>
17451759
* @public
17461760
*/
17471761
assignPublicIp?: AssignPublicIp | undefined;
@@ -7414,11 +7428,14 @@ export interface TaskDefinition {
74147428
* this field is optional. Any value can be used. If you use the Fargate launch type, this
74157429
* field is required. You must use one of the following values. The value that you choose
74167430
* determines your range of valid values for the <code>memory</code> parameter.</p>
7417-
* <p>If you use the EC2 launch type, this field is optional. Supported values
7418-
* are between <code>128</code> CPU units (<code>0.125</code> vCPUs) and <code>10240</code>
7419-
* CPU units (<code>10</code> vCPUs).</p>
7420-
* <p>The CPU units cannot be less than 1 vCPU when you use Windows containers on
7421-
* Fargate.</p>
7431+
* <p>If you're using the EC2 launch type or the external launch type, this
7432+
* field is optional. Supported values are between <code>128</code> CPU units
7433+
* (<code>0.125</code> vCPUs) and <code>196608</code> CPU units (<code>192</code>
7434+
* vCPUs). </p>
7435+
* <p>If you're using the Fargate launch type, this field is required and you
7436+
* must use one of the following values, which determines your range of supported values
7437+
* for the <code>memory</code> parameter. The CPU units cannot be less than 1 vCPU when you use Windows containers on
7438+
* Fargate.</p>
74227439
* <ul>
74237440
* <li>
74247441
* <p>256 (.25 vCPU) - Available <code>memory</code> values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB)</p>
@@ -9589,10 +9606,11 @@ export interface Task {
95899606
* expressed as a string using vCPUs (for example, <code>1 vCPU</code> or <code>1
95909607
* vcpu</code>). String values are converted to an integer that indicates the CPU units
95919608
* when the task definition is registered.</p>
9592-
* <p>If you use the EC2 launch type, this field is optional. Supported values
9593-
* are between <code>128</code> CPU units (<code>0.125</code> vCPUs) and <code>10240</code>
9594-
* CPU units (<code>10</code> vCPUs).</p>
9595-
* <p>If you use the Fargate launch type, this field is required. You must use
9609+
* <p>If you're using the EC2 launch type or the external launch type, this field is
9610+
* optional. Supported values are between <code>128</code> CPU units (<code>0.125</code>
9611+
* vCPUs) and <code>196608</code> CPU units (<code>192</code> vCPUs). If you do not specify
9612+
* a value, the parameter is ignored.</p>
9613+
* <p>If you're using the Fargate launch type, this field is required. You must use
95969614
* one of the following values. These values determine the range of supported values for
95979615
* the <code>memory</code> parameter:</p>
95989616
* <p>The CPU units cannot be less than 1 vCPU when you use Windows containers on
@@ -11948,10 +11966,10 @@ export interface RegisterTaskDefinitionRequest {
1194811966
* <p>Task-level CPU and memory parameters are ignored for Windows containers. We
1194911967
* recommend specifying container-level resources for Windows containers.</p>
1195011968
* </note>
11951-
* <p>If you're using the EC2 launch type, this field is optional. Supported
11952-
* values are between <code>128</code> CPU units (<code>0.125</code> vCPUs) and
11953-
* <code>10240</code> CPU units (<code>10</code> vCPUs). If you do not specify a value,
11954-
* the parameter is ignored.</p>
11969+
* <p>If you're using the EC2 launch type or external launch type, this field is
11970+
* optional. Supported values are between <code>128</code> CPU units (<code>0.125</code>
11971+
* vCPUs) and <code>196608</code> CPU units (<code>192</code> vCPUs). If you do not specify
11972+
* a value, the parameter is ignored.</p>
1195511973
* <p>If you're using the Fargate launch type, this field is required and you
1195611974
* must use one of the following values, which determines your range of supported values
1195711975
* for the <code>memory</code> parameter:</p>
@@ -12209,7 +12227,7 @@ export interface RegisterTaskDefinitionResponse {
1220912227

1221012228
/**
1221112229
* <p>Your Amazon Web Services account was blocked. For more information, contact <a href="http://aws.amazon.com/contact-us/">
12212-
* Amazon Web Services Support</a>.</p>
12230+
* Amazon Web ServicesSupport</a>.</p>
1221312231
* @public
1221412232
*/
1221512233
export class BlockedException extends __BaseException {

0 commit comments

Comments
 (0)