@aws-sdk/client-ecs 3.1130.0 → 3.1132.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/index.js +12 -7
- package/dist-es/models/enums.js +4 -0
- package/dist-es/schemas/schemas_0.js +6 -6
- package/dist-types/commands/CreateExpressGatewayServiceCommand.d.ts +2 -0
- package/dist-types/commands/DeleteExpressGatewayServiceCommand.d.ts +1 -0
- package/dist-types/commands/DescribeExpressGatewayServiceCommand.d.ts +1 -0
- package/dist-types/commands/UpdateExpressGatewayServiceCommand.d.ts +2 -0
- package/dist-types/models/enums.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +18 -3
- package/dist-types/ts3.4/models/enums.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +4 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1131.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -2023,8 +2023,8 @@ var CreatedAt$ = [3, n0, _CA,
|
|
|
2023
2023
|
];
|
|
2024
2024
|
var CreateExpressGatewayServiceRequest$ = [3, n0, _CEGSR,
|
|
2025
2025
|
0,
|
|
2026
|
-
[_iRA, _eRA, _sN, _cl, _hCP, _pC, _tRA, _nC, _cp, _me, _sTc, _ta, _tDA],
|
|
2027
|
-
[0, 0, 0, 0, 0, [() => ExpressGatewayContainer$, 0], 0, () => ExpressGatewayServiceNetworkConfiguration$, 0, 0, () => ExpressGatewayScalingTarget$, () => Tags, 0], 1
|
|
2026
|
+
[_iRA, _eRA, _sN, _cl, _hCP, _pC, _tRA, _nC, _cp, _me, _cAp, _sTc, _ta, _tDA],
|
|
2027
|
+
[0, 0, 0, 0, 0, [() => ExpressGatewayContainer$, 0], 0, () => ExpressGatewayServiceNetworkConfiguration$, 0, 0, 0, () => ExpressGatewayScalingTarget$, () => Tags, 0], 1
|
|
2028
2028
|
];
|
|
2029
2029
|
var CreateExpressGatewayServiceResponse$ = [3, n0, _CEGSRr,
|
|
2030
2030
|
0,
|
|
@@ -2563,8 +2563,8 @@ var ExpressGatewayServiceAwsLogsConfiguration$ = [3, n0, _EGSALC,
|
|
|
2563
2563
|
];
|
|
2564
2564
|
var ExpressGatewayServiceConfiguration$ = [3, n0, _EGSC,
|
|
2565
2565
|
0,
|
|
2566
|
-
[_sRAe, _eRA, _tRA, _tDA, _cp, _me, _nC, _hCP, _pC, _sTc, _iP, _cAr],
|
|
2567
|
-
[0, 0, 0, 0, 0, 0, () => ExpressGatewayServiceNetworkConfiguration$, 0, [() => ExpressGatewayContainer$, 0], () => ExpressGatewayScalingTarget$, () => IngressPathSummaries, 4]
|
|
2566
|
+
[_sRAe, _eRA, _tRA, _tDA, _cp, _me, _cAp, _nC, _hCP, _pC, _sTc, _iP, _cAr],
|
|
2567
|
+
[0, 0, 0, 0, 0, 0, 0, () => ExpressGatewayServiceNetworkConfiguration$, 0, [() => ExpressGatewayContainer$, 0], () => ExpressGatewayScalingTarget$, () => IngressPathSummaries, 4]
|
|
2568
2568
|
];
|
|
2569
2569
|
var ExpressGatewayServiceNetworkConfiguration$ = [3, n0, _EGSNC,
|
|
2570
2570
|
0,
|
|
@@ -3498,8 +3498,8 @@ var UpdatedExpressGatewayService$ = [3, n0, _UEGS,
|
|
|
3498
3498
|
];
|
|
3499
3499
|
var UpdateExpressGatewayServiceRequest$ = [3, n0, _UEGSR,
|
|
3500
3500
|
0,
|
|
3501
|
-
[_sAe, _eRA, _hCP, _pC, _tRA, _nC, _cp, _me, _sTc, _tDA],
|
|
3502
|
-
[0, 0, 0, [() => ExpressGatewayContainer$, 0], 0, () => ExpressGatewayServiceNetworkConfiguration$, 0, 0, () => ExpressGatewayScalingTarget$, 0], 1
|
|
3501
|
+
[_sAe, _eRA, _hCP, _pC, _tRA, _nC, _cp, _me, _cAp, _sTc, _tDA],
|
|
3502
|
+
[0, 0, 0, [() => ExpressGatewayContainer$, 0], 0, () => ExpressGatewayServiceNetworkConfiguration$, 0, 0, 0, () => ExpressGatewayScalingTarget$, 0], 1
|
|
3503
3503
|
];
|
|
3504
3504
|
var UpdateExpressGatewayServiceResponse$ = [3, n0, _UEGSRp,
|
|
3505
3505
|
0,
|
|
@@ -5579,6 +5579,10 @@ const ServiceDeploymentStatus = {
|
|
|
5579
5579
|
STOP_REQUESTED: "STOP_REQUESTED",
|
|
5580
5580
|
SUCCESSFUL: "SUCCESSFUL",
|
|
5581
5581
|
};
|
|
5582
|
+
const ExpressCpuArchitecture = {
|
|
5583
|
+
ARM64: "ARM64",
|
|
5584
|
+
X86_64: "X86_64",
|
|
5585
|
+
};
|
|
5582
5586
|
const ExpressGatewayServiceScalingMetric = {
|
|
5583
5587
|
AverageCPUUtilization: "AVERAGE_CPU",
|
|
5584
5588
|
AverageMemoryUtilization: "AVERAGE_MEMORY",
|
|
@@ -5984,6 +5988,7 @@ exports.ExecuteCommandLogConfiguration$ = ExecuteCommandLogConfiguration$;
|
|
|
5984
5988
|
exports.ExecuteCommandLogging = ExecuteCommandLogging;
|
|
5985
5989
|
exports.ExecuteCommandRequest$ = ExecuteCommandRequest$;
|
|
5986
5990
|
exports.ExecuteCommandResponse$ = ExecuteCommandResponse$;
|
|
5991
|
+
exports.ExpressCpuArchitecture = ExpressCpuArchitecture;
|
|
5987
5992
|
exports.ExpressGatewayContainer$ = ExpressGatewayContainer$;
|
|
5988
5993
|
exports.ExpressGatewayRepositoryCredentials$ = ExpressGatewayRepositoryCredentials$;
|
|
5989
5994
|
exports.ExpressGatewayScalingTarget$ = ExpressGatewayScalingTarget$;
|
package/dist-es/models/enums.js
CHANGED
|
@@ -449,6 +449,10 @@ export const ServiceDeploymentStatus = {
|
|
|
449
449
|
STOP_REQUESTED: "STOP_REQUESTED",
|
|
450
450
|
SUCCESSFUL: "SUCCESSFUL",
|
|
451
451
|
};
|
|
452
|
+
export const ExpressCpuArchitecture = {
|
|
453
|
+
ARM64: "ARM64",
|
|
454
|
+
X86_64: "X86_64",
|
|
455
|
+
};
|
|
452
456
|
export const ExpressGatewayServiceScalingMetric = {
|
|
453
457
|
AverageCPUUtilization: "AVERAGE_CPU",
|
|
454
458
|
AverageMemoryUtilization: "AVERAGE_MEMORY",
|
|
@@ -1523,8 +1523,8 @@ export var CreatedAt$ = [3, n0, _CA,
|
|
|
1523
1523
|
];
|
|
1524
1524
|
export var CreateExpressGatewayServiceRequest$ = [3, n0, _CEGSR,
|
|
1525
1525
|
0,
|
|
1526
|
-
[_iRA, _eRA, _sN, _cl, _hCP, _pC, _tRA, _nC, _cp, _me, _sTc, _ta, _tDA],
|
|
1527
|
-
[0, 0, 0, 0, 0, [() => ExpressGatewayContainer$, 0], 0, () => ExpressGatewayServiceNetworkConfiguration$, 0, 0, () => ExpressGatewayScalingTarget$, () => Tags, 0], 1
|
|
1526
|
+
[_iRA, _eRA, _sN, _cl, _hCP, _pC, _tRA, _nC, _cp, _me, _cAp, _sTc, _ta, _tDA],
|
|
1527
|
+
[0, 0, 0, 0, 0, [() => ExpressGatewayContainer$, 0], 0, () => ExpressGatewayServiceNetworkConfiguration$, 0, 0, 0, () => ExpressGatewayScalingTarget$, () => Tags, 0], 1
|
|
1528
1528
|
];
|
|
1529
1529
|
export var CreateExpressGatewayServiceResponse$ = [3, n0, _CEGSRr,
|
|
1530
1530
|
0,
|
|
@@ -2063,8 +2063,8 @@ export var ExpressGatewayServiceAwsLogsConfiguration$ = [3, n0, _EGSALC,
|
|
|
2063
2063
|
];
|
|
2064
2064
|
export var ExpressGatewayServiceConfiguration$ = [3, n0, _EGSC,
|
|
2065
2065
|
0,
|
|
2066
|
-
[_sRAe, _eRA, _tRA, _tDA, _cp, _me, _nC, _hCP, _pC, _sTc, _iP, _cAr],
|
|
2067
|
-
[0, 0, 0, 0, 0, 0, () => ExpressGatewayServiceNetworkConfiguration$, 0, [() => ExpressGatewayContainer$, 0], () => ExpressGatewayScalingTarget$, () => IngressPathSummaries, 4]
|
|
2066
|
+
[_sRAe, _eRA, _tRA, _tDA, _cp, _me, _cAp, _nC, _hCP, _pC, _sTc, _iP, _cAr],
|
|
2067
|
+
[0, 0, 0, 0, 0, 0, 0, () => ExpressGatewayServiceNetworkConfiguration$, 0, [() => ExpressGatewayContainer$, 0], () => ExpressGatewayScalingTarget$, () => IngressPathSummaries, 4]
|
|
2068
2068
|
];
|
|
2069
2069
|
export var ExpressGatewayServiceNetworkConfiguration$ = [3, n0, _EGSNC,
|
|
2070
2070
|
0,
|
|
@@ -2998,8 +2998,8 @@ export var UpdatedExpressGatewayService$ = [3, n0, _UEGS,
|
|
|
2998
2998
|
];
|
|
2999
2999
|
export var UpdateExpressGatewayServiceRequest$ = [3, n0, _UEGSR,
|
|
3000
3000
|
0,
|
|
3001
|
-
[_sAe, _eRA, _hCP, _pC, _tRA, _nC, _cp, _me, _sTc, _tDA],
|
|
3002
|
-
[0, 0, 0, [() => ExpressGatewayContainer$, 0], 0, () => ExpressGatewayServiceNetworkConfiguration$, 0, 0, () => ExpressGatewayScalingTarget$, 0], 1
|
|
3001
|
+
[_sAe, _eRA, _hCP, _pC, _tRA, _nC, _cp, _me, _cAp, _sTc, _tDA],
|
|
3002
|
+
[0, 0, 0, [() => ExpressGatewayContainer$, 0], 0, () => ExpressGatewayServiceNetworkConfiguration$, 0, 0, 0, () => ExpressGatewayScalingTarget$, 0], 1
|
|
3003
3003
|
];
|
|
3004
3004
|
export var UpdateExpressGatewayServiceResponse$ = [3, n0, _UEGSRp,
|
|
3005
3005
|
0,
|
|
@@ -76,6 +76,7 @@ declare const CreateExpressGatewayServiceCommand_base: {
|
|
|
76
76
|
* },
|
|
77
77
|
* cpu: "STRING_VALUE",
|
|
78
78
|
* memory: "STRING_VALUE",
|
|
79
|
+
* cpuArchitecture: "X86_64" || "ARM64",
|
|
79
80
|
* scalingTarget: { // ExpressGatewayScalingTarget
|
|
80
81
|
* minTaskCount: Number("int"),
|
|
81
82
|
* maxTaskCount: Number("int"),
|
|
@@ -111,6 +112,7 @@ declare const CreateExpressGatewayServiceCommand_base: {
|
|
|
111
112
|
* // taskDefinitionArn: "STRING_VALUE",
|
|
112
113
|
* // cpu: "STRING_VALUE",
|
|
113
114
|
* // memory: "STRING_VALUE",
|
|
115
|
+
* // cpuArchitecture: "X86_64" || "ARM64",
|
|
114
116
|
* // networkConfiguration: { // ExpressGatewayServiceNetworkConfiguration
|
|
115
117
|
* // securityGroups: [ // StringList
|
|
116
118
|
* // "STRING_VALUE",
|
|
@@ -57,6 +57,7 @@ declare const DeleteExpressGatewayServiceCommand_base: {
|
|
|
57
57
|
* // taskDefinitionArn: "STRING_VALUE",
|
|
58
58
|
* // cpu: "STRING_VALUE",
|
|
59
59
|
* // memory: "STRING_VALUE",
|
|
60
|
+
* // cpuArchitecture: "X86_64" || "ARM64",
|
|
60
61
|
* // networkConfiguration: { // ExpressGatewayServiceNetworkConfiguration
|
|
61
62
|
* // securityGroups: [ // StringList
|
|
62
63
|
* // "STRING_VALUE",
|
|
@@ -60,6 +60,7 @@ declare const DescribeExpressGatewayServiceCommand_base: {
|
|
|
60
60
|
* // taskDefinitionArn: "STRING_VALUE",
|
|
61
61
|
* // cpu: "STRING_VALUE",
|
|
62
62
|
* // memory: "STRING_VALUE",
|
|
63
|
+
* // cpuArchitecture: "X86_64" || "ARM64",
|
|
63
64
|
* // networkConfiguration: { // ExpressGatewayServiceNetworkConfiguration
|
|
64
65
|
* // securityGroups: [ // StringList
|
|
65
66
|
* // "STRING_VALUE",
|
|
@@ -74,6 +74,7 @@ declare const UpdateExpressGatewayServiceCommand_base: {
|
|
|
74
74
|
* },
|
|
75
75
|
* cpu: "STRING_VALUE",
|
|
76
76
|
* memory: "STRING_VALUE",
|
|
77
|
+
* cpuArchitecture: "X86_64" || "ARM64",
|
|
77
78
|
* scalingTarget: { // ExpressGatewayScalingTarget
|
|
78
79
|
* minTaskCount: Number("int"),
|
|
79
80
|
* maxTaskCount: Number("int"),
|
|
@@ -100,6 +101,7 @@ declare const UpdateExpressGatewayServiceCommand_base: {
|
|
|
100
101
|
* // taskDefinitionArn: "STRING_VALUE",
|
|
101
102
|
* // cpu: "STRING_VALUE",
|
|
102
103
|
* // memory: "STRING_VALUE",
|
|
104
|
+
* // cpuArchitecture: "X86_64" || "ARM64",
|
|
103
105
|
* // networkConfiguration: { // ExpressGatewayServiceNetworkConfiguration
|
|
104
106
|
* // securityGroups: [ // StringList
|
|
105
107
|
* // "STRING_VALUE",
|
|
@@ -1118,6 +1118,18 @@ export declare const ServiceDeploymentStatus: {
|
|
|
1118
1118
|
* @public
|
|
1119
1119
|
*/
|
|
1120
1120
|
export type ServiceDeploymentStatus = (typeof ServiceDeploymentStatus)[keyof typeof ServiceDeploymentStatus];
|
|
1121
|
+
/**
|
|
1122
|
+
* @public
|
|
1123
|
+
* @enum
|
|
1124
|
+
*/
|
|
1125
|
+
export declare const ExpressCpuArchitecture: {
|
|
1126
|
+
readonly ARM64: "ARM64";
|
|
1127
|
+
readonly X86_64: "X86_64";
|
|
1128
|
+
};
|
|
1129
|
+
/**
|
|
1130
|
+
* @public
|
|
1131
|
+
*/
|
|
1132
|
+
export type ExpressCpuArchitecture = (typeof ExpressCpuArchitecture)[keyof typeof ExpressCpuArchitecture];
|
|
1121
1133
|
/**
|
|
1122
1134
|
* @public
|
|
1123
1135
|
* @enum
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
-
import type { AcceleratorManufacturer, AcceleratorName, AcceleratorType, AccessType, AgentUpdateStatus, ApplicationProtocol, AssignPublicIp, AutoRepairActionsStatus, AvailabilityZoneRebalancing, BareMetal, BurstablePerformance, CapacityOptionType, CapacityProviderField, CapacityProviderStatus, CapacityProviderType, CapacityProviderUpdateStatus, CapacityReservationPreference, ClusterField, ClusterSettingName, Compatibility, ContainerCondition, ContainerInstanceField, ContainerInstanceStatus, CPUArchitecture, CpuManufacturer, DaemonDeploymentRollbackMonitorsStatus, DaemonDeploymentStatus, DaemonIpcMode, DaemonPidMode, DaemonPropagateTags, DaemonStatus, DaemonTaskDefinitionRevisionFilter, DaemonTaskDefinitionStatus, DaemonTaskDefinitionStatusFilter, DeploymentControllerType, DeploymentLifecycleHookAction, DeploymentLifecycleHookStage, DeploymentLifecycleHookStatus, DeploymentLifecycleHookTargetType, DeploymentRolloutState, DeploymentStrategy, DesiredStatus, DeviceCgroupPermission, EBSResourceType, EFSAuthorizationConfigIAM, EFSTransitEncryption, EnvironmentFileType, ExecuteCommandLogging, ExpressGatewayServiceInclude, ExpressGatewayServiceScalingMetric, ExpressGatewayServiceStatusCode, FirelensConfigurationType, InstanceGeneration, InstanceHealthCheckState, InstanceHealthCheckType, IpcMode, LaunchType, LocalStorage, LocalStorageType, LogDriver, ManagedAgentName, ManagedDraining, ManagedInstancesMonitoringOptions, ManagedResourceStatus, ManagedScalingStatus, ManagedTerminationProtection, NetworkMode, OSFamily, PidMode, PlacementConstraintType, PlacementStrategyType, PlatformDeviceType, PropagateMITags, PropagateTags, ProxyConfigurationType, ResourceManagementType, ResourceType, ScaleUnit, SchedulingStrategy, Scope, ServiceConnectAccessLoggingFormat, ServiceConnectIncludeQueryParameters, ServiceDeploymentLifecycleStage, ServiceDeploymentRollbackMonitorsStatus, ServiceDeploymentStatus, ServiceField, ServiceRevisionCleanup, SettingName, SettingType, SortOrder, StabilityStatus, StopServiceDeploymentStopType, TargetType, TaskDefinitionFamilyStatus, TaskDefinitionField, TaskDefinitionPlacementConstraintType, TaskDefinitionStatus, TaskFilesystemType, ThresholdType, TransportProtocol, UlimitName, VersionConsistency } from "./enums";
|
|
2
|
+
import type { AcceleratorManufacturer, AcceleratorName, AcceleratorType, AccessType, AgentUpdateStatus, ApplicationProtocol, AssignPublicIp, AutoRepairActionsStatus, AvailabilityZoneRebalancing, BareMetal, BurstablePerformance, CapacityOptionType, CapacityProviderField, CapacityProviderStatus, CapacityProviderType, CapacityProviderUpdateStatus, CapacityReservationPreference, ClusterField, ClusterSettingName, Compatibility, ContainerCondition, ContainerInstanceField, ContainerInstanceStatus, CPUArchitecture, CpuManufacturer, DaemonDeploymentRollbackMonitorsStatus, DaemonDeploymentStatus, DaemonIpcMode, DaemonPidMode, DaemonPropagateTags, DaemonStatus, DaemonTaskDefinitionRevisionFilter, DaemonTaskDefinitionStatus, DaemonTaskDefinitionStatusFilter, DeploymentControllerType, DeploymentLifecycleHookAction, DeploymentLifecycleHookStage, DeploymentLifecycleHookStatus, DeploymentLifecycleHookTargetType, DeploymentRolloutState, DeploymentStrategy, DesiredStatus, DeviceCgroupPermission, EBSResourceType, EFSAuthorizationConfigIAM, EFSTransitEncryption, EnvironmentFileType, ExecuteCommandLogging, ExpressCpuArchitecture, ExpressGatewayServiceInclude, ExpressGatewayServiceScalingMetric, ExpressGatewayServiceStatusCode, FirelensConfigurationType, InstanceGeneration, InstanceHealthCheckState, InstanceHealthCheckType, IpcMode, LaunchType, LocalStorage, LocalStorageType, LogDriver, ManagedAgentName, ManagedDraining, ManagedInstancesMonitoringOptions, ManagedResourceStatus, ManagedScalingStatus, ManagedTerminationProtection, NetworkMode, OSFamily, PidMode, PlacementConstraintType, PlacementStrategyType, PlatformDeviceType, PropagateMITags, PropagateTags, ProxyConfigurationType, ResourceManagementType, ResourceType, ScaleUnit, SchedulingStrategy, Scope, ServiceConnectAccessLoggingFormat, ServiceConnectIncludeQueryParameters, ServiceDeploymentLifecycleStage, ServiceDeploymentRollbackMonitorsStatus, ServiceDeploymentStatus, ServiceField, ServiceRevisionCleanup, SettingName, SettingType, SortOrder, StabilityStatus, StopServiceDeploymentStopType, TargetType, TaskDefinitionFamilyStatus, TaskDefinitionField, TaskDefinitionPlacementConstraintType, TaskDefinitionStatus, TaskFilesystemType, ThresholdType, TransportProtocol, UlimitName, VersionConsistency } from "./enums";
|
|
3
3
|
/**
|
|
4
4
|
* <p>The minimum and maximum number of accelerators (such as GPUs) for instance type selection. This is used for workloads that require specific numbers of accelerators.</p>
|
|
5
5
|
* @public
|
|
@@ -5759,6 +5759,11 @@ export interface CreateExpressGatewayServiceRequest {
|
|
|
5759
5759
|
* @public
|
|
5760
5760
|
*/
|
|
5761
5761
|
memory?: string | undefined;
|
|
5762
|
+
/**
|
|
5763
|
+
* <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>
|
|
5764
|
+
* @public
|
|
5765
|
+
*/
|
|
5766
|
+
cpuArchitecture?: ExpressCpuArchitecture | undefined;
|
|
5762
5767
|
/**
|
|
5763
5768
|
* <p>The auto-scaling configuration for the Express service. This defines how the service automatically adjusts the number of running tasks based on demand.</p> <p>You can specify the minimum and maximum number of tasks, the scaling metric (CPU utilization, memory utilization, or request count per target), and the target value for the metric. If not specified, the default target value for an Express service is 60.</p>
|
|
5764
5769
|
* @public
|
|
@@ -5770,7 +5775,7 @@ export interface CreateExpressGatewayServiceRequest {
|
|
|
5770
5775
|
*/
|
|
5771
5776
|
tags?: Tag[] | undefined;
|
|
5772
5777
|
/**
|
|
5773
|
-
* <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>
|
|
5778
|
+
* <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>
|
|
5774
5779
|
* @public
|
|
5775
5780
|
*/
|
|
5776
5781
|
taskDefinitionArn?: string | undefined;
|
|
@@ -5826,6 +5831,11 @@ export interface ExpressGatewayServiceConfiguration {
|
|
|
5826
5831
|
* @public
|
|
5827
5832
|
*/
|
|
5828
5833
|
memory?: string | undefined;
|
|
5834
|
+
/**
|
|
5835
|
+
* <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>
|
|
5836
|
+
* @public
|
|
5837
|
+
*/
|
|
5838
|
+
cpuArchitecture?: ExpressCpuArchitecture | undefined;
|
|
5829
5839
|
/**
|
|
5830
5840
|
* <p>The network configuration for tasks in this service revision.</p>
|
|
5831
5841
|
* @public
|
|
@@ -7408,13 +7418,18 @@ export interface UpdateExpressGatewayServiceRequest {
|
|
|
7408
7418
|
* @public
|
|
7409
7419
|
*/
|
|
7410
7420
|
memory?: string | undefined;
|
|
7421
|
+
/**
|
|
7422
|
+
* <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>
|
|
7423
|
+
* @public
|
|
7424
|
+
*/
|
|
7425
|
+
cpuArchitecture?: ExpressCpuArchitecture | undefined;
|
|
7411
7426
|
/**
|
|
7412
7427
|
* <p>The auto-scaling configuration for the Express service.</p>
|
|
7413
7428
|
* @public
|
|
7414
7429
|
*/
|
|
7415
7430
|
scalingTarget?: ExpressGatewayScalingTarget | undefined;
|
|
7416
7431
|
/**
|
|
7417
|
-
* <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>
|
|
7432
|
+
* <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>
|
|
7418
7433
|
* @public
|
|
7419
7434
|
*/
|
|
7420
7435
|
taskDefinitionArn?: string | undefined;
|
|
@@ -562,6 +562,12 @@ export declare const ServiceDeploymentStatus: {
|
|
|
562
562
|
};
|
|
563
563
|
export type ServiceDeploymentStatus =
|
|
564
564
|
(typeof ServiceDeploymentStatus)[keyof typeof ServiceDeploymentStatus];
|
|
565
|
+
export declare const ExpressCpuArchitecture: {
|
|
566
|
+
readonly ARM64: "ARM64";
|
|
567
|
+
readonly X86_64: "X86_64";
|
|
568
|
+
};
|
|
569
|
+
export type ExpressCpuArchitecture =
|
|
570
|
+
(typeof ExpressCpuArchitecture)[keyof typeof ExpressCpuArchitecture];
|
|
565
571
|
export declare const ExpressGatewayServiceScalingMetric: {
|
|
566
572
|
readonly AverageCPUUtilization: "AVERAGE_CPU";
|
|
567
573
|
readonly AverageMemoryUtilization: "AVERAGE_MEMORY";
|
|
@@ -48,6 +48,7 @@ import {
|
|
|
48
48
|
EFSTransitEncryption,
|
|
49
49
|
EnvironmentFileType,
|
|
50
50
|
ExecuteCommandLogging,
|
|
51
|
+
ExpressCpuArchitecture,
|
|
51
52
|
ExpressGatewayServiceInclude,
|
|
52
53
|
ExpressGatewayServiceScalingMetric,
|
|
53
54
|
ExpressGatewayServiceStatusCode,
|
|
@@ -1446,6 +1447,7 @@ export interface CreateExpressGatewayServiceRequest {
|
|
|
1446
1447
|
networkConfiguration?: ExpressGatewayServiceNetworkConfiguration | undefined;
|
|
1447
1448
|
cpu?: string | undefined;
|
|
1448
1449
|
memory?: string | undefined;
|
|
1450
|
+
cpuArchitecture?: ExpressCpuArchitecture | undefined;
|
|
1449
1451
|
scalingTarget?: ExpressGatewayScalingTarget | undefined;
|
|
1450
1452
|
tags?: Tag[] | undefined;
|
|
1451
1453
|
taskDefinitionArn?: string | undefined;
|
|
@@ -1461,6 +1463,7 @@ export interface ExpressGatewayServiceConfiguration {
|
|
|
1461
1463
|
taskDefinitionArn?: string | undefined;
|
|
1462
1464
|
cpu?: string | undefined;
|
|
1463
1465
|
memory?: string | undefined;
|
|
1466
|
+
cpuArchitecture?: ExpressCpuArchitecture | undefined;
|
|
1464
1467
|
networkConfiguration?: ExpressGatewayServiceNetworkConfiguration | undefined;
|
|
1465
1468
|
healthCheckPath?: string | undefined;
|
|
1466
1469
|
primaryContainer?: ExpressGatewayContainer | undefined;
|
|
@@ -1821,6 +1824,7 @@ export interface UpdateExpressGatewayServiceRequest {
|
|
|
1821
1824
|
networkConfiguration?: ExpressGatewayServiceNetworkConfiguration | undefined;
|
|
1822
1825
|
cpu?: string | undefined;
|
|
1823
1826
|
memory?: string | undefined;
|
|
1827
|
+
cpuArchitecture?: ExpressCpuArchitecture | undefined;
|
|
1824
1828
|
scalingTarget?: ExpressGatewayScalingTarget | undefined;
|
|
1825
1829
|
taskDefinitionArn?: string | undefined;
|
|
1826
1830
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ecs",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1132.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Ecs Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-ecs",
|
|
6
6
|
"license": "Apache-2.0",
|