aws-sdk-ecs 1.83.0 → 1.87.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecs/client.rb +38 -22
- data/lib/aws-sdk-ecs/types.rb +79 -39
- data/lib/aws-sdk-ecs.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ee1bbbfc40c30ba01f9e1e2737eb3f53314b02f32a5cbc6f754bc05c0d43c5c
|
4
|
+
data.tar.gz: ef651fcaf810728c02d44a9e38412cab580d26349d905269e58546639533f009
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aee6a34cae063e53b1eeaaad73f956621b91e03e1a18dffd3eb4104e75b5f6bab084ff2dd2a37ea43b10c9e406717c08e455237c131f5578a871d0a025888e69
|
7
|
+
data.tar.gz: 9e5a333c93c94df7bc488ff7cf0df405ef61ccc4923abd7b33cbabf92894d2d7c734dc9db2aa3c077b3f096919264a73865f9a877c59d7a95b6ac25eb0a18fb4
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.87.0 (2021-10-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.86.0 (2021-10-12)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Documentation only update to address tickets.
|
13
|
+
|
14
|
+
1.85.0 (2021-09-01)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.84.0 (2021-08-11)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Documentation updates for ECS.
|
23
|
+
|
4
24
|
1.83.0 (2021-07-30)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.87.0
|
data/lib/aws-sdk-ecs/client.rb
CHANGED
@@ -528,7 +528,7 @@ module Aws::ECS
|
|
528
528
|
# @option params [Array<Types::CapacityProviderStrategyItem>] :default_capacity_provider_strategy
|
529
529
|
# The capacity provider strategy to set as the default for the cluster.
|
530
530
|
# When a default capacity provider strategy is set for a cluster, when
|
531
|
-
# calling the RunTask or CreateService APIs
|
531
|
+
# calling the RunTask or CreateService APIs with no capacity provider
|
532
532
|
# strategy or launch type specified, the default capacity provider
|
533
533
|
# strategy for the cluster is used.
|
534
534
|
#
|
@@ -913,6 +913,9 @@ module Aws::ECS
|
|
913
913
|
# `launchType` is specified, the `defaultCapacityProviderStrategy` for
|
914
914
|
# the cluster is used.
|
915
915
|
#
|
916
|
+
# A capacity provider strategy may contain a maximum of 6 capacity
|
917
|
+
# providers.
|
918
|
+
#
|
916
919
|
# @option params [String] :platform_version
|
917
920
|
# The platform version that your tasks in the service are running on. A
|
918
921
|
# platform version is specified only for tasks using the Fargate launch
|
@@ -966,7 +969,7 @@ module Aws::ECS
|
|
966
969
|
#
|
967
970
|
# @option params [Array<Types::PlacementStrategy>] :placement_strategy
|
968
971
|
# The placement strategy objects to use for tasks in your service. You
|
969
|
-
# can specify a maximum of
|
972
|
+
# can specify a maximum of 5 strategy rules per service.
|
970
973
|
#
|
971
974
|
# @option params [Types::NetworkConfiguration] :network_configuration
|
972
975
|
# The network configuration for the service. This parameter is required
|
@@ -1076,7 +1079,8 @@ module Aws::ECS
|
|
1076
1079
|
# the service to the tasks in the service. If no value is specified, the
|
1077
1080
|
# tags are not propagated. Tags can only be propagated to the tasks
|
1078
1081
|
# within the service during service creation. To add tags to a task
|
1079
|
-
# after service creation, use the TagResource API
|
1082
|
+
# after service creation or task creation, use the TagResource API
|
1083
|
+
# action.
|
1080
1084
|
#
|
1081
1085
|
# @option params [Boolean] :enable_execute_command
|
1082
1086
|
# Whether or not the execute command functionality is enabled for the
|
@@ -2252,9 +2256,9 @@ module Aws::ECS
|
|
2252
2256
|
# @option params [required, String] :container_instance
|
2253
2257
|
# The container instance ID or full ARN of the container instance to
|
2254
2258
|
# deregister. The ARN contains the `arn:aws:ecs` namespace, followed by
|
2255
|
-
# the Region of the container instance, the
|
2256
|
-
# instance owner, the `container-instance`
|
2257
|
-
# container instance ID. For example,
|
2259
|
+
# the Region of the container instance, the Amazon Web Services account
|
2260
|
+
# ID of the container instance owner, the `container-instance`
|
2261
|
+
# namespace, and then the container instance ID. For example,
|
2258
2262
|
# `arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID`.
|
2259
2263
|
#
|
2260
2264
|
# @option params [Boolean] :force
|
@@ -2661,6 +2665,9 @@ module Aws::ECS
|
|
2661
2665
|
#
|
2662
2666
|
# If `SETTINGS` is specified, the settings for the cluster are included.
|
2663
2667
|
#
|
2668
|
+
# If `CONFIGURATIONS` is specified, the configuration for the cluster is
|
2669
|
+
# included.
|
2670
|
+
#
|
2664
2671
|
# If `STATISTICS` is specified, the task and service count is included,
|
2665
2672
|
# separated by launch type.
|
2666
2673
|
#
|
@@ -3746,9 +3753,9 @@ module Aws::ECS
|
|
3746
3753
|
# @option params [String] :container_instance
|
3747
3754
|
# The container instance ID or full ARN of the container instance. The
|
3748
3755
|
# ARN contains the `arn:aws:ecs` namespace, followed by the Region of
|
3749
|
-
# the container instance, the account ID of the
|
3750
|
-
# owner, the `container-instance` namespace, and then
|
3751
|
-
# instance ID. For example,
|
3756
|
+
# the container instance, the Amazon Web Services account ID of the
|
3757
|
+
# container instance owner, the `container-instance` namespace, and then
|
3758
|
+
# the container instance ID. For example,
|
3752
3759
|
# `arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID`.
|
3753
3760
|
#
|
3754
3761
|
# @option params [String] :cluster
|
@@ -6156,6 +6163,9 @@ module Aws::ECS
|
|
6156
6163
|
# When you use cluster auto scaling, you must specify
|
6157
6164
|
# `capacityProviderStrategy` and not `launchType`.
|
6158
6165
|
#
|
6166
|
+
# A capacity provider strategy may contain a maximum of 6 capacity
|
6167
|
+
# providers.
|
6168
|
+
#
|
6159
6169
|
# @option params [String] :cluster
|
6160
6170
|
# The short name or full Amazon Resource Name (ARN) of the cluster on
|
6161
6171
|
# which to run your task. If you do not specify a cluster, the default
|
@@ -6182,7 +6192,7 @@ module Aws::ECS
|
|
6182
6192
|
# @option params [String] :group
|
6183
6193
|
# The name of the task group to associate with the task. The default
|
6184
6194
|
# value is the family name of the task definition (for example,
|
6185
|
-
# family:my-family-name).
|
6195
|
+
# `family:my-family-name`).
|
6186
6196
|
#
|
6187
6197
|
# @option params [String] :launch_type
|
6188
6198
|
# The infrastructure on which to run your standalone task. For more
|
@@ -6220,7 +6230,7 @@ module Aws::ECS
|
|
6220
6230
|
# The network configuration for the task. This parameter is required for
|
6221
6231
|
# task definitions that use the `awsvpc` network mode to receive their
|
6222
6232
|
# own elastic network interface, and it is not supported for other
|
6223
|
-
# network modes. For more information, see [Task
|
6233
|
+
# network modes. For more information, see [Task networking][1] in the
|
6224
6234
|
# *Amazon Elastic Container Service Developer Guide*.
|
6225
6235
|
#
|
6226
6236
|
#
|
@@ -6237,11 +6247,9 @@ module Aws::ECS
|
|
6237
6247
|
# on a container or add new environment variables to it with an
|
6238
6248
|
# `environment` override.
|
6239
6249
|
#
|
6240
|
-
#
|
6250
|
+
# A total of 8192 characters are allowed for overrides. This limit
|
6241
6251
|
# includes the JSON formatting characters of the override structure.
|
6242
6252
|
#
|
6243
|
-
# </note>
|
6244
|
-
#
|
6245
6253
|
# @option params [Array<Types::PlacementConstraint>] :placement_constraints
|
6246
6254
|
# An array of placement constraint objects to use for the task. You can
|
6247
6255
|
# specify up to 10 constraints per task (including constraints in the
|
@@ -6249,14 +6257,14 @@ module Aws::ECS
|
|
6249
6257
|
#
|
6250
6258
|
# @option params [Array<Types::PlacementStrategy>] :placement_strategy
|
6251
6259
|
# The placement strategy objects to use for the task. You can specify a
|
6252
|
-
# maximum of
|
6260
|
+
# maximum of 5 strategy rules per task.
|
6253
6261
|
#
|
6254
6262
|
# @option params [String] :platform_version
|
6255
|
-
# The platform version the task should
|
6256
|
-
# specified for tasks
|
6257
|
-
#
|
6258
|
-
#
|
6259
|
-
#
|
6263
|
+
# The platform version the task should use. A platform version is only
|
6264
|
+
# specified for tasks hosted on Fargate. If one is not specified, the
|
6265
|
+
# `LATEST` platform version is used by default. For more information,
|
6266
|
+
# see [Fargate platform versions][1] in the *Amazon Elastic Container
|
6267
|
+
# Service Developer Guide*.
|
6260
6268
|
#
|
6261
6269
|
#
|
6262
6270
|
#
|
@@ -6274,7 +6282,8 @@ module Aws::ECS
|
|
6274
6282
|
# </note>
|
6275
6283
|
#
|
6276
6284
|
# @option params [String] :reference_id
|
6277
|
-
# The reference ID to use for the task.
|
6285
|
+
# The reference ID to use for the task. The reference ID can have a
|
6286
|
+
# maximum length of 1024 characters.
|
6278
6287
|
#
|
6279
6288
|
# @option params [String] :started_by
|
6280
6289
|
# An optional tag specified when a task is started. For example, if you
|
@@ -6323,6 +6332,13 @@ module Aws::ECS
|
|
6323
6332
|
# task definition to run. If a `revision` is not specified, the latest
|
6324
6333
|
# `ACTIVE` revision is used.
|
6325
6334
|
#
|
6335
|
+
# The full ARN value must match the value that you specified ias the
|
6336
|
+
# `Resource` of the IAM principal's permissions policy. For example, if
|
6337
|
+
# the `Resource` is
|
6338
|
+
# arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:*,
|
6339
|
+
# the `taskDefinition` ARN value must be
|
6340
|
+
# `arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName`.
|
6341
|
+
#
|
6326
6342
|
# @return [Types::RunTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6327
6343
|
#
|
6328
6344
|
# * {Types::RunTaskResponse#tasks #tasks} => Array<Types::Task>
|
@@ -8491,7 +8507,7 @@ module Aws::ECS
|
|
8491
8507
|
params: params,
|
8492
8508
|
config: config)
|
8493
8509
|
context[:gem_name] = 'aws-sdk-ecs'
|
8494
|
-
context[:gem_version] = '1.
|
8510
|
+
context[:gem_version] = '1.87.0'
|
8495
8511
|
Seahorse::Client::Request.new(handlers, context)
|
8496
8512
|
end
|
8497
8513
|
|
data/lib/aws-sdk-ecs/types.rb
CHANGED
@@ -426,6 +426,9 @@ module Aws::ECS
|
|
426
426
|
# available to all accounts and only need to be associated with a
|
427
427
|
# cluster to be used in a capacity provider strategy.
|
428
428
|
#
|
429
|
+
# A capacity provider strategy may contain a maximum of 6 capacity
|
430
|
+
# providers.
|
431
|
+
#
|
429
432
|
# @note When making an API call, you may pass CapacityProviderStrategyItem
|
430
433
|
# data as a hash:
|
431
434
|
#
|
@@ -505,8 +508,8 @@ module Aws::ECS
|
|
505
508
|
# @!attribute [rw] cluster_arn
|
506
509
|
# The Amazon Resource Name (ARN) that identifies the cluster. The ARN
|
507
510
|
# contains the `arn:aws:ecs` namespace, followed by the Region of the
|
508
|
-
# cluster, the account ID of the cluster owner,
|
509
|
-
# namespace, and then the cluster name. For example,
|
511
|
+
# cluster, the Amazon Web Services account ID of the cluster owner,
|
512
|
+
# the `cluster` namespace, and then the cluster name. For example,
|
510
513
|
# `arn:aws:ecs:region:012345678910:cluster/test`.
|
511
514
|
# @return [String]
|
512
515
|
#
|
@@ -2054,9 +2057,9 @@ module Aws::ECS
|
|
2054
2057
|
# @!attribute [rw] container_instance_arn
|
2055
2058
|
# The Amazon Resource Name (ARN) of the container instance. The ARN
|
2056
2059
|
# contains the `arn:aws:ecs` namespace, followed by the Region of the
|
2057
|
-
# container instance, the account ID of the
|
2058
|
-
# the `container-instance` namespace, and
|
2059
|
-
# ID. For example,
|
2060
|
+
# container instance, the Amazon Web Services account ID of the
|
2061
|
+
# container instance owner, the `container-instance` namespace, and
|
2062
|
+
# then the container instance ID. For example,
|
2060
2063
|
# `arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID`.
|
2061
2064
|
# @return [String]
|
2062
2065
|
#
|
@@ -2600,7 +2603,7 @@ module Aws::ECS
|
|
2600
2603
|
# @!attribute [rw] default_capacity_provider_strategy
|
2601
2604
|
# The capacity provider strategy to set as the default for the
|
2602
2605
|
# cluster. When a default capacity provider strategy is set for a
|
2603
|
-
# cluster, when calling the RunTask or CreateService APIs
|
2606
|
+
# cluster, when calling the RunTask or CreateService APIs with no
|
2604
2607
|
# capacity provider strategy or launch type specified, the default
|
2605
2608
|
# capacity provider strategy for the cluster is used.
|
2606
2609
|
#
|
@@ -2862,6 +2865,9 @@ module Aws::ECS
|
|
2862
2865
|
# parameter must be omitted. If no `capacityProviderStrategy` or
|
2863
2866
|
# `launchType` is specified, the `defaultCapacityProviderStrategy` for
|
2864
2867
|
# the cluster is used.
|
2868
|
+
#
|
2869
|
+
# A capacity provider strategy may contain a maximum of 6 capacity
|
2870
|
+
# providers.
|
2865
2871
|
# @return [Array<Types::CapacityProviderStrategyItem>]
|
2866
2872
|
#
|
2867
2873
|
# @!attribute [rw] platform_version
|
@@ -2924,7 +2930,7 @@ module Aws::ECS
|
|
2924
2930
|
#
|
2925
2931
|
# @!attribute [rw] placement_strategy
|
2926
2932
|
# The placement strategy objects to use for tasks in your service. You
|
2927
|
-
# can specify a maximum of
|
2933
|
+
# can specify a maximum of 5 strategy rules per service.
|
2928
2934
|
# @return [Array<Types::PlacementStrategy>]
|
2929
2935
|
#
|
2930
2936
|
# @!attribute [rw] network_configuration
|
@@ -3043,7 +3049,8 @@ module Aws::ECS
|
|
3043
3049
|
# the service to the tasks in the service. If no value is specified,
|
3044
3050
|
# the tags are not propagated. Tags can only be propagated to the
|
3045
3051
|
# tasks within the service during service creation. To add tags to a
|
3046
|
-
# task after service creation, use the TagResource
|
3052
|
+
# task after service creation or task creation, use the TagResource
|
3053
|
+
# API action.
|
3047
3054
|
# @return [String]
|
3048
3055
|
#
|
3049
3056
|
# @!attribute [rw] enable_execute_command
|
@@ -3938,9 +3945,9 @@ module Aws::ECS
|
|
3938
3945
|
# @!attribute [rw] container_instance
|
3939
3946
|
# The container instance ID or full ARN of the container instance to
|
3940
3947
|
# deregister. The ARN contains the `arn:aws:ecs` namespace, followed
|
3941
|
-
# by the Region of the container instance, the
|
3942
|
-
# container instance owner, the `container-instance`
|
3943
|
-
# then the container instance ID. For example,
|
3948
|
+
# by the Region of the container instance, the Amazon Web Services
|
3949
|
+
# account ID of the container instance owner, the `container-instance`
|
3950
|
+
# namespace, and then the container instance ID. For example,
|
3944
3951
|
# `arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID`.
|
3945
3952
|
# @return [String]
|
3946
3953
|
#
|
@@ -4126,6 +4133,9 @@ module Aws::ECS
|
|
4126
4133
|
# If `SETTINGS` is specified, the settings for the cluster are
|
4127
4134
|
# included.
|
4128
4135
|
#
|
4136
|
+
# If `CONFIGURATIONS` is specified, the configuration for the cluster
|
4137
|
+
# is included.
|
4138
|
+
#
|
4129
4139
|
# If `STATISTICS` is specified, the task and service count is
|
4130
4140
|
# included, separated by launch type.
|
4131
4141
|
#
|
@@ -4503,9 +4513,9 @@ module Aws::ECS
|
|
4503
4513
|
# @!attribute [rw] container_instance
|
4504
4514
|
# The container instance ID or full ARN of the container instance. The
|
4505
4515
|
# ARN contains the `arn:aws:ecs` namespace, followed by the Region of
|
4506
|
-
# the container instance, the account ID of the
|
4507
|
-
# owner, the `container-instance` namespace, and
|
4508
|
-
# instance ID. For example,
|
4516
|
+
# the container instance, the Amazon Web Services account ID of the
|
4517
|
+
# container instance owner, the `container-instance` namespace, and
|
4518
|
+
# then the container instance ID. For example,
|
4509
4519
|
# `arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID`.
|
4510
4520
|
# @return [String]
|
4511
4521
|
#
|
@@ -5298,10 +5308,19 @@ module Aws::ECS
|
|
5298
5308
|
# A string array representing the command that the container runs to
|
5299
5309
|
# determine if it is healthy. The string array must start with `CMD`
|
5300
5310
|
# to execute the command arguments directly, or `CMD-SHELL` to run the
|
5301
|
-
# command with the container's default shell.
|
5311
|
+
# command with the container's default shell.
|
5312
|
+
#
|
5313
|
+
# When you use the Amazon Web Services Management Console JSON panel,
|
5314
|
+
# the Command Line Interface, or the APIs, you should enclose the list
|
5315
|
+
# of commands in brackets, as shown below.
|
5302
5316
|
#
|
5303
5317
|
# `[ "CMD-SHELL", "curl -f http://localhost/ || exit 1" ]`
|
5304
5318
|
#
|
5319
|
+
# You do not need to include the brackets when you use the Amazon Web
|
5320
|
+
# Services Management Consoleas shown below.
|
5321
|
+
#
|
5322
|
+
# ` "CMD-SHELL", "curl -f http://localhost/ || exit 1" `
|
5323
|
+
#
|
5305
5324
|
# An exit code of 0 indicates success, and non-zero exit code
|
5306
5325
|
# indicates failure. For more information, see `HealthCheck` in the
|
5307
5326
|
# [Create a container][1] section of the [Docker Remote API][2].
|
@@ -5422,7 +5441,7 @@ module Aws::ECS
|
|
5422
5441
|
#
|
5423
5442
|
#
|
5424
5443
|
#
|
5425
|
-
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-
|
5444
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-inference.html
|
5426
5445
|
#
|
5427
5446
|
# @note When making an API call, you may pass InferenceAccelerator
|
5428
5447
|
# data as a hash:
|
@@ -5459,7 +5478,7 @@ module Aws::ECS
|
|
5459
5478
|
#
|
5460
5479
|
#
|
5461
5480
|
#
|
5462
|
-
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-
|
5481
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-inference.html
|
5463
5482
|
#
|
5464
5483
|
# @note When making an API call, you may pass InferenceAcceleratorOverride
|
5465
5484
|
# data as a hash:
|
@@ -7070,11 +7089,11 @@ module Aws::ECS
|
|
7070
7089
|
# @return [String]
|
7071
7090
|
#
|
7072
7091
|
# @!attribute [rw] expression
|
7073
|
-
# A cluster query language expression to apply to the constraint.
|
7074
|
-
#
|
7075
|
-
#
|
7076
|
-
#
|
7077
|
-
# Guide*.
|
7092
|
+
# A cluster query language expression to apply to the constraint. The
|
7093
|
+
# expression can have a maximum length of 2000 characters. You can't
|
7094
|
+
# specify an expression if the constraint type is `distinctInstance`.
|
7095
|
+
# For more information, see [Cluster query language][1] in the *Amazon
|
7096
|
+
# Elastic Container Service Developer Guide*.
|
7078
7097
|
#
|
7079
7098
|
#
|
7080
7099
|
#
|
@@ -8440,7 +8459,7 @@ module Aws::ECS
|
|
8440
8459
|
#
|
8441
8460
|
#
|
8442
8461
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-gpu.html
|
8443
|
-
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-
|
8462
|
+
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-inference.html
|
8444
8463
|
#
|
8445
8464
|
# @note When making an API call, you may pass ResourceRequirement
|
8446
8465
|
# data as a hash:
|
@@ -8579,6 +8598,9 @@ module Aws::ECS
|
|
8579
8598
|
#
|
8580
8599
|
# When you use cluster auto scaling, you must specify
|
8581
8600
|
# `capacityProviderStrategy` and not `launchType`.
|
8601
|
+
#
|
8602
|
+
# A capacity provider strategy may contain a maximum of 6 capacity
|
8603
|
+
# providers.
|
8582
8604
|
# @return [Array<Types::CapacityProviderStrategyItem>]
|
8583
8605
|
#
|
8584
8606
|
# @!attribute [rw] cluster
|
@@ -8611,7 +8633,7 @@ module Aws::ECS
|
|
8611
8633
|
# @!attribute [rw] group
|
8612
8634
|
# The name of the task group to associate with the task. The default
|
8613
8635
|
# value is the family name of the task definition (for example,
|
8614
|
-
# family:my-family-name).
|
8636
|
+
# `family:my-family-name`).
|
8615
8637
|
# @return [String]
|
8616
8638
|
#
|
8617
8639
|
# @!attribute [rw] launch_type
|
@@ -8651,7 +8673,7 @@ module Aws::ECS
|
|
8651
8673
|
# The network configuration for the task. This parameter is required
|
8652
8674
|
# for task definitions that use the `awsvpc` network mode to receive
|
8653
8675
|
# their own elastic network interface, and it is not supported for
|
8654
|
-
# other network modes. For more information, see [Task
|
8676
|
+
# other network modes. For more information, see [Task networking][1]
|
8655
8677
|
# in the *Amazon Elastic Container Service Developer Guide*.
|
8656
8678
|
#
|
8657
8679
|
#
|
@@ -8669,10 +8691,8 @@ module Aws::ECS
|
|
8669
8691
|
# image) on a container or add new environment variables to it with an
|
8670
8692
|
# `environment` override.
|
8671
8693
|
#
|
8672
|
-
#
|
8694
|
+
# A total of 8192 characters are allowed for overrides. This limit
|
8673
8695
|
# includes the JSON formatting characters of the override structure.
|
8674
|
-
#
|
8675
|
-
# </note>
|
8676
8696
|
# @return [Types::TaskOverride]
|
8677
8697
|
#
|
8678
8698
|
# @!attribute [rw] placement_constraints
|
@@ -8683,15 +8703,15 @@ module Aws::ECS
|
|
8683
8703
|
#
|
8684
8704
|
# @!attribute [rw] placement_strategy
|
8685
8705
|
# The placement strategy objects to use for the task. You can specify
|
8686
|
-
# a maximum of
|
8706
|
+
# a maximum of 5 strategy rules per task.
|
8687
8707
|
# @return [Array<Types::PlacementStrategy>]
|
8688
8708
|
#
|
8689
8709
|
# @!attribute [rw] platform_version
|
8690
|
-
# The platform version the task should
|
8691
|
-
# specified for tasks
|
8692
|
-
#
|
8693
|
-
#
|
8694
|
-
#
|
8710
|
+
# The platform version the task should use. A platform version is only
|
8711
|
+
# specified for tasks hosted on Fargate. If one is not specified, the
|
8712
|
+
# `LATEST` platform version is used by default. For more information,
|
8713
|
+
# see [Fargate platform versions][1] in the *Amazon Elastic Container
|
8714
|
+
# Service Developer Guide*.
|
8695
8715
|
#
|
8696
8716
|
#
|
8697
8717
|
#
|
@@ -8711,7 +8731,8 @@ module Aws::ECS
|
|
8711
8731
|
# @return [String]
|
8712
8732
|
#
|
8713
8733
|
# @!attribute [rw] reference_id
|
8714
|
-
# The reference ID to use for the task.
|
8734
|
+
# The reference ID to use for the task. The reference ID can have a
|
8735
|
+
# maximum length of 1024 characters.
|
8715
8736
|
# @return [String]
|
8716
8737
|
#
|
8717
8738
|
# @!attribute [rw] started_by
|
@@ -8762,6 +8783,13 @@ module Aws::ECS
|
|
8762
8783
|
# The `family` and `revision` (`family:revision`) or full ARN of the
|
8763
8784
|
# task definition to run. If a `revision` is not specified, the latest
|
8764
8785
|
# `ACTIVE` revision is used.
|
8786
|
+
#
|
8787
|
+
# The full ARN value must match the value that you specified ias the
|
8788
|
+
# `Resource` of the IAM principal's permissions policy. For example,
|
8789
|
+
# if the `Resource` is
|
8790
|
+
# arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:*,
|
8791
|
+
# the `taskDefinition` ARN value must be
|
8792
|
+
# `arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName`.
|
8765
8793
|
# @return [String]
|
8766
8794
|
#
|
8767
8795
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RunTaskRequest AWS API Documentation
|
@@ -8904,8 +8932,8 @@ module Aws::ECS
|
|
8904
8932
|
# @!attribute [rw] service_arn
|
8905
8933
|
# The ARN that identifies the service. The ARN contains the
|
8906
8934
|
# `arn:aws:ecs` namespace, followed by the Region of the service, the
|
8907
|
-
# account ID of the service owner, the `service`
|
8908
|
-
# the service name. For example,
|
8935
|
+
# Amazon Web Services account ID of the service owner, the `service`
|
8936
|
+
# namespace, and then the service name. For example,
|
8909
8937
|
# `arn:aws:ecs:region:012345678910:service/my-service`.
|
8910
8938
|
# @return [String]
|
8911
8939
|
#
|
@@ -10827,7 +10855,13 @@ module Aws::ECS
|
|
10827
10855
|
#
|
10828
10856
|
# @!attribute [rw] execution_role_arn
|
10829
10857
|
# The Amazon Resource Name (ARN) of the task execution IAM role
|
10830
|
-
# override for the task.
|
10858
|
+
# override for the task. For more information, see [Amazon ECS task
|
10859
|
+
# execution IAM role][1] in the *Amazon Elastic Container Service
|
10860
|
+
# Developer Guide*.
|
10861
|
+
#
|
10862
|
+
#
|
10863
|
+
#
|
10864
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_execution_IAM_role.html
|
10831
10865
|
# @return [String]
|
10832
10866
|
#
|
10833
10867
|
# @!attribute [rw] memory
|
@@ -10837,7 +10871,13 @@ module Aws::ECS
|
|
10837
10871
|
# @!attribute [rw] task_role_arn
|
10838
10872
|
# The Amazon Resource Name (ARN) of the IAM role that containers in
|
10839
10873
|
# this task can assume. All containers in this task are granted the
|
10840
|
-
# permissions that are specified in this role.
|
10874
|
+
# permissions that are specified in this role. For more information,
|
10875
|
+
# see [IAM Role for Tasks][1] in the *Amazon Elastic Container Service
|
10876
|
+
# Developer Guide*.
|
10877
|
+
#
|
10878
|
+
#
|
10879
|
+
#
|
10880
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html
|
10841
10881
|
# @return [String]
|
10842
10882
|
#
|
10843
10883
|
# @!attribute [rw] ephemeral_storage
|
data/lib/aws-sdk-ecs.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ecs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.87.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.121.2
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.121.2
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -77,7 +77,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
77
77
|
requirements:
|
78
78
|
- - ">="
|
79
79
|
- !ruby/object:Gem::Version
|
80
|
-
version: '
|
80
|
+
version: '2.3'
|
81
81
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
82
82
|
requirements:
|
83
83
|
- - ">="
|