|
4665 | 4665 | "smithy.api#documentation": "<p>The amount of memory (in MiB) used by the task. This parameter determines the memory allocation for each task in the Express service. The default value for an express service is 512 MiB.</p>" |
4666 | 4666 | } |
4667 | 4667 | }, |
| 4668 | + "cpuArchitecture": { |
| 4669 | + "target": "com.amazonaws.ecs#ExpressCpuArchitecture", |
| 4670 | + "traits": { |
| 4671 | + "smithy.api#documentation": "<p>The CPU architecture that the tasks in the Express service run on. Amazon ECS applies this value to the task definition revision that it registers for the service. If you don't specify a value, the default is <code>X86_64</code>.</p> <p>Valid values:</p> <ul> <li> <p> <code>X86_64</code> - The x86 64-bit architecture.</p> </li> <li> <p> <code>ARM64</code> - The 64-bit ARM architecture.</p> </li> </ul> <p>Make sure that the container image that you specify supports the architecture that you choose. The operating system family for an Express service is always <code>LINUX</code>.</p> <p>You can't specify <code>cpuArchitecture</code> when you also specify <code>taskDefinitionArn</code>, because this value applies only to a task definition that Amazon ECS registers on your behalf.</p>" |
| 4672 | + } |
| 4673 | + }, |
4668 | 4674 | "scalingTarget": { |
4669 | 4675 | "target": "com.amazonaws.ecs#ExpressGatewayScalingTarget", |
4670 | 4676 | "traits": { |
|
4680 | 4686 | "taskDefinitionArn": { |
4681 | 4687 | "target": "com.amazonaws.ecs#String", |
4682 | 4688 | "traits": { |
4683 | | - "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of a task definition to use to create the Express Gateway service. This allows you to manage your own task definition, giving you more control over the service configuration such as adding sidecar containers.</p> <p>The task definition must have a container named <code>Main</code> with a single TCP port mapping that includes a container port and port name. The task definition must also have <code>FARGATE</code> compatibility.</p> <p>If you provide a task definition ARN, you cannot also specify <code>primaryContainer</code>, <code>executionRoleArn</code>, <code>taskRoleArn</code>, <code>cpu</code>, or <code>memory</code>.</p>" |
| 4689 | + "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of a task definition to use to create the Express Gateway service. This allows you to manage your own task definition, giving you more control over the service configuration such as adding sidecar containers.</p> <p>The task definition must have a container named <code>Main</code> with a single TCP port mapping that includes a container port and port name. The task definition must also have <code>FARGATE</code> compatibility.</p> <p>If you provide a task definition ARN, you cannot also specify <code>primaryContainer</code>, <code>executionRoleArn</code>, <code>taskRoleArn</code>, <code>cpu</code>, <code>memory</code>, or <code>cpuArchitecture</code>.</p>" |
4684 | 4690 | } |
4685 | 4691 | } |
4686 | 4692 | }, |
|
12040 | 12046 | "smithy.api#output": {} |
12041 | 12047 | } |
12042 | 12048 | }, |
| 12049 | + "com.amazonaws.ecs#ExpressCpuArchitecture": { |
| 12050 | + "type": "enum", |
| 12051 | + "members": { |
| 12052 | + "X86_64": { |
| 12053 | + "target": "smithy.api#Unit", |
| 12054 | + "traits": { |
| 12055 | + "smithy.api#enumValue": "X86_64" |
| 12056 | + } |
| 12057 | + }, |
| 12058 | + "ARM64": { |
| 12059 | + "target": "smithy.api#Unit", |
| 12060 | + "traits": { |
| 12061 | + "smithy.api#enumValue": "ARM64" |
| 12062 | + } |
| 12063 | + } |
| 12064 | + } |
| 12065 | + }, |
12043 | 12066 | "com.amazonaws.ecs#ExpressGatewayContainer": { |
12044 | 12067 | "type": "structure", |
12045 | 12068 | "members": { |
|
12198 | 12221 | "smithy.api#documentation": "<p>The memory allocation for tasks in this service revision.</p>" |
12199 | 12222 | } |
12200 | 12223 | }, |
| 12224 | + "cpuArchitecture": { |
| 12225 | + "target": "com.amazonaws.ecs#ExpressCpuArchitecture", |
| 12226 | + "traits": { |
| 12227 | + "smithy.api#documentation": "<p>The CPU architecture that the tasks in this service revision run on. This is the architecture from the task definition that the service revision uses, so it reflects the default or the previously configured architecture when the request that created the revision didn't specify one.</p> <p>Valid values:</p> <ul> <li> <p> <code>X86_64</code> - The x86 64-bit architecture.</p> </li> <li> <p> <code>ARM64</code> - The 64-bit ARM architecture.</p> </li> </ul> <p>This value isn't returned when the task definition for the service revision doesn't specify a runtime platform. Because the architecture comes from each service revision's own task definition, revisions of the same service can report different architectures.</p>" |
| 12228 | + } |
| 12229 | + }, |
12201 | 12230 | "networkConfiguration": { |
12202 | 12231 | "target": "com.amazonaws.ecs#ExpressGatewayServiceNetworkConfiguration", |
12203 | 12232 | "traits": { |
|
24528 | 24557 | "smithy.api#documentation": "<p>The amount of memory (in MiB) used by the task.</p>" |
24529 | 24558 | } |
24530 | 24559 | }, |
| 24560 | + "cpuArchitecture": { |
| 24561 | + "target": "com.amazonaws.ecs#ExpressCpuArchitecture", |
| 24562 | + "traits": { |
| 24563 | + "smithy.api#documentation": "<p>The CPU architecture that the tasks in the Express service run on. Amazon ECS applies this value to the task definition revision that it registers for the service. If you don't specify a value, the service keeps the architecture that it currently runs on.</p> <p>Valid values:</p> <ul> <li> <p> <code>X86_64</code> - The x86 64-bit architecture.</p> </li> <li> <p> <code>ARM64</code> - The 64-bit ARM architecture.</p> </li> </ul> <p>Changing the architecture starts a new deployment that replaces the running tasks. Make sure that the container image that the service uses supports the architecture that you choose. The operating system family for an Express service is always <code>LINUX</code>.</p> <p>You can't specify <code>cpuArchitecture</code> when you also specify <code>taskDefinitionArn</code>, because this value applies only to a task definition that Amazon ECS registers on your behalf.</p>" |
| 24564 | + } |
| 24565 | + }, |
24531 | 24566 | "scalingTarget": { |
24532 | 24567 | "target": "com.amazonaws.ecs#ExpressGatewayScalingTarget", |
24533 | 24568 | "traits": { |
|
24537 | 24572 | "taskDefinitionArn": { |
24538 | 24573 | "target": "com.amazonaws.ecs#String", |
24539 | 24574 | "traits": { |
24540 | | - "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of a task definition to use to update the Express Gateway service. This allows you to manage your own task definition, giving you more control over the service configuration such as adding sidecar containers.</p> <p>The task definition must have a container named <code>Main</code> with a single TCP port mapping that includes a container port and port name. The task definition must also have <code>FARGATE</code> compatibility.</p> <p>If you provide a task definition ARN, you cannot also specify <code>primaryContainer</code>, <code>executionRoleArn</code>, <code>taskRoleArn</code>, <code>cpu</code>, or <code>memory</code>.</p>" |
| 24575 | + "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of a task definition to use to update the Express Gateway service. This allows you to manage your own task definition, giving you more control over the service configuration such as adding sidecar containers.</p> <p>The task definition must have a container named <code>Main</code> with a single TCP port mapping that includes a container port and port name. The task definition must also have <code>FARGATE</code> compatibility.</p> <p>If you provide a task definition ARN, you cannot also specify <code>primaryContainer</code>, <code>executionRoleArn</code>, <code>taskRoleArn</code>, <code>cpu</code>, <code>memory</code>, or <code>cpuArchitecture</code>.</p>" |
24541 | 24576 | } |
24542 | 24577 | } |
24543 | 24578 | }, |
|
0 commit comments