aws-sdk-ecs 1.52.0 → 1.53.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ecs.rb +1 -1
- data/lib/aws-sdk-ecs/client.rb +404 -346
- data/lib/aws-sdk-ecs/client_api.rb +42 -34
- data/lib/aws-sdk-ecs/types.rb +398 -359
- metadata +2 -2
@@ -666,6 +666,7 @@ module Aws::ECS
|
|
666
666
|
|
667
667
|
Failure.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
|
668
668
|
Failure.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "reason"))
|
669
|
+
Failure.add_member(:detail, Shapes::ShapeRef.new(shape: String, location_name: "detail"))
|
669
670
|
Failure.struct_class = Types::Failure
|
670
671
|
|
671
672
|
Failures.member = Shapes::ShapeRef.new(shape: Failure)
|
@@ -972,19 +973,20 @@ module Aws::ECS
|
|
972
973
|
Resources.member = Shapes::ShapeRef.new(shape: Resource)
|
973
974
|
|
974
975
|
RunTaskRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
|
975
|
-
RunTaskRequest.add_member(:task_definition, Shapes::ShapeRef.new(shape: String, required: true, location_name: "taskDefinition"))
|
976
|
-
RunTaskRequest.add_member(:overrides, Shapes::ShapeRef.new(shape: TaskOverride, location_name: "overrides"))
|
977
976
|
RunTaskRequest.add_member(:count, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "count"))
|
978
|
-
RunTaskRequest.add_member(:
|
977
|
+
RunTaskRequest.add_member(:enable_ecs_managed_tags, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableECSManagedTags"))
|
979
978
|
RunTaskRequest.add_member(:group, Shapes::ShapeRef.new(shape: String, location_name: "group"))
|
979
|
+
RunTaskRequest.add_member(:launch_type, Shapes::ShapeRef.new(shape: LaunchType, location_name: "launchType"))
|
980
|
+
RunTaskRequest.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration"))
|
981
|
+
RunTaskRequest.add_member(:overrides, Shapes::ShapeRef.new(shape: TaskOverride, location_name: "overrides"))
|
980
982
|
RunTaskRequest.add_member(:placement_constraints, Shapes::ShapeRef.new(shape: PlacementConstraints, location_name: "placementConstraints"))
|
981
983
|
RunTaskRequest.add_member(:placement_strategy, Shapes::ShapeRef.new(shape: PlacementStrategies, location_name: "placementStrategy"))
|
982
|
-
RunTaskRequest.add_member(:launch_type, Shapes::ShapeRef.new(shape: LaunchType, location_name: "launchType"))
|
983
984
|
RunTaskRequest.add_member(:platform_version, Shapes::ShapeRef.new(shape: String, location_name: "platformVersion"))
|
984
|
-
RunTaskRequest.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration"))
|
985
|
-
RunTaskRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
986
|
-
RunTaskRequest.add_member(:enable_ecs_managed_tags, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableECSManagedTags"))
|
987
985
|
RunTaskRequest.add_member(:propagate_tags, Shapes::ShapeRef.new(shape: PropagateTags, location_name: "propagateTags"))
|
986
|
+
RunTaskRequest.add_member(:reference_id, Shapes::ShapeRef.new(shape: String, location_name: "referenceId"))
|
987
|
+
RunTaskRequest.add_member(:started_by, Shapes::ShapeRef.new(shape: String, location_name: "startedBy"))
|
988
|
+
RunTaskRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
989
|
+
RunTaskRequest.add_member(:task_definition, Shapes::ShapeRef.new(shape: String, required: true, location_name: "taskDefinition"))
|
988
990
|
RunTaskRequest.struct_class = Types::RunTaskRequest
|
989
991
|
|
990
992
|
RunTaskResponse.add_member(:tasks, Shapes::ShapeRef.new(shape: Tasks, location_name: "tasks"))
|
@@ -1061,15 +1063,16 @@ module Aws::ECS
|
|
1061
1063
|
Settings.member = Shapes::ShapeRef.new(shape: Setting)
|
1062
1064
|
|
1063
1065
|
StartTaskRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
|
1064
|
-
StartTaskRequest.add_member(:task_definition, Shapes::ShapeRef.new(shape: String, required: true, location_name: "taskDefinition"))
|
1065
|
-
StartTaskRequest.add_member(:overrides, Shapes::ShapeRef.new(shape: TaskOverride, location_name: "overrides"))
|
1066
1066
|
StartTaskRequest.add_member(:container_instances, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "containerInstances"))
|
1067
|
-
StartTaskRequest.add_member(:
|
1067
|
+
StartTaskRequest.add_member(:enable_ecs_managed_tags, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableECSManagedTags"))
|
1068
1068
|
StartTaskRequest.add_member(:group, Shapes::ShapeRef.new(shape: String, location_name: "group"))
|
1069
1069
|
StartTaskRequest.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration"))
|
1070
|
-
StartTaskRequest.add_member(:
|
1071
|
-
StartTaskRequest.add_member(:enable_ecs_managed_tags, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableECSManagedTags"))
|
1070
|
+
StartTaskRequest.add_member(:overrides, Shapes::ShapeRef.new(shape: TaskOverride, location_name: "overrides"))
|
1072
1071
|
StartTaskRequest.add_member(:propagate_tags, Shapes::ShapeRef.new(shape: PropagateTags, location_name: "propagateTags"))
|
1072
|
+
StartTaskRequest.add_member(:reference_id, Shapes::ShapeRef.new(shape: String, location_name: "referenceId"))
|
1073
|
+
StartTaskRequest.add_member(:started_by, Shapes::ShapeRef.new(shape: String, location_name: "startedBy"))
|
1074
|
+
StartTaskRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
1075
|
+
StartTaskRequest.add_member(:task_definition, Shapes::ShapeRef.new(shape: String, required: true, location_name: "taskDefinition"))
|
1073
1076
|
StartTaskRequest.struct_class = Types::StartTaskRequest
|
1074
1077
|
|
1075
1078
|
StartTaskResponse.add_member(:tasks, Shapes::ShapeRef.new(shape: Tasks, location_name: "tasks"))
|
@@ -1145,36 +1148,38 @@ module Aws::ECS
|
|
1145
1148
|
|
1146
1149
|
Tags.member = Shapes::ShapeRef.new(shape: Tag)
|
1147
1150
|
|
1148
|
-
Task.add_member(:
|
1151
|
+
Task.add_member(:attachments, Shapes::ShapeRef.new(shape: Attachments, location_name: "attachments"))
|
1152
|
+
Task.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "attributes"))
|
1153
|
+
Task.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
|
1149
1154
|
Task.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: String, location_name: "clusterArn"))
|
1150
|
-
Task.add_member(:
|
1155
|
+
Task.add_member(:connectivity, Shapes::ShapeRef.new(shape: Connectivity, location_name: "connectivity"))
|
1156
|
+
Task.add_member(:connectivity_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "connectivityAt"))
|
1151
1157
|
Task.add_member(:container_instance_arn, Shapes::ShapeRef.new(shape: String, location_name: "containerInstanceArn"))
|
1152
|
-
Task.add_member(:
|
1153
|
-
Task.add_member(:last_status, Shapes::ShapeRef.new(shape: String, location_name: "lastStatus"))
|
1154
|
-
Task.add_member(:desired_status, Shapes::ShapeRef.new(shape: String, location_name: "desiredStatus"))
|
1158
|
+
Task.add_member(:containers, Shapes::ShapeRef.new(shape: Containers, location_name: "containers"))
|
1155
1159
|
Task.add_member(:cpu, Shapes::ShapeRef.new(shape: String, location_name: "cpu"))
|
1160
|
+
Task.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
|
1161
|
+
Task.add_member(:desired_status, Shapes::ShapeRef.new(shape: String, location_name: "desiredStatus"))
|
1162
|
+
Task.add_member(:execution_stopped_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "executionStoppedAt"))
|
1163
|
+
Task.add_member(:group, Shapes::ShapeRef.new(shape: String, location_name: "group"))
|
1164
|
+
Task.add_member(:health_status, Shapes::ShapeRef.new(shape: HealthStatus, location_name: "healthStatus"))
|
1165
|
+
Task.add_member(:inference_accelerators, Shapes::ShapeRef.new(shape: InferenceAccelerators, location_name: "inferenceAccelerators"))
|
1166
|
+
Task.add_member(:last_status, Shapes::ShapeRef.new(shape: String, location_name: "lastStatus"))
|
1167
|
+
Task.add_member(:launch_type, Shapes::ShapeRef.new(shape: LaunchType, location_name: "launchType"))
|
1156
1168
|
Task.add_member(:memory, Shapes::ShapeRef.new(shape: String, location_name: "memory"))
|
1157
|
-
Task.add_member(:
|
1158
|
-
Task.add_member(:
|
1159
|
-
Task.add_member(:version, Shapes::ShapeRef.new(shape: Long, location_name: "version"))
|
1160
|
-
Task.add_member(:stopped_reason, Shapes::ShapeRef.new(shape: String, location_name: "stoppedReason"))
|
1161
|
-
Task.add_member(:stop_code, Shapes::ShapeRef.new(shape: TaskStopCode, location_name: "stopCode"))
|
1162
|
-
Task.add_member(:connectivity, Shapes::ShapeRef.new(shape: Connectivity, location_name: "connectivity"))
|
1163
|
-
Task.add_member(:connectivity_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "connectivityAt"))
|
1169
|
+
Task.add_member(:overrides, Shapes::ShapeRef.new(shape: TaskOverride, location_name: "overrides"))
|
1170
|
+
Task.add_member(:platform_version, Shapes::ShapeRef.new(shape: String, location_name: "platformVersion"))
|
1164
1171
|
Task.add_member(:pull_started_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "pullStartedAt"))
|
1165
1172
|
Task.add_member(:pull_stopped_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "pullStoppedAt"))
|
1166
|
-
Task.add_member(:execution_stopped_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "executionStoppedAt"))
|
1167
|
-
Task.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
|
1168
1173
|
Task.add_member(:started_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startedAt"))
|
1169
|
-
Task.add_member(:
|
1174
|
+
Task.add_member(:started_by, Shapes::ShapeRef.new(shape: String, location_name: "startedBy"))
|
1175
|
+
Task.add_member(:stop_code, Shapes::ShapeRef.new(shape: TaskStopCode, location_name: "stopCode"))
|
1170
1176
|
Task.add_member(:stopped_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "stoppedAt"))
|
1171
|
-
Task.add_member(:
|
1172
|
-
Task.add_member(:
|
1173
|
-
Task.add_member(:platform_version, Shapes::ShapeRef.new(shape: String, location_name: "platformVersion"))
|
1174
|
-
Task.add_member(:attachments, Shapes::ShapeRef.new(shape: Attachments, location_name: "attachments"))
|
1175
|
-
Task.add_member(:health_status, Shapes::ShapeRef.new(shape: HealthStatus, location_name: "healthStatus"))
|
1177
|
+
Task.add_member(:stopped_reason, Shapes::ShapeRef.new(shape: String, location_name: "stoppedReason"))
|
1178
|
+
Task.add_member(:stopping_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "stoppingAt"))
|
1176
1179
|
Task.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
1177
|
-
Task.add_member(:
|
1180
|
+
Task.add_member(:task_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskArn"))
|
1181
|
+
Task.add_member(:task_definition_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskDefinitionArn"))
|
1182
|
+
Task.add_member(:version, Shapes::ShapeRef.new(shape: Long, location_name: "version"))
|
1178
1183
|
Task.struct_class = Types::Task
|
1179
1184
|
|
1180
1185
|
TaskDefinition.add_member(:task_definition_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskDefinitionArn"))
|
@@ -1192,6 +1197,7 @@ module Aws::ECS
|
|
1192
1197
|
TaskDefinition.add_member(:requires_compatibilities, Shapes::ShapeRef.new(shape: CompatibilityList, location_name: "requiresCompatibilities"))
|
1193
1198
|
TaskDefinition.add_member(:cpu, Shapes::ShapeRef.new(shape: String, location_name: "cpu"))
|
1194
1199
|
TaskDefinition.add_member(:memory, Shapes::ShapeRef.new(shape: String, location_name: "memory"))
|
1200
|
+
TaskDefinition.add_member(:inference_accelerators, Shapes::ShapeRef.new(shape: InferenceAccelerators, location_name: "inferenceAccelerators"))
|
1195
1201
|
TaskDefinition.add_member(:pid_mode, Shapes::ShapeRef.new(shape: PidMode, location_name: "pidMode"))
|
1196
1202
|
TaskDefinition.add_member(:ipc_mode, Shapes::ShapeRef.new(shape: IpcMode, location_name: "ipcMode"))
|
1197
1203
|
TaskDefinition.add_member(:proxy_configuration, Shapes::ShapeRef.new(shape: ProxyConfiguration, location_name: "proxyConfiguration"))
|
@@ -1208,9 +1214,11 @@ module Aws::ECS
|
|
1208
1214
|
TaskFieldList.member = Shapes::ShapeRef.new(shape: TaskField)
|
1209
1215
|
|
1210
1216
|
TaskOverride.add_member(:container_overrides, Shapes::ShapeRef.new(shape: ContainerOverrides, location_name: "containerOverrides"))
|
1217
|
+
TaskOverride.add_member(:cpu, Shapes::ShapeRef.new(shape: String, location_name: "cpu"))
|
1211
1218
|
TaskOverride.add_member(:inference_accelerator_overrides, Shapes::ShapeRef.new(shape: InferenceAcceleratorOverrides, location_name: "inferenceAcceleratorOverrides"))
|
1212
|
-
TaskOverride.add_member(:task_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskRoleArn"))
|
1213
1219
|
TaskOverride.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "executionRoleArn"))
|
1220
|
+
TaskOverride.add_member(:memory, Shapes::ShapeRef.new(shape: String, location_name: "memory"))
|
1221
|
+
TaskOverride.add_member(:task_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskRoleArn"))
|
1214
1222
|
TaskOverride.struct_class = Types::TaskOverride
|
1215
1223
|
|
1216
1224
|
TaskSet.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
|
data/lib/aws-sdk-ecs/types.rb
CHANGED
@@ -983,9 +983,8 @@ module Aws::ECS
|
|
983
983
|
# ECS-optimized Linux AMI][2] in the *Amazon Elastic Container Service
|
984
984
|
# Developer Guide*.
|
985
985
|
#
|
986
|
-
#
|
987
|
-
#
|
988
|
-
# platform version 1.3.0 or later.
|
986
|
+
# For tasks using the Fargate launch type, the task or service
|
987
|
+
# requires platform version `1.3.0` or later.
|
989
988
|
#
|
990
989
|
#
|
991
990
|
#
|
@@ -1017,9 +1016,8 @@ module Aws::ECS
|
|
1017
1016
|
# ECS-optimized Linux AMI][2] in the *Amazon Elastic Container Service
|
1018
1017
|
# Developer Guide*.
|
1019
1018
|
#
|
1020
|
-
#
|
1021
|
-
#
|
1022
|
-
# platform version 1.3.0 or later.
|
1019
|
+
# For tasks using the Fargate launch type, the task or service
|
1020
|
+
# requires platform version `1.3.0` or later.
|
1023
1021
|
#
|
1024
1022
|
#
|
1025
1023
|
#
|
@@ -1029,11 +1027,11 @@ module Aws::ECS
|
|
1029
1027
|
#
|
1030
1028
|
# @!attribute [rw] stop_timeout
|
1031
1029
|
# Time duration (in seconds) to wait before the container is
|
1032
|
-
# forcefully killed if it doesn't exit normally on its own.
|
1033
|
-
#
|
1034
|
-
#
|
1035
|
-
#
|
1036
|
-
#
|
1030
|
+
# forcefully killed if it doesn't exit normally on its own.
|
1031
|
+
#
|
1032
|
+
# For tasks using the Fargate launch type, the max `stopTimeout` value
|
1033
|
+
# is 2 minutes and the task or service requires platform version
|
1034
|
+
# `1.3.0` or later.
|
1037
1035
|
#
|
1038
1036
|
# For tasks using the EC2 launch type, the stop timeout value for the
|
1039
1037
|
# container takes precedence over the `ECS_CONTAINER_STOP_TIMEOUT`
|
@@ -3546,11 +3544,16 @@ module Aws::ECS
|
|
3546
3544
|
# The reason for the failure.
|
3547
3545
|
# @return [String]
|
3548
3546
|
#
|
3547
|
+
# @!attribute [rw] detail
|
3548
|
+
# The details of the failure.
|
3549
|
+
# @return [String]
|
3550
|
+
#
|
3549
3551
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Failure AWS API Documentation
|
3550
3552
|
#
|
3551
3553
|
class Failure < Struct.new(
|
3552
3554
|
:arn,
|
3553
|
-
:reason
|
3555
|
+
:reason,
|
3556
|
+
:detail)
|
3554
3557
|
include Aws::Structure
|
3555
3558
|
end
|
3556
3559
|
|
@@ -4119,11 +4122,10 @@ module Aws::ECS
|
|
4119
4122
|
# @return [Boolean]
|
4120
4123
|
#
|
4121
4124
|
# @!attribute [rw] next_token
|
4122
|
-
# The `nextToken` value returned from a
|
4123
|
-
#
|
4124
|
-
#
|
4125
|
-
#
|
4126
|
-
# value.
|
4125
|
+
# The `nextToken` value returned from a `ListAccountSettings` request
|
4126
|
+
# indicating that more results are available to fulfill the request
|
4127
|
+
# and further calls will be needed. If `maxResults` was provided, it
|
4128
|
+
# is possible the number of results to be fewer than `maxResults`.
|
4127
4129
|
#
|
4128
4130
|
# <note markdown="1"> This token should be treated as an opaque identifier that is only
|
4129
4131
|
# used to retrieve the next items in a list and not for other
|
@@ -4208,10 +4210,10 @@ module Aws::ECS
|
|
4208
4210
|
# @return [String]
|
4209
4211
|
#
|
4210
4212
|
# @!attribute [rw] next_token
|
4211
|
-
# The `nextToken` value returned from a
|
4212
|
-
#
|
4213
|
-
#
|
4214
|
-
#
|
4213
|
+
# The `nextToken` value returned from a `ListAttributes` request
|
4214
|
+
# indicating that more results are available to fulfill the request
|
4215
|
+
# and further calls will be needed. If `maxResults` was provided, it
|
4216
|
+
# is possible the number of results to be fewer than `maxResults`.
|
4215
4217
|
#
|
4216
4218
|
# <note markdown="1"> This token should be treated as an opaque identifier that is only
|
4217
4219
|
# used to retrieve the next items in a list and not for other
|
@@ -4272,10 +4274,10 @@ module Aws::ECS
|
|
4272
4274
|
# }
|
4273
4275
|
#
|
4274
4276
|
# @!attribute [rw] next_token
|
4275
|
-
# The `nextToken` value returned from a
|
4276
|
-
#
|
4277
|
-
#
|
4278
|
-
#
|
4277
|
+
# The `nextToken` value returned from a `ListClusters` request
|
4278
|
+
# indicating that more results are available to fulfill the request
|
4279
|
+
# and further calls will be needed. If `maxResults` was provided, it
|
4280
|
+
# is possible the number of results to be fewer than `maxResults`.
|
4279
4281
|
#
|
4280
4282
|
# <note markdown="1"> This token should be treated as an opaque identifier that is only
|
4281
4283
|
# used to retrieve the next items in a list and not for other
|
@@ -4352,11 +4354,11 @@ module Aws::ECS
|
|
4352
4354
|
# @return [String]
|
4353
4355
|
#
|
4354
4356
|
# @!attribute [rw] next_token
|
4355
|
-
# The `nextToken` value returned from a
|
4356
|
-
#
|
4357
|
-
#
|
4358
|
-
#
|
4359
|
-
#
|
4357
|
+
# The `nextToken` value returned from a `ListContainerInstances`
|
4358
|
+
# request indicating that more results are available to fulfill the
|
4359
|
+
# request and further calls will be needed. If `maxResults` was
|
4360
|
+
# provided, it is possible the number of results to be fewer than
|
4361
|
+
# `maxResults`.
|
4360
4362
|
#
|
4361
4363
|
# <note markdown="1"> This token should be treated as an opaque identifier that is only
|
4362
4364
|
# used to retrieve the next items in a list and not for other
|
@@ -4436,10 +4438,10 @@ module Aws::ECS
|
|
4436
4438
|
# @return [String]
|
4437
4439
|
#
|
4438
4440
|
# @!attribute [rw] next_token
|
4439
|
-
# The `nextToken` value returned from a
|
4440
|
-
#
|
4441
|
-
#
|
4442
|
-
#
|
4441
|
+
# The `nextToken` value returned from a `ListServices` request
|
4442
|
+
# indicating that more results are available to fulfill the request
|
4443
|
+
# and further calls will be needed. If `maxResults` was provided, it
|
4444
|
+
# is possible the number of results to be fewer than `maxResults`.
|
4443
4445
|
#
|
4444
4446
|
# <note markdown="1"> This token should be treated as an opaque identifier that is only
|
4445
4447
|
# used to retrieve the next items in a list and not for other
|
@@ -4560,11 +4562,11 @@ module Aws::ECS
|
|
4560
4562
|
# @return [String]
|
4561
4563
|
#
|
4562
4564
|
# @!attribute [rw] next_token
|
4563
|
-
# The `nextToken` value returned from a
|
4564
|
-
#
|
4565
|
-
#
|
4566
|
-
#
|
4567
|
-
# `
|
4565
|
+
# The `nextToken` value returned from a `ListTaskDefinitionFamilies`
|
4566
|
+
# request indicating that more results are available to fulfill the
|
4567
|
+
# request and further calls will be needed. If `maxResults` was
|
4568
|
+
# provided, it is possible the number of results to be fewer than
|
4569
|
+
# `maxResults`.
|
4568
4570
|
#
|
4569
4571
|
# <note markdown="1"> This token should be treated as an opaque identifier that is only
|
4570
4572
|
# used to retrieve the next items in a list and not for other
|
@@ -4654,11 +4656,10 @@ module Aws::ECS
|
|
4654
4656
|
# @return [String]
|
4655
4657
|
#
|
4656
4658
|
# @!attribute [rw] next_token
|
4657
|
-
# The `nextToken` value returned from a
|
4658
|
-
#
|
4659
|
-
#
|
4660
|
-
#
|
4661
|
-
# value.
|
4659
|
+
# The `nextToken` value returned from a `ListTaskDefinitions` request
|
4660
|
+
# indicating that more results are available to fulfill the request
|
4661
|
+
# and further calls will be needed. If `maxResults` was provided, it
|
4662
|
+
# is possible the number of results to be fewer than `maxResults`.
|
4662
4663
|
#
|
4663
4664
|
# <note markdown="1"> This token should be treated as an opaque identifier that is only
|
4664
4665
|
# used to retrieve the next items in a list and not for other
|
@@ -4746,10 +4747,10 @@ module Aws::ECS
|
|
4746
4747
|
# @return [String]
|
4747
4748
|
#
|
4748
4749
|
# @!attribute [rw] next_token
|
4749
|
-
# The `nextToken` value returned from a
|
4750
|
-
#
|
4751
|
-
#
|
4752
|
-
#
|
4750
|
+
# The `nextToken` value returned from a `ListTasks` request indicating
|
4751
|
+
# that more results are available to fulfill the request and further
|
4752
|
+
# calls will be needed. If `maxResults` was provided, it is possible
|
4753
|
+
# the number of results to be fewer than `maxResults`.
|
4753
4754
|
#
|
4754
4755
|
# <note markdown="1"> This token should be treated as an opaque identifier that is only
|
4755
4756
|
# used to retrieve the next items in a list and not for other
|
@@ -4937,23 +4938,19 @@ module Aws::ECS
|
|
4937
4938
|
# can communicate with by default.
|
4938
4939
|
#
|
4939
4940
|
# For tasks using the Fargate launch type, the supported log drivers
|
4940
|
-
# are `awslogs
|
4941
|
+
# are `awslogs` and `splunk`.
|
4941
4942
|
#
|
4942
4943
|
# For tasks using the EC2 launch type, the supported log drivers are
|
4943
4944
|
# `awslogs`, `fluentd`, `gelf`, `json-file`, `journald`, `logentries`,
|
4944
|
-
# `syslog`,
|
4945
|
+
# `syslog`, and `splunk`.
|
4945
4946
|
#
|
4946
4947
|
# For more information about using the `awslogs` log driver, see
|
4947
4948
|
# [Using the awslogs Log Driver][1] in the *Amazon Elastic Container
|
4948
4949
|
# Service Developer Guide*.
|
4949
4950
|
#
|
4950
|
-
# For more information about using the `awsfirelens` log driver, see
|
4951
|
-
# [Custom Log Routing][2] in the *Amazon Elastic Container Service
|
4952
|
-
# Developer Guide*.
|
4953
|
-
#
|
4954
4951
|
# <note markdown="1"> If you have a custom driver that is not listed above that you would
|
4955
4952
|
# like to work with the Amazon ECS container agent, you can fork the
|
4956
|
-
# Amazon ECS container agent project that is [available on GitHub][
|
4953
|
+
# Amazon ECS container agent project that is [available on GitHub][2]
|
4957
4954
|
# and customize it to work with that driver. We encourage you to
|
4958
4955
|
# submit pull requests for changes that you would like to have
|
4959
4956
|
# included. However, Amazon Web Services does not currently support
|
@@ -4970,8 +4967,7 @@ module Aws::ECS
|
|
4970
4967
|
#
|
4971
4968
|
#
|
4972
4969
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_awslogs.html
|
4973
|
-
# [2]: https://
|
4974
|
-
# [3]: https://github.com/aws/amazon-ecs-agent
|
4970
|
+
# [2]: https://github.com/aws/amazon-ecs-agent
|
4975
4971
|
# @return [String]
|
4976
4972
|
#
|
4977
4973
|
# @!attribute [rw] options
|
@@ -6398,7 +6394,17 @@ module Aws::ECS
|
|
6398
6394
|
#
|
6399
6395
|
# {
|
6400
6396
|
# cluster: "String",
|
6401
|
-
#
|
6397
|
+
# count: 1,
|
6398
|
+
# enable_ecs_managed_tags: false,
|
6399
|
+
# group: "String",
|
6400
|
+
# launch_type: "EC2", # accepts EC2, FARGATE
|
6401
|
+
# network_configuration: {
|
6402
|
+
# awsvpc_configuration: {
|
6403
|
+
# subnets: ["String"], # required
|
6404
|
+
# security_groups: ["String"],
|
6405
|
+
# assign_public_ip: "ENABLED", # accepts ENABLED, DISABLED
|
6406
|
+
# },
|
6407
|
+
# },
|
6402
6408
|
# overrides: {
|
6403
6409
|
# container_overrides: [
|
6404
6410
|
# {
|
@@ -6421,18 +6427,17 @@ module Aws::ECS
|
|
6421
6427
|
# ],
|
6422
6428
|
# },
|
6423
6429
|
# ],
|
6430
|
+
# cpu: "String",
|
6424
6431
|
# inference_accelerator_overrides: [
|
6425
6432
|
# {
|
6426
6433
|
# device_name: "String",
|
6427
6434
|
# device_type: "String",
|
6428
6435
|
# },
|
6429
6436
|
# ],
|
6430
|
-
# task_role_arn: "String",
|
6431
6437
|
# execution_role_arn: "String",
|
6438
|
+
# memory: "String",
|
6439
|
+
# task_role_arn: "String",
|
6432
6440
|
# },
|
6433
|
-
# count: 1,
|
6434
|
-
# started_by: "String",
|
6435
|
-
# group: "String",
|
6436
6441
|
# placement_constraints: [
|
6437
6442
|
# {
|
6438
6443
|
# type: "distinctInstance", # accepts distinctInstance, memberOf
|
@@ -6445,23 +6450,17 @@ module Aws::ECS
|
|
6445
6450
|
# field: "String",
|
6446
6451
|
# },
|
6447
6452
|
# ],
|
6448
|
-
# launch_type: "EC2", # accepts EC2, FARGATE
|
6449
6453
|
# platform_version: "String",
|
6450
|
-
#
|
6451
|
-
#
|
6452
|
-
#
|
6453
|
-
# security_groups: ["String"],
|
6454
|
-
# assign_public_ip: "ENABLED", # accepts ENABLED, DISABLED
|
6455
|
-
# },
|
6456
|
-
# },
|
6454
|
+
# propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE
|
6455
|
+
# reference_id: "String",
|
6456
|
+
# started_by: "String",
|
6457
6457
|
# tags: [
|
6458
6458
|
# {
|
6459
6459
|
# key: "TagKey",
|
6460
6460
|
# value: "TagValue",
|
6461
6461
|
# },
|
6462
6462
|
# ],
|
6463
|
-
#
|
6464
|
-
# propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE
|
6463
|
+
# task_definition: "String", # required
|
6465
6464
|
# }
|
6466
6465
|
#
|
6467
6466
|
# @!attribute [rw] cluster
|
@@ -6470,12 +6469,49 @@ module Aws::ECS
|
|
6470
6469
|
# cluster is assumed.
|
6471
6470
|
# @return [String]
|
6472
6471
|
#
|
6473
|
-
# @!attribute [rw]
|
6474
|
-
# The
|
6475
|
-
#
|
6476
|
-
#
|
6472
|
+
# @!attribute [rw] count
|
6473
|
+
# The number of instantiations of the specified task to place on your
|
6474
|
+
# cluster. You can specify up to 10 tasks per call.
|
6475
|
+
# @return [Integer]
|
6476
|
+
#
|
6477
|
+
# @!attribute [rw] enable_ecs_managed_tags
|
6478
|
+
# Specifies whether to enable Amazon ECS managed tags for the task.
|
6479
|
+
# For more information, see [Tagging Your Amazon ECS Resources][1] in
|
6480
|
+
# the *Amazon Elastic Container Service Developer Guide*.
|
6481
|
+
#
|
6482
|
+
#
|
6483
|
+
#
|
6484
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html
|
6485
|
+
# @return [Boolean]
|
6486
|
+
#
|
6487
|
+
# @!attribute [rw] group
|
6488
|
+
# The name of the task group to associate with the task. The default
|
6489
|
+
# value is the family name of the task definition (for example,
|
6490
|
+
# family:my-family-name).
|
6491
|
+
# @return [String]
|
6492
|
+
#
|
6493
|
+
# @!attribute [rw] launch_type
|
6494
|
+
# The launch type on which to run your task. For more information, see
|
6495
|
+
# [Amazon ECS Launch Types][1] in the *Amazon Elastic Container
|
6496
|
+
# Service Developer Guide*.
|
6497
|
+
#
|
6498
|
+
#
|
6499
|
+
#
|
6500
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html
|
6477
6501
|
# @return [String]
|
6478
6502
|
#
|
6503
|
+
# @!attribute [rw] network_configuration
|
6504
|
+
# The network configuration for the task. This parameter is required
|
6505
|
+
# for task definitions that use the `awsvpc` network mode to receive
|
6506
|
+
# their own elastic network interface, and it is not supported for
|
6507
|
+
# other network modes. For more information, see [Task Networking][1]
|
6508
|
+
# in the *Amazon Elastic Container Service Developer Guide*.
|
6509
|
+
#
|
6510
|
+
#
|
6511
|
+
#
|
6512
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html
|
6513
|
+
# @return [Types::NetworkConfiguration]
|
6514
|
+
#
|
6479
6515
|
# @!attribute [rw] overrides
|
6480
6516
|
# A list of container overrides in JSON format that specify the name
|
6481
6517
|
# of a container in the specified task definition and the overrides it
|
@@ -6492,30 +6528,6 @@ module Aws::ECS
|
|
6492
6528
|
# </note>
|
6493
6529
|
# @return [Types::TaskOverride]
|
6494
6530
|
#
|
6495
|
-
# @!attribute [rw] count
|
6496
|
-
# The number of instantiations of the specified task to place on your
|
6497
|
-
# cluster. You can specify up to 10 tasks per call.
|
6498
|
-
# @return [Integer]
|
6499
|
-
#
|
6500
|
-
# @!attribute [rw] started_by
|
6501
|
-
# An optional tag specified when a task is started. For example, if
|
6502
|
-
# you automatically trigger a task to run a batch process job, you
|
6503
|
-
# could apply a unique identifier for that job to your task with the
|
6504
|
-
# `startedBy` parameter. You can then identify which tasks belong to
|
6505
|
-
# that job by filtering the results of a ListTasks call with the
|
6506
|
-
# `startedBy` value. Up to 36 letters (uppercase and lowercase),
|
6507
|
-
# numbers, hyphens, and underscores are allowed.
|
6508
|
-
#
|
6509
|
-
# If a task is started by an Amazon ECS service, then the `startedBy`
|
6510
|
-
# parameter contains the deployment ID of the service that starts it.
|
6511
|
-
# @return [String]
|
6512
|
-
#
|
6513
|
-
# @!attribute [rw] group
|
6514
|
-
# The name of the task group to associate with the task. The default
|
6515
|
-
# value is the family name of the task definition (for example,
|
6516
|
-
# family:my-family-name).
|
6517
|
-
# @return [String]
|
6518
|
-
#
|
6519
6531
|
# @!attribute [rw] placement_constraints
|
6520
6532
|
# An array of placement constraint objects to use for the task. You
|
6521
6533
|
# can specify up to 10 constraints per task (including constraints in
|
@@ -6527,16 +6539,6 @@ module Aws::ECS
|
|
6527
6539
|
# a maximum of five strategy rules per task.
|
6528
6540
|
# @return [Array<Types::PlacementStrategy>]
|
6529
6541
|
#
|
6530
|
-
# @!attribute [rw] launch_type
|
6531
|
-
# The launch type on which to run your task. For more information, see
|
6532
|
-
# [Amazon ECS Launch Types][1] in the *Amazon Elastic Container
|
6533
|
-
# Service Developer Guide*.
|
6534
|
-
#
|
6535
|
-
#
|
6536
|
-
#
|
6537
|
-
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html
|
6538
|
-
# @return [String]
|
6539
|
-
#
|
6540
6542
|
# @!attribute [rw] platform_version
|
6541
6543
|
# The platform version the task should run. A platform version is only
|
6542
6544
|
# specified for tasks using the Fargate launch type. If one is not
|
@@ -6549,17 +6551,34 @@ module Aws::ECS
|
|
6549
6551
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html
|
6550
6552
|
# @return [String]
|
6551
6553
|
#
|
6552
|
-
# @!attribute [rw]
|
6553
|
-
#
|
6554
|
-
#
|
6555
|
-
#
|
6556
|
-
#
|
6557
|
-
# in the *Amazon Elastic Container Service Developer Guide*.
|
6554
|
+
# @!attribute [rw] propagate_tags
|
6555
|
+
# Specifies whether to propagate the tags from the task definition to
|
6556
|
+
# the task. If no value is specified, the tags are not propagated.
|
6557
|
+
# Tags can only be propagated to the task during task creation. To add
|
6558
|
+
# tags to a task after task creation, use the TagResource API action.
|
6558
6559
|
#
|
6560
|
+
# <note markdown="1"> An error will be received if you specify the `SERVICE` option when
|
6561
|
+
# running a task.
|
6562
|
+
#
|
6563
|
+
# </note>
|
6564
|
+
# @return [String]
|
6559
6565
|
#
|
6566
|
+
# @!attribute [rw] reference_id
|
6567
|
+
# The reference ID to use for the task.
|
6568
|
+
# @return [String]
|
6560
6569
|
#
|
6561
|
-
#
|
6562
|
-
#
|
6570
|
+
# @!attribute [rw] started_by
|
6571
|
+
# An optional tag specified when a task is started. For example, if
|
6572
|
+
# you automatically trigger a task to run a batch process job, you
|
6573
|
+
# could apply a unique identifier for that job to your task with the
|
6574
|
+
# `startedBy` parameter. You can then identify which tasks belong to
|
6575
|
+
# that job by filtering the results of a ListTasks call with the
|
6576
|
+
# `startedBy` value. Up to 36 letters (uppercase and lowercase),
|
6577
|
+
# numbers, hyphens, and underscores are allowed.
|
6578
|
+
#
|
6579
|
+
# If a task is started by an Amazon ECS service, then the `startedBy`
|
6580
|
+
# parameter contains the deployment ID of the service that starts it.
|
6581
|
+
# @return [String]
|
6563
6582
|
#
|
6564
6583
|
# @!attribute [rw] tags
|
6565
6584
|
# The metadata that you apply to the task to help you categorize and
|
@@ -6592,45 +6611,30 @@ module Aws::ECS
|
|
6592
6611
|
# per resource limit.
|
6593
6612
|
# @return [Array<Types::Tag>]
|
6594
6613
|
#
|
6595
|
-
# @!attribute [rw]
|
6596
|
-
#
|
6597
|
-
#
|
6598
|
-
#
|
6599
|
-
#
|
6600
|
-
#
|
6601
|
-
#
|
6602
|
-
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html
|
6603
|
-
# @return [Boolean]
|
6604
|
-
#
|
6605
|
-
# @!attribute [rw] propagate_tags
|
6606
|
-
# Specifies whether to propagate the tags from the task definition to
|
6607
|
-
# the task. If no value is specified, the tags are not propagated.
|
6608
|
-
# Tags can only be propagated to the task during task creation. To add
|
6609
|
-
# tags to a task after task creation, use the TagResource API action.
|
6610
|
-
#
|
6611
|
-
# <note markdown="1"> An error will be received if you specify the `SERVICE` option when
|
6612
|
-
# running a task.
|
6613
|
-
#
|
6614
|
-
# </note>
|
6614
|
+
# @!attribute [rw] task_definition
|
6615
|
+
# The `family` and `revision` (`family:revision`) or full ARN of the
|
6616
|
+
# task definition to run. If a `revision` is not specified, the latest
|
6617
|
+
# `ACTIVE` revision is used.
|
6615
6618
|
# @return [String]
|
6616
6619
|
#
|
6617
6620
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RunTaskRequest AWS API Documentation
|
6618
6621
|
#
|
6619
6622
|
class RunTaskRequest < Struct.new(
|
6620
6623
|
:cluster,
|
6621
|
-
:task_definition,
|
6622
|
-
:overrides,
|
6623
6624
|
:count,
|
6624
|
-
:
|
6625
|
+
:enable_ecs_managed_tags,
|
6625
6626
|
:group,
|
6627
|
+
:launch_type,
|
6628
|
+
:network_configuration,
|
6629
|
+
:overrides,
|
6626
6630
|
:placement_constraints,
|
6627
6631
|
:placement_strategy,
|
6628
|
-
:launch_type,
|
6629
6632
|
:platform_version,
|
6630
|
-
:
|
6633
|
+
:propagate_tags,
|
6634
|
+
:reference_id,
|
6635
|
+
:started_by,
|
6631
6636
|
:tags,
|
6632
|
-
:
|
6633
|
-
:propagate_tags)
|
6637
|
+
:task_definition)
|
6634
6638
|
include Aws::Structure
|
6635
6639
|
end
|
6636
6640
|
|
@@ -7115,7 +7119,16 @@ module Aws::ECS
|
|
7115
7119
|
#
|
7116
7120
|
# {
|
7117
7121
|
# cluster: "String",
|
7118
|
-
#
|
7122
|
+
# container_instances: ["String"], # required
|
7123
|
+
# enable_ecs_managed_tags: false,
|
7124
|
+
# group: "String",
|
7125
|
+
# network_configuration: {
|
7126
|
+
# awsvpc_configuration: {
|
7127
|
+
# subnets: ["String"], # required
|
7128
|
+
# security_groups: ["String"],
|
7129
|
+
# assign_public_ip: "ENABLED", # accepts ENABLED, DISABLED
|
7130
|
+
# },
|
7131
|
+
# },
|
7119
7132
|
# overrides: {
|
7120
7133
|
# container_overrides: [
|
7121
7134
|
# {
|
@@ -7138,33 +7151,27 @@ module Aws::ECS
|
|
7138
7151
|
# ],
|
7139
7152
|
# },
|
7140
7153
|
# ],
|
7154
|
+
# cpu: "String",
|
7141
7155
|
# inference_accelerator_overrides: [
|
7142
7156
|
# {
|
7143
7157
|
# device_name: "String",
|
7144
7158
|
# device_type: "String",
|
7145
7159
|
# },
|
7146
7160
|
# ],
|
7147
|
-
# task_role_arn: "String",
|
7148
7161
|
# execution_role_arn: "String",
|
7162
|
+
# memory: "String",
|
7163
|
+
# task_role_arn: "String",
|
7149
7164
|
# },
|
7150
|
-
#
|
7165
|
+
# propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE
|
7166
|
+
# reference_id: "String",
|
7151
7167
|
# started_by: "String",
|
7152
|
-
# group: "String",
|
7153
|
-
# network_configuration: {
|
7154
|
-
# awsvpc_configuration: {
|
7155
|
-
# subnets: ["String"], # required
|
7156
|
-
# security_groups: ["String"],
|
7157
|
-
# assign_public_ip: "ENABLED", # accepts ENABLED, DISABLED
|
7158
|
-
# },
|
7159
|
-
# },
|
7160
7168
|
# tags: [
|
7161
7169
|
# {
|
7162
7170
|
# key: "TagKey",
|
7163
7171
|
# value: "TagValue",
|
7164
7172
|
# },
|
7165
7173
|
# ],
|
7166
|
-
#
|
7167
|
-
# propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE
|
7174
|
+
# task_definition: "String", # required
|
7168
7175
|
# }
|
7169
7176
|
#
|
7170
7177
|
# @!attribute [rw] cluster
|
@@ -7173,46 +7180,21 @@ module Aws::ECS
|
|
7173
7180
|
# default cluster is assumed.
|
7174
7181
|
# @return [String]
|
7175
7182
|
#
|
7176
|
-
# @!attribute [rw] task_definition
|
7177
|
-
# The `family` and `revision` (`family:revision`) or full ARN of the
|
7178
|
-
# task definition to start. If a `revision` is not specified, the
|
7179
|
-
# latest `ACTIVE` revision is used.
|
7180
|
-
# @return [String]
|
7181
|
-
#
|
7182
|
-
# @!attribute [rw] overrides
|
7183
|
-
# A list of container overrides in JSON format that specify the name
|
7184
|
-
# of a container in the specified task definition and the overrides it
|
7185
|
-
# should receive. You can override the default command for a container
|
7186
|
-
# (that is specified in the task definition or Docker image) with a
|
7187
|
-
# `command` override. You can also override existing environment
|
7188
|
-
# variables (that are specified in the task definition or Docker
|
7189
|
-
# image) on a container or add new environment variables to it with an
|
7190
|
-
# `environment` override.
|
7191
|
-
#
|
7192
|
-
# <note markdown="1"> A total of 8192 characters are allowed for overrides. This limit
|
7193
|
-
# includes the JSON formatting characters of the override structure.
|
7194
|
-
#
|
7195
|
-
# </note>
|
7196
|
-
# @return [Types::TaskOverride]
|
7197
|
-
#
|
7198
7183
|
# @!attribute [rw] container_instances
|
7199
7184
|
# The container instance IDs or full ARN entries for the container
|
7200
7185
|
# instances on which you would like to place your task. You can
|
7201
7186
|
# specify up to 10 container instances.
|
7202
7187
|
# @return [Array<String>]
|
7203
7188
|
#
|
7204
|
-
# @!attribute [rw]
|
7205
|
-
#
|
7206
|
-
#
|
7207
|
-
#
|
7208
|
-
# `startedBy` parameter. You can then identify which tasks belong to
|
7209
|
-
# that job by filtering the results of a ListTasks call with the
|
7210
|
-
# `startedBy` value. Up to 36 letters (uppercase and lowercase),
|
7211
|
-
# numbers, hyphens, and underscores are allowed.
|
7189
|
+
# @!attribute [rw] enable_ecs_managed_tags
|
7190
|
+
# Specifies whether to enable Amazon ECS managed tags for the task.
|
7191
|
+
# For more information, see [Tagging Your Amazon ECS Resources][1] in
|
7192
|
+
# the *Amazon Elastic Container Service Developer Guide*.
|
7212
7193
|
#
|
7213
|
-
#
|
7214
|
-
#
|
7215
|
-
#
|
7194
|
+
#
|
7195
|
+
#
|
7196
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html
|
7197
|
+
# @return [Boolean]
|
7216
7198
|
#
|
7217
7199
|
# @!attribute [rw] group
|
7218
7200
|
# The name of the task group to associate with the task. The default
|
@@ -7226,6 +7208,45 @@ module Aws::ECS
|
|
7226
7208
|
# networking mode.
|
7227
7209
|
# @return [Types::NetworkConfiguration]
|
7228
7210
|
#
|
7211
|
+
# @!attribute [rw] overrides
|
7212
|
+
# A list of container overrides in JSON format that specify the name
|
7213
|
+
# of a container in the specified task definition and the overrides it
|
7214
|
+
# should receive. You can override the default command for a container
|
7215
|
+
# (that is specified in the task definition or Docker image) with a
|
7216
|
+
# `command` override. You can also override existing environment
|
7217
|
+
# variables (that are specified in the task definition or Docker
|
7218
|
+
# image) on a container or add new environment variables to it with an
|
7219
|
+
# `environment` override.
|
7220
|
+
#
|
7221
|
+
# <note markdown="1"> A total of 8192 characters are allowed for overrides. This limit
|
7222
|
+
# includes the JSON formatting characters of the override structure.
|
7223
|
+
#
|
7224
|
+
# </note>
|
7225
|
+
# @return [Types::TaskOverride]
|
7226
|
+
#
|
7227
|
+
# @!attribute [rw] propagate_tags
|
7228
|
+
# Specifies whether to propagate the tags from the task definition or
|
7229
|
+
# the service to the task. If no value is specified, the tags are not
|
7230
|
+
# propagated.
|
7231
|
+
# @return [String]
|
7232
|
+
#
|
7233
|
+
# @!attribute [rw] reference_id
|
7234
|
+
# The reference ID to use for the task.
|
7235
|
+
# @return [String]
|
7236
|
+
#
|
7237
|
+
# @!attribute [rw] started_by
|
7238
|
+
# An optional tag specified when a task is started. For example, if
|
7239
|
+
# you automatically trigger a task to run a batch process job, you
|
7240
|
+
# could apply a unique identifier for that job to your task with the
|
7241
|
+
# `startedBy` parameter. You can then identify which tasks belong to
|
7242
|
+
# that job by filtering the results of a ListTasks call with the
|
7243
|
+
# `startedBy` value. Up to 36 letters (uppercase and lowercase),
|
7244
|
+
# numbers, hyphens, and underscores are allowed.
|
7245
|
+
#
|
7246
|
+
# If a task is started by an Amazon ECS service, then the `startedBy`
|
7247
|
+
# parameter contains the deployment ID of the service that starts it.
|
7248
|
+
# @return [String]
|
7249
|
+
#
|
7229
7250
|
# @!attribute [rw] tags
|
7230
7251
|
# The metadata that you apply to the task to help you categorize and
|
7231
7252
|
# organize them. Each tag consists of a key and an optional value,
|
@@ -7257,35 +7278,26 @@ module Aws::ECS
|
|
7257
7278
|
# per resource limit.
|
7258
7279
|
# @return [Array<Types::Tag>]
|
7259
7280
|
#
|
7260
|
-
# @!attribute [rw]
|
7261
|
-
#
|
7262
|
-
#
|
7263
|
-
#
|
7264
|
-
#
|
7265
|
-
#
|
7266
|
-
#
|
7267
|
-
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html
|
7268
|
-
# @return [Boolean]
|
7269
|
-
#
|
7270
|
-
# @!attribute [rw] propagate_tags
|
7271
|
-
# Specifies whether to propagate the tags from the task definition or
|
7272
|
-
# the service to the task. If no value is specified, the tags are not
|
7273
|
-
# propagated.
|
7281
|
+
# @!attribute [rw] task_definition
|
7282
|
+
# The `family` and `revision` (`family:revision`) or full ARN of the
|
7283
|
+
# task definition to start. If a `revision` is not specified, the
|
7284
|
+
# latest `ACTIVE` revision is used.
|
7274
7285
|
# @return [String]
|
7275
7286
|
#
|
7276
7287
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/StartTaskRequest AWS API Documentation
|
7277
7288
|
#
|
7278
7289
|
class StartTaskRequest < Struct.new(
|
7279
7290
|
:cluster,
|
7280
|
-
:task_definition,
|
7281
|
-
:overrides,
|
7282
7291
|
:container_instances,
|
7283
|
-
:
|
7292
|
+
:enable_ecs_managed_tags,
|
7284
7293
|
:group,
|
7285
7294
|
:network_configuration,
|
7295
|
+
:overrides,
|
7296
|
+
:propagate_tags,
|
7297
|
+
:reference_id,
|
7298
|
+
:started_by,
|
7286
7299
|
:tags,
|
7287
|
-
:
|
7288
|
-
:propagate_tags)
|
7300
|
+
:task_definition)
|
7289
7301
|
include Aws::Structure
|
7290
7302
|
end
|
7291
7303
|
|
@@ -7744,43 +7756,39 @@ module Aws::ECS
|
|
7744
7756
|
|
7745
7757
|
# Details on a task in a cluster.
|
7746
7758
|
#
|
7747
|
-
# @!attribute [rw]
|
7748
|
-
# The
|
7759
|
+
# @!attribute [rw] attachments
|
7760
|
+
# The Elastic Network Adapter associated with the task if the task
|
7761
|
+
# uses the `awsvpc` network mode.
|
7762
|
+
# @return [Array<Types::Attachment>]
|
7763
|
+
#
|
7764
|
+
# @!attribute [rw] attributes
|
7765
|
+
# The attributes of the task
|
7766
|
+
# @return [Array<Types::Attribute>]
|
7767
|
+
#
|
7768
|
+
# @!attribute [rw] availability_zone
|
7769
|
+
# The availability zone of the task.
|
7749
7770
|
# @return [String]
|
7750
7771
|
#
|
7751
7772
|
# @!attribute [rw] cluster_arn
|
7752
7773
|
# The ARN of the cluster that hosts the task.
|
7753
7774
|
# @return [String]
|
7754
7775
|
#
|
7755
|
-
# @!attribute [rw]
|
7756
|
-
# The
|
7776
|
+
# @!attribute [rw] connectivity
|
7777
|
+
# The connectivity status of a task.
|
7757
7778
|
# @return [String]
|
7758
7779
|
#
|
7780
|
+
# @!attribute [rw] connectivity_at
|
7781
|
+
# The Unix timestamp for when the task last went into `CONNECTED`
|
7782
|
+
# status.
|
7783
|
+
# @return [Time]
|
7784
|
+
#
|
7759
7785
|
# @!attribute [rw] container_instance_arn
|
7760
7786
|
# The ARN of the container instances that host the task.
|
7761
7787
|
# @return [String]
|
7762
7788
|
#
|
7763
|
-
# @!attribute [rw]
|
7764
|
-
#
|
7765
|
-
# @return [Types::
|
7766
|
-
#
|
7767
|
-
# @!attribute [rw] last_status
|
7768
|
-
# The last known status of the task. For more information, see [Task
|
7769
|
-
# Lifecycle][1].
|
7770
|
-
#
|
7771
|
-
#
|
7772
|
-
#
|
7773
|
-
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-lifecycle.html
|
7774
|
-
# @return [String]
|
7775
|
-
#
|
7776
|
-
# @!attribute [rw] desired_status
|
7777
|
-
# The desired status of the task. For more information, see [Task
|
7778
|
-
# Lifecycle][1].
|
7779
|
-
#
|
7780
|
-
#
|
7781
|
-
#
|
7782
|
-
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-lifecycle.html
|
7783
|
-
# @return [String]
|
7789
|
+
# @!attribute [rw] containers
|
7790
|
+
# The containers associated with the task.
|
7791
|
+
# @return [Array<Types::Container>]
|
7784
7792
|
#
|
7785
7793
|
# @!attribute [rw] cpu
|
7786
7794
|
# The number of CPU units used by the task as expressed in a task
|
@@ -7815,6 +7823,69 @@ module Aws::ECS
|
|
7815
7823
|
# 30720 (30 GB) in increments of 1024 (1 GB)
|
7816
7824
|
# @return [String]
|
7817
7825
|
#
|
7826
|
+
# @!attribute [rw] created_at
|
7827
|
+
# The Unix timestamp for when the task was created (the task entered
|
7828
|
+
# the `PENDING` state).
|
7829
|
+
# @return [Time]
|
7830
|
+
#
|
7831
|
+
# @!attribute [rw] desired_status
|
7832
|
+
# The desired status of the task. For more information, see [Task
|
7833
|
+
# Lifecycle][1].
|
7834
|
+
#
|
7835
|
+
#
|
7836
|
+
#
|
7837
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-lifecycle.html
|
7838
|
+
# @return [String]
|
7839
|
+
#
|
7840
|
+
# @!attribute [rw] execution_stopped_at
|
7841
|
+
# The Unix timestamp for when the task execution stopped.
|
7842
|
+
# @return [Time]
|
7843
|
+
#
|
7844
|
+
# @!attribute [rw] group
|
7845
|
+
# The name of the task group associated with the task.
|
7846
|
+
# @return [String]
|
7847
|
+
#
|
7848
|
+
# @!attribute [rw] health_status
|
7849
|
+
# The health status for the task, which is determined by the health of
|
7850
|
+
# the essential containers in the task. If all essential containers in
|
7851
|
+
# the task are reporting as `HEALTHY`, then the task status also
|
7852
|
+
# reports as `HEALTHY`. If any essential containers in the task are
|
7853
|
+
# reporting as `UNHEALTHY` or `UNKNOWN`, then the task status also
|
7854
|
+
# reports as `UNHEALTHY` or `UNKNOWN`, accordingly.
|
7855
|
+
#
|
7856
|
+
# <note markdown="1"> The Amazon ECS container agent does not monitor or report on Docker
|
7857
|
+
# health checks that are embedded in a container image (such as those
|
7858
|
+
# specified in a parent image or from the image's Dockerfile) and not
|
7859
|
+
# specified in the container definition. Health check parameters that
|
7860
|
+
# are specified in a container definition override any Docker health
|
7861
|
+
# checks that exist in the container image.
|
7862
|
+
#
|
7863
|
+
# </note>
|
7864
|
+
# @return [String]
|
7865
|
+
#
|
7866
|
+
# @!attribute [rw] inference_accelerators
|
7867
|
+
# The Elastic Inference accelerator associated with the task.
|
7868
|
+
# @return [Array<Types::InferenceAccelerator>]
|
7869
|
+
#
|
7870
|
+
# @!attribute [rw] last_status
|
7871
|
+
# The last known status of the task. For more information, see [Task
|
7872
|
+
# Lifecycle][1].
|
7873
|
+
#
|
7874
|
+
#
|
7875
|
+
#
|
7876
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-lifecycle.html
|
7877
|
+
# @return [String]
|
7878
|
+
#
|
7879
|
+
# @!attribute [rw] launch_type
|
7880
|
+
# The launch type on which your task is running. For more information,
|
7881
|
+
# see [Amazon ECS Launch Types][1] in the *Amazon Elastic Container
|
7882
|
+
# Service Developer Guide*.
|
7883
|
+
#
|
7884
|
+
#
|
7885
|
+
#
|
7886
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html
|
7887
|
+
# @return [String]
|
7888
|
+
#
|
7818
7889
|
# @!attribute [rw] memory
|
7819
7890
|
# The amount of memory (in MiB) used by the task as expressed in a
|
7820
7891
|
# task definition. It can be expressed as an integer using MiB, for
|
@@ -7844,44 +7915,23 @@ module Aws::ECS
|
|
7844
7915
|
# - Available `cpu` values: 4096 (4 vCPU)
|
7845
7916
|
# @return [String]
|
7846
7917
|
#
|
7847
|
-
# @!attribute [rw]
|
7848
|
-
#
|
7849
|
-
# @return [
|
7850
|
-
#
|
7851
|
-
# @!attribute [rw] started_by
|
7852
|
-
# The tag specified when a task is started. If the task is started by
|
7853
|
-
# an Amazon ECS service, then the `startedBy` parameter contains the
|
7854
|
-
# deployment ID of the service that starts it.
|
7855
|
-
# @return [String]
|
7918
|
+
# @!attribute [rw] overrides
|
7919
|
+
# One or more container overrides.
|
7920
|
+
# @return [Types::TaskOverride]
|
7856
7921
|
#
|
7857
|
-
# @!attribute [rw]
|
7858
|
-
# The version
|
7859
|
-
#
|
7860
|
-
#
|
7861
|
-
#
|
7862
|
-
# the Amazon
|
7863
|
-
#
|
7864
|
-
# version in your event stream is current.
|
7865
|
-
# @return [Integer]
|
7922
|
+
# @!attribute [rw] platform_version
|
7923
|
+
# The platform version on which your task is running. A platform
|
7924
|
+
# version is only specified for tasks using the Fargate launch type.
|
7925
|
+
# If one is not specified, the `LATEST` platform version is used by
|
7926
|
+
# default. For more information, see [AWS Fargate Platform
|
7927
|
+
# Versions][1] in the *Amazon Elastic Container Service Developer
|
7928
|
+
# Guide*.
|
7866
7929
|
#
|
7867
|
-
# @!attribute [rw] stopped_reason
|
7868
|
-
# The reason that the task was stopped.
|
7869
|
-
# @return [String]
|
7870
7930
|
#
|
7871
|
-
# @!attribute [rw] stop_code
|
7872
|
-
# The stop code indicating why a task was stopped. The `stoppedReason`
|
7873
|
-
# may contain additional details.
|
7874
|
-
# @return [String]
|
7875
7931
|
#
|
7876
|
-
#
|
7877
|
-
# The connectivity status of a task.
|
7932
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html
|
7878
7933
|
# @return [String]
|
7879
7934
|
#
|
7880
|
-
# @!attribute [rw] connectivity_at
|
7881
|
-
# The Unix timestamp for when the task last went into `CONNECTED`
|
7882
|
-
# status.
|
7883
|
-
# @return [Time]
|
7884
|
-
#
|
7885
7935
|
# @!attribute [rw] pull_started_at
|
7886
7936
|
# The Unix timestamp for when the container image pull began.
|
7887
7937
|
# @return [Time]
|
@@ -7890,79 +7940,35 @@ module Aws::ECS
|
|
7890
7940
|
# The Unix timestamp for when the container image pull completed.
|
7891
7941
|
# @return [Time]
|
7892
7942
|
#
|
7893
|
-
# @!attribute [rw] execution_stopped_at
|
7894
|
-
# The Unix timestamp for when the task execution stopped.
|
7895
|
-
# @return [Time]
|
7896
|
-
#
|
7897
|
-
# @!attribute [rw] created_at
|
7898
|
-
# The Unix timestamp for when the task was created (the task entered
|
7899
|
-
# the `PENDING` state).
|
7900
|
-
# @return [Time]
|
7901
|
-
#
|
7902
7943
|
# @!attribute [rw] started_at
|
7903
7944
|
# The Unix timestamp for when the task started (the task transitioned
|
7904
7945
|
# from the `PENDING` state to the `RUNNING` state).
|
7905
7946
|
# @return [Time]
|
7906
7947
|
#
|
7907
|
-
# @!attribute [rw]
|
7908
|
-
# The
|
7909
|
-
# `
|
7910
|
-
#
|
7948
|
+
# @!attribute [rw] started_by
|
7949
|
+
# The tag specified when a task is started. If the task is started by
|
7950
|
+
# an Amazon ECS service, then the `startedBy` parameter contains the
|
7951
|
+
# deployment ID of the service that starts it.
|
7952
|
+
# @return [String]
|
7953
|
+
#
|
7954
|
+
# @!attribute [rw] stop_code
|
7955
|
+
# The stop code indicating why a task was stopped. The `stoppedReason`
|
7956
|
+
# may contain additional details.
|
7957
|
+
# @return [String]
|
7911
7958
|
#
|
7912
7959
|
# @!attribute [rw] stopped_at
|
7913
7960
|
# The Unix timestamp for when the task was stopped (the task
|
7914
7961
|
# transitioned from the `RUNNING` state to the `STOPPED` state).
|
7915
7962
|
# @return [Time]
|
7916
7963
|
#
|
7917
|
-
# @!attribute [rw]
|
7918
|
-
# The
|
7919
|
-
# @return [String]
|
7920
|
-
#
|
7921
|
-
# @!attribute [rw] launch_type
|
7922
|
-
# The launch type on which your task is running. For more information,
|
7923
|
-
# see [Amazon ECS Launch Types][1] in the *Amazon Elastic Container
|
7924
|
-
# Service Developer Guide*.
|
7925
|
-
#
|
7926
|
-
#
|
7927
|
-
#
|
7928
|
-
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html
|
7929
|
-
# @return [String]
|
7930
|
-
#
|
7931
|
-
# @!attribute [rw] platform_version
|
7932
|
-
# The platform version on which your task is running. A platform
|
7933
|
-
# version is only specified for tasks using the Fargate launch type.
|
7934
|
-
# If one is not specified, the `LATEST` platform version is used by
|
7935
|
-
# default. For more information, see [AWS Fargate Platform
|
7936
|
-
# Versions][1] in the *Amazon Elastic Container Service Developer
|
7937
|
-
# Guide*.
|
7938
|
-
#
|
7939
|
-
#
|
7940
|
-
#
|
7941
|
-
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html
|
7964
|
+
# @!attribute [rw] stopped_reason
|
7965
|
+
# The reason that the task was stopped.
|
7942
7966
|
# @return [String]
|
7943
7967
|
#
|
7944
|
-
# @!attribute [rw]
|
7945
|
-
# The
|
7946
|
-
#
|
7947
|
-
# @return [
|
7948
|
-
#
|
7949
|
-
# @!attribute [rw] health_status
|
7950
|
-
# The health status for the task, which is determined by the health of
|
7951
|
-
# the essential containers in the task. If all essential containers in
|
7952
|
-
# the task are reporting as `HEALTHY`, then the task status also
|
7953
|
-
# reports as `HEALTHY`. If any essential containers in the task are
|
7954
|
-
# reporting as `UNHEALTHY` or `UNKNOWN`, then the task status also
|
7955
|
-
# reports as `UNHEALTHY` or `UNKNOWN`, accordingly.
|
7956
|
-
#
|
7957
|
-
# <note markdown="1"> The Amazon ECS container agent does not monitor or report on Docker
|
7958
|
-
# health checks that are embedded in a container image (such as those
|
7959
|
-
# specified in a parent image or from the image's Dockerfile) and not
|
7960
|
-
# specified in the container definition. Health check parameters that
|
7961
|
-
# are specified in a container definition override any Docker health
|
7962
|
-
# checks that exist in the container image.
|
7963
|
-
#
|
7964
|
-
# </note>
|
7965
|
-
# @return [String]
|
7968
|
+
# @!attribute [rw] stopping_at
|
7969
|
+
# The Unix timestamp for when the task stops (transitions from the
|
7970
|
+
# `RUNNING` state to `STOPPED`).
|
7971
|
+
# @return [Time]
|
7966
7972
|
#
|
7967
7973
|
# @!attribute [rw] tags
|
7968
7974
|
# The metadata that you apply to the task to help you categorize and
|
@@ -7995,43 +8001,59 @@ module Aws::ECS
|
|
7995
8001
|
# per resource limit.
|
7996
8002
|
# @return [Array<Types::Tag>]
|
7997
8003
|
#
|
7998
|
-
# @!attribute [rw]
|
7999
|
-
# The
|
8000
|
-
# @return [
|
8004
|
+
# @!attribute [rw] task_arn
|
8005
|
+
# The Amazon Resource Name (ARN) of the task.
|
8006
|
+
# @return [String]
|
8007
|
+
#
|
8008
|
+
# @!attribute [rw] task_definition_arn
|
8009
|
+
# The ARN of the task definition that creates the task.
|
8010
|
+
# @return [String]
|
8011
|
+
#
|
8012
|
+
# @!attribute [rw] version
|
8013
|
+
# The version counter for the task. Every time a task experiences a
|
8014
|
+
# change that triggers a CloudWatch event, the version counter is
|
8015
|
+
# incremented. If you are replicating your Amazon ECS task state with
|
8016
|
+
# CloudWatch Events, you can compare the version of a task reported by
|
8017
|
+
# the Amazon ECS API actions with the version reported in CloudWatch
|
8018
|
+
# Events for the task (inside the `detail` object) to verify that the
|
8019
|
+
# version in your event stream is current.
|
8020
|
+
# @return [Integer]
|
8001
8021
|
#
|
8002
8022
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Task AWS API Documentation
|
8003
8023
|
#
|
8004
8024
|
class Task < Struct.new(
|
8005
|
-
:
|
8025
|
+
:attachments,
|
8026
|
+
:attributes,
|
8027
|
+
:availability_zone,
|
8006
8028
|
:cluster_arn,
|
8007
|
-
:
|
8029
|
+
:connectivity,
|
8030
|
+
:connectivity_at,
|
8008
8031
|
:container_instance_arn,
|
8009
|
-
:
|
8010
|
-
:last_status,
|
8011
|
-
:desired_status,
|
8032
|
+
:containers,
|
8012
8033
|
:cpu,
|
8034
|
+
:created_at,
|
8035
|
+
:desired_status,
|
8036
|
+
:execution_stopped_at,
|
8037
|
+
:group,
|
8038
|
+
:health_status,
|
8039
|
+
:inference_accelerators,
|
8040
|
+
:last_status,
|
8041
|
+
:launch_type,
|
8013
8042
|
:memory,
|
8014
|
-
:
|
8015
|
-
:
|
8016
|
-
:version,
|
8017
|
-
:stopped_reason,
|
8018
|
-
:stop_code,
|
8019
|
-
:connectivity,
|
8020
|
-
:connectivity_at,
|
8043
|
+
:overrides,
|
8044
|
+
:platform_version,
|
8021
8045
|
:pull_started_at,
|
8022
8046
|
:pull_stopped_at,
|
8023
|
-
:execution_stopped_at,
|
8024
|
-
:created_at,
|
8025
8047
|
:started_at,
|
8026
|
-
:
|
8048
|
+
:started_by,
|
8049
|
+
:stop_code,
|
8027
8050
|
:stopped_at,
|
8028
|
-
:
|
8029
|
-
:
|
8030
|
-
:platform_version,
|
8031
|
-
:attachments,
|
8032
|
-
:health_status,
|
8051
|
+
:stopped_reason,
|
8052
|
+
:stopping_at,
|
8033
8053
|
:tags,
|
8034
|
-
:
|
8054
|
+
:task_arn,
|
8055
|
+
:task_definition_arn,
|
8056
|
+
:version)
|
8035
8057
|
include Aws::Structure
|
8036
8058
|
end
|
8037
8059
|
|
@@ -8246,6 +8268,10 @@ module Aws::ECS
|
|
8246
8268
|
# - Available `cpu` values: 4096 (4 vCPU)
|
8247
8269
|
# @return [String]
|
8248
8270
|
#
|
8271
|
+
# @!attribute [rw] inference_accelerators
|
8272
|
+
# The Elastic Inference accelerator associated with the task.
|
8273
|
+
# @return [Array<Types::InferenceAccelerator>]
|
8274
|
+
#
|
8249
8275
|
# @!attribute [rw] pid_mode
|
8250
8276
|
# The process namespace to use for the containers in the task. The
|
8251
8277
|
# valid values are `host` or `task`. If `host` is specified, then all
|
@@ -8348,6 +8374,7 @@ module Aws::ECS
|
|
8348
8374
|
:requires_compatibilities,
|
8349
8375
|
:cpu,
|
8350
8376
|
:memory,
|
8377
|
+
:inference_accelerators,
|
8351
8378
|
:pid_mode,
|
8352
8379
|
:ipc_mode,
|
8353
8380
|
:proxy_configuration)
|
@@ -8425,42 +8452,54 @@ module Aws::ECS
|
|
8425
8452
|
# ],
|
8426
8453
|
# },
|
8427
8454
|
# ],
|
8455
|
+
# cpu: "String",
|
8428
8456
|
# inference_accelerator_overrides: [
|
8429
8457
|
# {
|
8430
8458
|
# device_name: "String",
|
8431
8459
|
# device_type: "String",
|
8432
8460
|
# },
|
8433
8461
|
# ],
|
8434
|
-
# task_role_arn: "String",
|
8435
8462
|
# execution_role_arn: "String",
|
8463
|
+
# memory: "String",
|
8464
|
+
# task_role_arn: "String",
|
8436
8465
|
# }
|
8437
8466
|
#
|
8438
8467
|
# @!attribute [rw] container_overrides
|
8439
8468
|
# One or more container overrides sent to a task.
|
8440
8469
|
# @return [Array<Types::ContainerOverride>]
|
8441
8470
|
#
|
8471
|
+
# @!attribute [rw] cpu
|
8472
|
+
# The cpu override for the task.
|
8473
|
+
# @return [String]
|
8474
|
+
#
|
8442
8475
|
# @!attribute [rw] inference_accelerator_overrides
|
8443
8476
|
# The Elastic Inference accelerator override for the task.
|
8444
8477
|
# @return [Array<Types::InferenceAcceleratorOverride>]
|
8445
8478
|
#
|
8479
|
+
# @!attribute [rw] execution_role_arn
|
8480
|
+
# The Amazon Resource Name (ARN) of the task execution role that the
|
8481
|
+
# Amazon ECS container agent and the Docker daemon can assume.
|
8482
|
+
# @return [String]
|
8483
|
+
#
|
8484
|
+
# @!attribute [rw] memory
|
8485
|
+
# The memory override for the task.
|
8486
|
+
# @return [String]
|
8487
|
+
#
|
8446
8488
|
# @!attribute [rw] task_role_arn
|
8447
8489
|
# The Amazon Resource Name (ARN) of the IAM role that containers in
|
8448
8490
|
# this task can assume. All containers in this task are granted the
|
8449
8491
|
# permissions that are specified in this role.
|
8450
8492
|
# @return [String]
|
8451
8493
|
#
|
8452
|
-
# @!attribute [rw] execution_role_arn
|
8453
|
-
# The Amazon Resource Name (ARN) of the task execution role that the
|
8454
|
-
# Amazon ECS container agent and the Docker daemon can assume.
|
8455
|
-
# @return [String]
|
8456
|
-
#
|
8457
8494
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/TaskOverride AWS API Documentation
|
8458
8495
|
#
|
8459
8496
|
class TaskOverride < Struct.new(
|
8460
8497
|
:container_overrides,
|
8498
|
+
:cpu,
|
8461
8499
|
:inference_accelerator_overrides,
|
8462
|
-
:
|
8463
|
-
:
|
8500
|
+
:execution_role_arn,
|
8501
|
+
:memory,
|
8502
|
+
:task_role_arn)
|
8464
8503
|
include Aws::Structure
|
8465
8504
|
end
|
8466
8505
|
|