aws-sdk-ecs 1.84.0 → 1.88.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 +54 -4
- data/lib/aws-sdk-ecs/client_api.rb +13 -0
- data/lib/aws-sdk-ecs/types.rb +164 -23
- 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: a27ba2714c2c3c8b681d7eac4dce387a31c164c08a575a3ae4bee2f60494e0d7
|
4
|
+
data.tar.gz: cf61e01c3cd98b843f74f08a808ef1bd40e3e9de5d30a01f324b41c0147175ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b15711f1545aef1b27c03ae3125d50dc81627693218ab2c0bfc4f37e367b5d3efd5bcca6558c7cead63e35999359f4e1d0a255954496594c230c597f5dcc353
|
7
|
+
data.tar.gz: 0cb56de5f7ddeeeff61c2a9090b7df7dc02ec24f9afa9a38715e85e054da7f7920c7bb9363503d5ec8cea1064cb805774787732b4859e76b2afac35d9b2ffee7
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.88.0 (2021-10-28)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Amazon ECS now supports running Fargate tasks on Windows Operating Systems Families which includes Windows Server 2019 Core and Windows Server 2019 Full.
|
8
|
+
|
9
|
+
1.87.0 (2021-10-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.86.0 (2021-10-12)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Documentation only update to address tickets.
|
18
|
+
|
19
|
+
1.85.0 (2021-09-01)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.84.0 (2021-08-11)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.88.0
|
data/lib/aws-sdk-ecs/client.rb
CHANGED
@@ -1079,7 +1079,8 @@ module Aws::ECS
|
|
1079
1079
|
# the service to the tasks in the service. If no value is specified, the
|
1080
1080
|
# tags are not propagated. Tags can only be propagated to the tasks
|
1081
1081
|
# within the service during service creation. To add tags to a task
|
1082
|
-
# after service creation, use the TagResource API
|
1082
|
+
# after service creation or task creation, use the TagResource API
|
1083
|
+
# action.
|
1083
1084
|
#
|
1084
1085
|
# @option params [Boolean] :enable_execute_command
|
1085
1086
|
# Whether or not the execute command functionality is enabled for the
|
@@ -1310,6 +1311,7 @@ module Aws::ECS
|
|
1310
1311
|
# resp.service.capacity_provider_strategy[0].weight #=> Integer
|
1311
1312
|
# resp.service.capacity_provider_strategy[0].base #=> Integer
|
1312
1313
|
# resp.service.platform_version #=> String
|
1314
|
+
# resp.service.platform_family #=> String
|
1313
1315
|
# resp.service.task_definition #=> String
|
1314
1316
|
# resp.service.deployment_configuration.deployment_circuit_breaker.enable #=> Boolean
|
1315
1317
|
# resp.service.deployment_configuration.deployment_circuit_breaker.rollback #=> Boolean
|
@@ -1335,6 +1337,7 @@ module Aws::ECS
|
|
1335
1337
|
# resp.service.task_sets[0].capacity_provider_strategy[0].weight #=> Integer
|
1336
1338
|
# resp.service.task_sets[0].capacity_provider_strategy[0].base #=> Integer
|
1337
1339
|
# resp.service.task_sets[0].platform_version #=> String
|
1340
|
+
# resp.service.task_sets[0].platform_family #=> String
|
1338
1341
|
# resp.service.task_sets[0].network_configuration.awsvpc_configuration.subnets #=> Array
|
1339
1342
|
# resp.service.task_sets[0].network_configuration.awsvpc_configuration.subnets[0] #=> String
|
1340
1343
|
# resp.service.task_sets[0].network_configuration.awsvpc_configuration.security_groups #=> Array
|
@@ -1373,6 +1376,7 @@ module Aws::ECS
|
|
1373
1376
|
# resp.service.deployments[0].capacity_provider_strategy[0].base #=> Integer
|
1374
1377
|
# resp.service.deployments[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
1375
1378
|
# resp.service.deployments[0].platform_version #=> String
|
1379
|
+
# resp.service.deployments[0].platform_family #=> String
|
1376
1380
|
# resp.service.deployments[0].network_configuration.awsvpc_configuration.subnets #=> Array
|
1377
1381
|
# resp.service.deployments[0].network_configuration.awsvpc_configuration.subnets[0] #=> String
|
1378
1382
|
# resp.service.deployments[0].network_configuration.awsvpc_configuration.security_groups #=> Array
|
@@ -1622,6 +1626,7 @@ module Aws::ECS
|
|
1622
1626
|
# resp.task_set.capacity_provider_strategy[0].weight #=> Integer
|
1623
1627
|
# resp.task_set.capacity_provider_strategy[0].base #=> Integer
|
1624
1628
|
# resp.task_set.platform_version #=> String
|
1629
|
+
# resp.task_set.platform_family #=> String
|
1625
1630
|
# resp.task_set.network_configuration.awsvpc_configuration.subnets #=> Array
|
1626
1631
|
# resp.task_set.network_configuration.awsvpc_configuration.subnets[0] #=> String
|
1627
1632
|
# resp.task_set.network_configuration.awsvpc_configuration.security_groups #=> Array
|
@@ -2029,6 +2034,7 @@ module Aws::ECS
|
|
2029
2034
|
# resp.service.capacity_provider_strategy[0].weight #=> Integer
|
2030
2035
|
# resp.service.capacity_provider_strategy[0].base #=> Integer
|
2031
2036
|
# resp.service.platform_version #=> String
|
2037
|
+
# resp.service.platform_family #=> String
|
2032
2038
|
# resp.service.task_definition #=> String
|
2033
2039
|
# resp.service.deployment_configuration.deployment_circuit_breaker.enable #=> Boolean
|
2034
2040
|
# resp.service.deployment_configuration.deployment_circuit_breaker.rollback #=> Boolean
|
@@ -2054,6 +2060,7 @@ module Aws::ECS
|
|
2054
2060
|
# resp.service.task_sets[0].capacity_provider_strategy[0].weight #=> Integer
|
2055
2061
|
# resp.service.task_sets[0].capacity_provider_strategy[0].base #=> Integer
|
2056
2062
|
# resp.service.task_sets[0].platform_version #=> String
|
2063
|
+
# resp.service.task_sets[0].platform_family #=> String
|
2057
2064
|
# resp.service.task_sets[0].network_configuration.awsvpc_configuration.subnets #=> Array
|
2058
2065
|
# resp.service.task_sets[0].network_configuration.awsvpc_configuration.subnets[0] #=> String
|
2059
2066
|
# resp.service.task_sets[0].network_configuration.awsvpc_configuration.security_groups #=> Array
|
@@ -2092,6 +2099,7 @@ module Aws::ECS
|
|
2092
2099
|
# resp.service.deployments[0].capacity_provider_strategy[0].base #=> Integer
|
2093
2100
|
# resp.service.deployments[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
2094
2101
|
# resp.service.deployments[0].platform_version #=> String
|
2102
|
+
# resp.service.deployments[0].platform_family #=> String
|
2095
2103
|
# resp.service.deployments[0].network_configuration.awsvpc_configuration.subnets #=> Array
|
2096
2104
|
# resp.service.deployments[0].network_configuration.awsvpc_configuration.subnets[0] #=> String
|
2097
2105
|
# resp.service.deployments[0].network_configuration.awsvpc_configuration.security_groups #=> Array
|
@@ -2195,6 +2203,7 @@ module Aws::ECS
|
|
2195
2203
|
# resp.task_set.capacity_provider_strategy[0].weight #=> Integer
|
2196
2204
|
# resp.task_set.capacity_provider_strategy[0].base #=> Integer
|
2197
2205
|
# resp.task_set.platform_version #=> String
|
2206
|
+
# resp.task_set.platform_family #=> String
|
2198
2207
|
# resp.task_set.network_configuration.awsvpc_configuration.subnets #=> Array
|
2199
2208
|
# resp.task_set.network_configuration.awsvpc_configuration.subnets[0] #=> String
|
2200
2209
|
# resp.task_set.network_configuration.awsvpc_configuration.security_groups #=> Array
|
@@ -2535,6 +2544,8 @@ module Aws::ECS
|
|
2535
2544
|
# resp.task_definition.placement_constraints[0].expression #=> String
|
2536
2545
|
# resp.task_definition.compatibilities #=> Array
|
2537
2546
|
# resp.task_definition.compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
2547
|
+
# resp.task_definition.runtime_platform.cpu_architecture #=> String, one of "X86_64", "ARM64"
|
2548
|
+
# resp.task_definition.runtime_platform.operating_system_family #=> String, one of "WINDOWS_SERVER_2019_FULL", "WINDOWS_SERVER_2019_CORE", "WINDOWS_SERVER_2016_FULL", "WINDOWS_SERVER_2004_CORE", "WINDOWS_SERVER_2022_CORE", "WINDOWS_SERVER_2022_FULL", "WINDOWS_SERVER_20H2_CORE", "LINUX"
|
2538
2549
|
# resp.task_definition.requires_compatibilities #=> Array
|
2539
2550
|
# resp.task_definition.requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
2540
2551
|
# resp.task_definition.cpu #=> String
|
@@ -3058,6 +3069,7 @@ module Aws::ECS
|
|
3058
3069
|
# resp.services[0].capacity_provider_strategy[0].weight #=> Integer
|
3059
3070
|
# resp.services[0].capacity_provider_strategy[0].base #=> Integer
|
3060
3071
|
# resp.services[0].platform_version #=> String
|
3072
|
+
# resp.services[0].platform_family #=> String
|
3061
3073
|
# resp.services[0].task_definition #=> String
|
3062
3074
|
# resp.services[0].deployment_configuration.deployment_circuit_breaker.enable #=> Boolean
|
3063
3075
|
# resp.services[0].deployment_configuration.deployment_circuit_breaker.rollback #=> Boolean
|
@@ -3083,6 +3095,7 @@ module Aws::ECS
|
|
3083
3095
|
# resp.services[0].task_sets[0].capacity_provider_strategy[0].weight #=> Integer
|
3084
3096
|
# resp.services[0].task_sets[0].capacity_provider_strategy[0].base #=> Integer
|
3085
3097
|
# resp.services[0].task_sets[0].platform_version #=> String
|
3098
|
+
# resp.services[0].task_sets[0].platform_family #=> String
|
3086
3099
|
# resp.services[0].task_sets[0].network_configuration.awsvpc_configuration.subnets #=> Array
|
3087
3100
|
# resp.services[0].task_sets[0].network_configuration.awsvpc_configuration.subnets[0] #=> String
|
3088
3101
|
# resp.services[0].task_sets[0].network_configuration.awsvpc_configuration.security_groups #=> Array
|
@@ -3121,6 +3134,7 @@ module Aws::ECS
|
|
3121
3134
|
# resp.services[0].deployments[0].capacity_provider_strategy[0].base #=> Integer
|
3122
3135
|
# resp.services[0].deployments[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
3123
3136
|
# resp.services[0].deployments[0].platform_version #=> String
|
3137
|
+
# resp.services[0].deployments[0].platform_family #=> String
|
3124
3138
|
# resp.services[0].deployments[0].network_configuration.awsvpc_configuration.subnets #=> Array
|
3125
3139
|
# resp.services[0].deployments[0].network_configuration.awsvpc_configuration.subnets[0] #=> String
|
3126
3140
|
# resp.services[0].deployments[0].network_configuration.awsvpc_configuration.security_groups #=> Array
|
@@ -3410,6 +3424,8 @@ module Aws::ECS
|
|
3410
3424
|
# resp.task_definition.placement_constraints[0].expression #=> String
|
3411
3425
|
# resp.task_definition.compatibilities #=> Array
|
3412
3426
|
# resp.task_definition.compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
3427
|
+
# resp.task_definition.runtime_platform.cpu_architecture #=> String, one of "X86_64", "ARM64"
|
3428
|
+
# resp.task_definition.runtime_platform.operating_system_family #=> String, one of "WINDOWS_SERVER_2019_FULL", "WINDOWS_SERVER_2019_CORE", "WINDOWS_SERVER_2016_FULL", "WINDOWS_SERVER_2004_CORE", "WINDOWS_SERVER_2022_CORE", "WINDOWS_SERVER_2022_FULL", "WINDOWS_SERVER_20H2_CORE", "LINUX"
|
3413
3429
|
# resp.task_definition.requires_compatibilities #=> Array
|
3414
3430
|
# resp.task_definition.requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
3415
3431
|
# resp.task_definition.cpu #=> String
|
@@ -3502,6 +3518,7 @@ module Aws::ECS
|
|
3502
3518
|
# resp.task_sets[0].capacity_provider_strategy[0].weight #=> Integer
|
3503
3519
|
# resp.task_sets[0].capacity_provider_strategy[0].base #=> Integer
|
3504
3520
|
# resp.task_sets[0].platform_version #=> String
|
3521
|
+
# resp.task_sets[0].platform_family #=> String
|
3505
3522
|
# resp.task_sets[0].network_configuration.awsvpc_configuration.subnets #=> Array
|
3506
3523
|
# resp.task_sets[0].network_configuration.awsvpc_configuration.subnets[0] #=> String
|
3507
3524
|
# resp.task_sets[0].network_configuration.awsvpc_configuration.security_groups #=> Array
|
@@ -3707,6 +3724,7 @@ module Aws::ECS
|
|
3707
3724
|
# resp.tasks[0].overrides.task_role_arn #=> String
|
3708
3725
|
# resp.tasks[0].overrides.ephemeral_storage.size_in_gi_b #=> Integer
|
3709
3726
|
# resp.tasks[0].platform_version #=> String
|
3727
|
+
# resp.tasks[0].platform_family #=> String
|
3710
3728
|
# resp.tasks[0].pull_started_at #=> Time
|
3711
3729
|
# resp.tasks[0].pull_stopped_at #=> Time
|
3712
3730
|
# resp.tasks[0].started_at #=> Time
|
@@ -5641,8 +5659,12 @@ module Aws::ECS
|
|
5641
5659
|
# more information, see [Fargate task storage][1] in the *Amazon ECS
|
5642
5660
|
# User Guide for Fargate*.
|
5643
5661
|
#
|
5644
|
-
# <note markdown="1"> This parameter is only supported for tasks hosted on Fargate using
|
5645
|
-
# platform
|
5662
|
+
# <note markdown="1"> This parameter is only supported for tasks hosted on Fargate using the
|
5663
|
+
# following platform versions:
|
5664
|
+
#
|
5665
|
+
# * Linux platform version `1.4.0` or later.
|
5666
|
+
#
|
5667
|
+
# * Windows platform version `1.0.0` or later.
|
5646
5668
|
#
|
5647
5669
|
# </note>
|
5648
5670
|
#
|
@@ -5650,6 +5672,13 @@ module Aws::ECS
|
|
5650
5672
|
#
|
5651
5673
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/userguide/using_data_volumes.html
|
5652
5674
|
#
|
5675
|
+
# @option params [Types::RuntimePlatform] :runtime_platform
|
5676
|
+
# The operating system that your tasks definitions run on. A platform
|
5677
|
+
# family is specified only for tasks using the Fargate launch type.
|
5678
|
+
#
|
5679
|
+
# When you specify a task definition in a service, this value must match
|
5680
|
+
# the `runtimePlatform` value of the service.
|
5681
|
+
#
|
5653
5682
|
# @return [Types::RegisterTaskDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5654
5683
|
#
|
5655
5684
|
# * {Types::RegisterTaskDefinitionResponse#task_definition #task_definition} => Types::TaskDefinition
|
@@ -5942,6 +5971,10 @@ module Aws::ECS
|
|
5942
5971
|
# ephemeral_storage: {
|
5943
5972
|
# size_in_gi_b: 1, # required
|
5944
5973
|
# },
|
5974
|
+
# runtime_platform: {
|
5975
|
+
# cpu_architecture: "X86_64", # accepts X86_64, ARM64
|
5976
|
+
# operating_system_family: "WINDOWS_SERVER_2019_FULL", # accepts WINDOWS_SERVER_2019_FULL, WINDOWS_SERVER_2019_CORE, WINDOWS_SERVER_2016_FULL, WINDOWS_SERVER_2004_CORE, WINDOWS_SERVER_2022_CORE, WINDOWS_SERVER_2022_FULL, WINDOWS_SERVER_20H2_CORE, LINUX
|
5977
|
+
# },
|
5945
5978
|
# })
|
5946
5979
|
#
|
5947
5980
|
# @example Response structure
|
@@ -6084,6 +6117,8 @@ module Aws::ECS
|
|
6084
6117
|
# resp.task_definition.placement_constraints[0].expression #=> String
|
6085
6118
|
# resp.task_definition.compatibilities #=> Array
|
6086
6119
|
# resp.task_definition.compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
6120
|
+
# resp.task_definition.runtime_platform.cpu_architecture #=> String, one of "X86_64", "ARM64"
|
6121
|
+
# resp.task_definition.runtime_platform.operating_system_family #=> String, one of "WINDOWS_SERVER_2019_FULL", "WINDOWS_SERVER_2019_CORE", "WINDOWS_SERVER_2016_FULL", "WINDOWS_SERVER_2004_CORE", "WINDOWS_SERVER_2022_CORE", "WINDOWS_SERVER_2022_FULL", "WINDOWS_SERVER_20H2_CORE", "LINUX"
|
6087
6122
|
# resp.task_definition.requires_compatibilities #=> Array
|
6088
6123
|
# resp.task_definition.requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
6089
6124
|
# resp.task_definition.cpu #=> String
|
@@ -6331,6 +6366,13 @@ module Aws::ECS
|
|
6331
6366
|
# task definition to run. If a `revision` is not specified, the latest
|
6332
6367
|
# `ACTIVE` revision is used.
|
6333
6368
|
#
|
6369
|
+
# The full ARN value must match the value that you specified ias the
|
6370
|
+
# `Resource` of the IAM principal's permissions policy. For example, if
|
6371
|
+
# the `Resource` is
|
6372
|
+
# arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:*,
|
6373
|
+
# the `taskDefinition` ARN value must be
|
6374
|
+
# `arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName`.
|
6375
|
+
#
|
6334
6376
|
# @return [Types::RunTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6335
6377
|
#
|
6336
6378
|
# * {Types::RunTaskResponse#tasks #tasks} => Array<Types::Task>
|
@@ -6553,6 +6595,7 @@ module Aws::ECS
|
|
6553
6595
|
# resp.tasks[0].overrides.task_role_arn #=> String
|
6554
6596
|
# resp.tasks[0].overrides.ephemeral_storage.size_in_gi_b #=> Integer
|
6555
6597
|
# resp.tasks[0].platform_version #=> String
|
6598
|
+
# resp.tasks[0].platform_family #=> String
|
6556
6599
|
# resp.tasks[0].pull_started_at #=> Time
|
6557
6600
|
# resp.tasks[0].pull_stopped_at #=> Time
|
6558
6601
|
# resp.tasks[0].started_at #=> Time
|
@@ -6860,6 +6903,7 @@ module Aws::ECS
|
|
6860
6903
|
# resp.tasks[0].overrides.task_role_arn #=> String
|
6861
6904
|
# resp.tasks[0].overrides.ephemeral_storage.size_in_gi_b #=> Integer
|
6862
6905
|
# resp.tasks[0].platform_version #=> String
|
6906
|
+
# resp.tasks[0].platform_family #=> String
|
6863
6907
|
# resp.tasks[0].pull_started_at #=> Time
|
6864
6908
|
# resp.tasks[0].pull_stopped_at #=> Time
|
6865
6909
|
# resp.tasks[0].started_at #=> Time
|
@@ -7025,6 +7069,7 @@ module Aws::ECS
|
|
7025
7069
|
# resp.task.overrides.task_role_arn #=> String
|
7026
7070
|
# resp.task.overrides.ephemeral_storage.size_in_gi_b #=> Integer
|
7027
7071
|
# resp.task.platform_version #=> String
|
7072
|
+
# resp.task.platform_family #=> String
|
7028
7073
|
# resp.task.pull_started_at #=> Time
|
7029
7074
|
# resp.task.pull_stopped_at #=> Time
|
7030
7075
|
# resp.task.started_at #=> Time
|
@@ -8197,6 +8242,7 @@ module Aws::ECS
|
|
8197
8242
|
# resp.service.capacity_provider_strategy[0].weight #=> Integer
|
8198
8243
|
# resp.service.capacity_provider_strategy[0].base #=> Integer
|
8199
8244
|
# resp.service.platform_version #=> String
|
8245
|
+
# resp.service.platform_family #=> String
|
8200
8246
|
# resp.service.task_definition #=> String
|
8201
8247
|
# resp.service.deployment_configuration.deployment_circuit_breaker.enable #=> Boolean
|
8202
8248
|
# resp.service.deployment_configuration.deployment_circuit_breaker.rollback #=> Boolean
|
@@ -8222,6 +8268,7 @@ module Aws::ECS
|
|
8222
8268
|
# resp.service.task_sets[0].capacity_provider_strategy[0].weight #=> Integer
|
8223
8269
|
# resp.service.task_sets[0].capacity_provider_strategy[0].base #=> Integer
|
8224
8270
|
# resp.service.task_sets[0].platform_version #=> String
|
8271
|
+
# resp.service.task_sets[0].platform_family #=> String
|
8225
8272
|
# resp.service.task_sets[0].network_configuration.awsvpc_configuration.subnets #=> Array
|
8226
8273
|
# resp.service.task_sets[0].network_configuration.awsvpc_configuration.subnets[0] #=> String
|
8227
8274
|
# resp.service.task_sets[0].network_configuration.awsvpc_configuration.security_groups #=> Array
|
@@ -8260,6 +8307,7 @@ module Aws::ECS
|
|
8260
8307
|
# resp.service.deployments[0].capacity_provider_strategy[0].base #=> Integer
|
8261
8308
|
# resp.service.deployments[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
8262
8309
|
# resp.service.deployments[0].platform_version #=> String
|
8310
|
+
# resp.service.deployments[0].platform_family #=> String
|
8263
8311
|
# resp.service.deployments[0].network_configuration.awsvpc_configuration.subnets #=> Array
|
8264
8312
|
# resp.service.deployments[0].network_configuration.awsvpc_configuration.subnets[0] #=> String
|
8265
8313
|
# resp.service.deployments[0].network_configuration.awsvpc_configuration.security_groups #=> Array
|
@@ -8360,6 +8408,7 @@ module Aws::ECS
|
|
8360
8408
|
# resp.task_set.capacity_provider_strategy[0].weight #=> Integer
|
8361
8409
|
# resp.task_set.capacity_provider_strategy[0].base #=> Integer
|
8362
8410
|
# resp.task_set.platform_version #=> String
|
8411
|
+
# resp.task_set.platform_family #=> String
|
8363
8412
|
# resp.task_set.network_configuration.awsvpc_configuration.subnets #=> Array
|
8364
8413
|
# resp.task_set.network_configuration.awsvpc_configuration.subnets[0] #=> String
|
8365
8414
|
# resp.task_set.network_configuration.awsvpc_configuration.security_groups #=> Array
|
@@ -8454,6 +8503,7 @@ module Aws::ECS
|
|
8454
8503
|
# resp.task_set.capacity_provider_strategy[0].weight #=> Integer
|
8455
8504
|
# resp.task_set.capacity_provider_strategy[0].base #=> Integer
|
8456
8505
|
# resp.task_set.platform_version #=> String
|
8506
|
+
# resp.task_set.platform_family #=> String
|
8457
8507
|
# resp.task_set.network_configuration.awsvpc_configuration.subnets #=> Array
|
8458
8508
|
# resp.task_set.network_configuration.awsvpc_configuration.subnets[0] #=> String
|
8459
8509
|
# resp.task_set.network_configuration.awsvpc_configuration.security_groups #=> Array
|
@@ -8499,7 +8549,7 @@ module Aws::ECS
|
|
8499
8549
|
params: params,
|
8500
8550
|
config: config)
|
8501
8551
|
context[:gem_name] = 'aws-sdk-ecs'
|
8502
|
-
context[:gem_version] = '1.
|
8552
|
+
context[:gem_version] = '1.88.0'
|
8503
8553
|
Seahorse::Client::Request.new(handlers, context)
|
8504
8554
|
end
|
8505
8555
|
|
@@ -31,6 +31,7 @@ module Aws::ECS
|
|
31
31
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
32
32
|
BoxedBoolean = Shapes::BooleanShape.new(name: 'BoxedBoolean')
|
33
33
|
BoxedInteger = Shapes::IntegerShape.new(name: 'BoxedInteger')
|
34
|
+
CPUArchitecture = Shapes::StringShape.new(name: 'CPUArchitecture')
|
34
35
|
CapacityProvider = Shapes::StructureShape.new(name: 'CapacityProvider')
|
35
36
|
CapacityProviderField = Shapes::StringShape.new(name: 'CapacityProviderField')
|
36
37
|
CapacityProviderFieldList = Shapes::ListShape.new(name: 'CapacityProviderFieldList')
|
@@ -212,6 +213,7 @@ module Aws::ECS
|
|
212
213
|
NetworkInterfaces = Shapes::ListShape.new(name: 'NetworkInterfaces')
|
213
214
|
NetworkMode = Shapes::StringShape.new(name: 'NetworkMode')
|
214
215
|
NoUpdateAvailableException = Shapes::StructureShape.new(name: 'NoUpdateAvailableException')
|
216
|
+
OSFamily = Shapes::StringShape.new(name: 'OSFamily')
|
215
217
|
PidMode = Shapes::StringShape.new(name: 'PidMode')
|
216
218
|
PlacementConstraint = Shapes::StructureShape.new(name: 'PlacementConstraint')
|
217
219
|
PlacementConstraintType = Shapes::StringShape.new(name: 'PlacementConstraintType')
|
@@ -253,6 +255,7 @@ module Aws::ECS
|
|
253
255
|
Resources = Shapes::ListShape.new(name: 'Resources')
|
254
256
|
RunTaskRequest = Shapes::StructureShape.new(name: 'RunTaskRequest')
|
255
257
|
RunTaskResponse = Shapes::StructureShape.new(name: 'RunTaskResponse')
|
258
|
+
RuntimePlatform = Shapes::StructureShape.new(name: 'RuntimePlatform')
|
256
259
|
Scale = Shapes::StructureShape.new(name: 'Scale')
|
257
260
|
ScaleUnit = Shapes::StringShape.new(name: 'ScaleUnit')
|
258
261
|
SchedulingStrategy = Shapes::StringShape.new(name: 'SchedulingStrategy')
|
@@ -697,6 +700,7 @@ module Aws::ECS
|
|
697
700
|
Deployment.add_member(:capacity_provider_strategy, Shapes::ShapeRef.new(shape: CapacityProviderStrategy, location_name: "capacityProviderStrategy"))
|
698
701
|
Deployment.add_member(:launch_type, Shapes::ShapeRef.new(shape: LaunchType, location_name: "launchType"))
|
699
702
|
Deployment.add_member(:platform_version, Shapes::ShapeRef.new(shape: String, location_name: "platformVersion"))
|
703
|
+
Deployment.add_member(:platform_family, Shapes::ShapeRef.new(shape: String, location_name: "platformFamily"))
|
700
704
|
Deployment.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration"))
|
701
705
|
Deployment.add_member(:rollout_state, Shapes::ShapeRef.new(shape: DeploymentRolloutState, location_name: "rolloutState"))
|
702
706
|
Deployment.add_member(:rollout_state_reason, Shapes::ShapeRef.new(shape: String, location_name: "rolloutStateReason"))
|
@@ -1204,6 +1208,7 @@ module Aws::ECS
|
|
1204
1208
|
RegisterTaskDefinitionRequest.add_member(:proxy_configuration, Shapes::ShapeRef.new(shape: ProxyConfiguration, location_name: "proxyConfiguration"))
|
1205
1209
|
RegisterTaskDefinitionRequest.add_member(:inference_accelerators, Shapes::ShapeRef.new(shape: InferenceAccelerators, location_name: "inferenceAccelerators"))
|
1206
1210
|
RegisterTaskDefinitionRequest.add_member(:ephemeral_storage, Shapes::ShapeRef.new(shape: EphemeralStorage, location_name: "ephemeralStorage"))
|
1211
|
+
RegisterTaskDefinitionRequest.add_member(:runtime_platform, Shapes::ShapeRef.new(shape: RuntimePlatform, location_name: "runtimePlatform"))
|
1207
1212
|
RegisterTaskDefinitionRequest.struct_class = Types::RegisterTaskDefinitionRequest
|
1208
1213
|
|
1209
1214
|
RegisterTaskDefinitionResponse.add_member(:task_definition, Shapes::ShapeRef.new(shape: TaskDefinition, location_name: "taskDefinition"))
|
@@ -1258,6 +1263,10 @@ module Aws::ECS
|
|
1258
1263
|
RunTaskResponse.add_member(:failures, Shapes::ShapeRef.new(shape: Failures, location_name: "failures"))
|
1259
1264
|
RunTaskResponse.struct_class = Types::RunTaskResponse
|
1260
1265
|
|
1266
|
+
RuntimePlatform.add_member(:cpu_architecture, Shapes::ShapeRef.new(shape: CPUArchitecture, location_name: "cpuArchitecture"))
|
1267
|
+
RuntimePlatform.add_member(:operating_system_family, Shapes::ShapeRef.new(shape: OSFamily, location_name: "operatingSystemFamily"))
|
1268
|
+
RuntimePlatform.struct_class = Types::RuntimePlatform
|
1269
|
+
|
1261
1270
|
Scale.add_member(:value, Shapes::ShapeRef.new(shape: Double, location_name: "value"))
|
1262
1271
|
Scale.add_member(:unit, Shapes::ShapeRef.new(shape: ScaleUnit, location_name: "unit"))
|
1263
1272
|
Scale.struct_class = Types::Scale
|
@@ -1283,6 +1292,7 @@ module Aws::ECS
|
|
1283
1292
|
Service.add_member(:launch_type, Shapes::ShapeRef.new(shape: LaunchType, location_name: "launchType"))
|
1284
1293
|
Service.add_member(:capacity_provider_strategy, Shapes::ShapeRef.new(shape: CapacityProviderStrategy, location_name: "capacityProviderStrategy"))
|
1285
1294
|
Service.add_member(:platform_version, Shapes::ShapeRef.new(shape: String, location_name: "platformVersion"))
|
1295
|
+
Service.add_member(:platform_family, Shapes::ShapeRef.new(shape: String, location_name: "platformFamily"))
|
1286
1296
|
Service.add_member(:task_definition, Shapes::ShapeRef.new(shape: String, location_name: "taskDefinition"))
|
1287
1297
|
Service.add_member(:deployment_configuration, Shapes::ShapeRef.new(shape: DeploymentConfiguration, location_name: "deploymentConfiguration"))
|
1288
1298
|
Service.add_member(:task_sets, Shapes::ShapeRef.new(shape: TaskSets, location_name: "taskSets"))
|
@@ -1452,6 +1462,7 @@ module Aws::ECS
|
|
1452
1462
|
Task.add_member(:memory, Shapes::ShapeRef.new(shape: String, location_name: "memory"))
|
1453
1463
|
Task.add_member(:overrides, Shapes::ShapeRef.new(shape: TaskOverride, location_name: "overrides"))
|
1454
1464
|
Task.add_member(:platform_version, Shapes::ShapeRef.new(shape: String, location_name: "platformVersion"))
|
1465
|
+
Task.add_member(:platform_family, Shapes::ShapeRef.new(shape: String, location_name: "platformFamily"))
|
1455
1466
|
Task.add_member(:pull_started_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "pullStartedAt"))
|
1456
1467
|
Task.add_member(:pull_stopped_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "pullStoppedAt"))
|
1457
1468
|
Task.add_member(:started_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startedAt"))
|
@@ -1479,6 +1490,7 @@ module Aws::ECS
|
|
1479
1490
|
TaskDefinition.add_member(:requires_attributes, Shapes::ShapeRef.new(shape: RequiresAttributes, location_name: "requiresAttributes"))
|
1480
1491
|
TaskDefinition.add_member(:placement_constraints, Shapes::ShapeRef.new(shape: TaskDefinitionPlacementConstraints, location_name: "placementConstraints"))
|
1481
1492
|
TaskDefinition.add_member(:compatibilities, Shapes::ShapeRef.new(shape: CompatibilityList, location_name: "compatibilities"))
|
1493
|
+
TaskDefinition.add_member(:runtime_platform, Shapes::ShapeRef.new(shape: RuntimePlatform, location_name: "runtimePlatform"))
|
1482
1494
|
TaskDefinition.add_member(:requires_compatibilities, Shapes::ShapeRef.new(shape: CompatibilityList, location_name: "requiresCompatibilities"))
|
1483
1495
|
TaskDefinition.add_member(:cpu, Shapes::ShapeRef.new(shape: String, location_name: "cpu"))
|
1484
1496
|
TaskDefinition.add_member(:memory, Shapes::ShapeRef.new(shape: String, location_name: "memory"))
|
@@ -1527,6 +1539,7 @@ module Aws::ECS
|
|
1527
1539
|
TaskSet.add_member(:launch_type, Shapes::ShapeRef.new(shape: LaunchType, location_name: "launchType"))
|
1528
1540
|
TaskSet.add_member(:capacity_provider_strategy, Shapes::ShapeRef.new(shape: CapacityProviderStrategy, location_name: "capacityProviderStrategy"))
|
1529
1541
|
TaskSet.add_member(:platform_version, Shapes::ShapeRef.new(shape: String, location_name: "platformVersion"))
|
1542
|
+
TaskSet.add_member(:platform_family, Shapes::ShapeRef.new(shape: String, location_name: "platformFamily"))
|
1530
1543
|
TaskSet.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration"))
|
1531
1544
|
TaskSet.add_member(:load_balancers, Shapes::ShapeRef.new(shape: LoadBalancers, location_name: "loadBalancers"))
|
1532
1545
|
TaskSet.add_member(:service_registries, Shapes::ShapeRef.new(shape: ServiceRegistries, location_name: "serviceRegistries"))
|
data/lib/aws-sdk-ecs/types.rb
CHANGED
@@ -1468,7 +1468,11 @@ module Aws::ECS
|
|
1468
1468
|
# Developer Guide*.
|
1469
1469
|
#
|
1470
1470
|
# For tasks using the Fargate launch type, the task or service
|
1471
|
-
# requires
|
1471
|
+
# requires the followiwng platforms:
|
1472
|
+
#
|
1473
|
+
# * Linux platform version `1.3.0` or later.
|
1474
|
+
#
|
1475
|
+
# * Windows platform version `1.0.0` or later.
|
1472
1476
|
#
|
1473
1477
|
#
|
1474
1478
|
#
|
@@ -1492,8 +1496,12 @@ module Aws::ECS
|
|
1492
1496
|
#
|
1493
1497
|
# </note>
|
1494
1498
|
#
|
1495
|
-
# For tasks using the Fargate launch type,
|
1496
|
-
#
|
1499
|
+
# For tasks using the Fargate launch type, the task or service
|
1500
|
+
# requires the followiwng platforms:
|
1501
|
+
#
|
1502
|
+
# * Linux platform version `1.3.0` or later.
|
1503
|
+
#
|
1504
|
+
# * Windows platform version `1.0.0` or later.
|
1497
1505
|
#
|
1498
1506
|
# For tasks using the EC2 launch type, your container instances
|
1499
1507
|
# require at least version `1.26.0` of the container agent to enable a
|
@@ -1520,9 +1528,14 @@ module Aws::ECS
|
|
1520
1528
|
# forcefully killed if it doesn't exit normally on its own.
|
1521
1529
|
#
|
1522
1530
|
# For tasks using the Fargate launch type, the task or service
|
1523
|
-
# requires
|
1524
|
-
#
|
1525
|
-
#
|
1531
|
+
# requires the followiwng platforms:
|
1532
|
+
#
|
1533
|
+
# * Linux platform version `1.3.0` or later.
|
1534
|
+
#
|
1535
|
+
# * Windows platform version `1.0.0` or later.
|
1536
|
+
#
|
1537
|
+
# The max stop timeout value is 120 seconds and if the parameter is
|
1538
|
+
# not specified, the default value of 30 seconds is used.
|
1526
1539
|
#
|
1527
1540
|
# For tasks using the EC2 launch type, if the `stopTimeout` parameter
|
1528
1541
|
# is not specified, the value set for the Amazon ECS container agent
|
@@ -1995,8 +2008,12 @@ module Aws::ECS
|
|
1995
2008
|
# see [Amazon ECS-optimized Linux AMI][2] in the *Amazon Elastic
|
1996
2009
|
# Container Service Developer Guide*.
|
1997
2010
|
#
|
1998
|
-
# <note markdown="1"> For tasks using the Fargate launch type,
|
1999
|
-
# the
|
2011
|
+
# <note markdown="1"> For tasks using the Fargate launch type, the task or service requires
|
2012
|
+
# the followiwng platforms:
|
2013
|
+
#
|
2014
|
+
# * Linux platform version `1.3.0` or later.
|
2015
|
+
#
|
2016
|
+
# * Windows platform version `1.0.0` or later.
|
2000
2017
|
#
|
2001
2018
|
# </note>
|
2002
2019
|
#
|
@@ -3049,7 +3066,8 @@ module Aws::ECS
|
|
3049
3066
|
# the service to the tasks in the service. If no value is specified,
|
3050
3067
|
# the tags are not propagated. Tags can only be propagated to the
|
3051
3068
|
# tasks within the service during service creation. To add tags to a
|
3052
|
-
# task after service creation, use the TagResource
|
3069
|
+
# task after service creation or task creation, use the TagResource
|
3070
|
+
# API action.
|
3053
3071
|
# @return [String]
|
3054
3072
|
#
|
3055
3073
|
# @!attribute [rw] enable_execute_command
|
@@ -3689,6 +3707,15 @@ module Aws::ECS
|
|
3689
3707
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html
|
3690
3708
|
# @return [String]
|
3691
3709
|
#
|
3710
|
+
# @!attribute [rw] platform_family
|
3711
|
+
# The operating system that your tasks in the service, or tasks are
|
3712
|
+
# running on. A platform family is specified only for tasks using the
|
3713
|
+
# Fargate launch type.
|
3714
|
+
#
|
3715
|
+
# All tasks that run as part of this service must use the same
|
3716
|
+
# `platformFamily` value as the service, for example, ` LINUX.`.
|
3717
|
+
# @return [String]
|
3718
|
+
#
|
3692
3719
|
# @!attribute [rw] network_configuration
|
3693
3720
|
# The VPC subnet and security group configuration for tasks that
|
3694
3721
|
# receive their own elastic network interface by using the `awsvpc`
|
@@ -3730,6 +3757,7 @@ module Aws::ECS
|
|
3730
3757
|
:capacity_provider_strategy,
|
3731
3758
|
:launch_type,
|
3732
3759
|
:platform_version,
|
3760
|
+
:platform_family,
|
3733
3761
|
:network_configuration,
|
3734
3762
|
:rollout_state,
|
3735
3763
|
:rollout_state_reason)
|
@@ -4788,8 +4816,12 @@ module Aws::ECS
|
|
4788
4816
|
# variables][2] in the *Amazon Elastic Container Service Developer
|
4789
4817
|
# Guide*.
|
4790
4818
|
#
|
4791
|
-
# This
|
4792
|
-
# platform
|
4819
|
+
# This parameter is only supported for tasks hosted on Fargate using the
|
4820
|
+
# following platform versions:
|
4821
|
+
#
|
4822
|
+
# * Linux platform version `1.4.0` or later.
|
4823
|
+
#
|
4824
|
+
# * Windows platform version `1.0.0` or later.
|
4793
4825
|
#
|
4794
4826
|
#
|
4795
4827
|
#
|
@@ -4828,8 +4860,12 @@ module Aws::ECS
|
|
4828
4860
|
# more information, see [Fargate task storage][1] in the *Amazon ECS
|
4829
4861
|
# User Guide for Fargate*.
|
4830
4862
|
#
|
4831
|
-
# <note markdown="1"> This parameter is only supported for tasks hosted on Fargate using
|
4832
|
-
# platform
|
4863
|
+
# <note markdown="1"> This parameter is only supported for tasks hosted on Fargate using the
|
4864
|
+
# following platform versions:
|
4865
|
+
#
|
4866
|
+
# * Linux platform version `1.4.0` or later.
|
4867
|
+
#
|
4868
|
+
# * Windows platform version `1.0.0` or later.
|
4833
4869
|
#
|
4834
4870
|
# </note>
|
4835
4871
|
#
|
@@ -4949,8 +4985,8 @@ module Aws::ECS
|
|
4949
4985
|
# @return [String]
|
4950
4986
|
#
|
4951
4987
|
# @!attribute [rw] s3_encryption_enabled
|
4952
|
-
# Whether or not to
|
4953
|
-
#
|
4988
|
+
# Whether or not to use encryption on the S3 logs. If not specified,
|
4989
|
+
# encryption is not used.
|
4954
4990
|
# @return [Boolean]
|
4955
4991
|
#
|
4956
4992
|
# @!attribute [rw] s3_key_prefix
|
@@ -5440,7 +5476,7 @@ module Aws::ECS
|
|
5440
5476
|
#
|
5441
5477
|
#
|
5442
5478
|
#
|
5443
|
-
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-
|
5479
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-inference.html
|
5444
5480
|
#
|
5445
5481
|
# @note When making an API call, you may pass InferenceAccelerator
|
5446
5482
|
# data as a hash:
|
@@ -5477,7 +5513,7 @@ module Aws::ECS
|
|
5477
5513
|
#
|
5478
5514
|
#
|
5479
5515
|
#
|
5480
|
-
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-
|
5516
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-inference.html
|
5481
5517
|
#
|
5482
5518
|
# @note When making an API call, you may pass InferenceAcceleratorOverride
|
5483
5519
|
# data as a hash:
|
@@ -7995,6 +8031,10 @@ module Aws::ECS
|
|
7995
8031
|
# ephemeral_storage: {
|
7996
8032
|
# size_in_gi_b: 1, # required
|
7997
8033
|
# },
|
8034
|
+
# runtime_platform: {
|
8035
|
+
# cpu_architecture: "X86_64", # accepts X86_64, ARM64
|
8036
|
+
# operating_system_family: "WINDOWS_SERVER_2019_FULL", # accepts WINDOWS_SERVER_2019_FULL, WINDOWS_SERVER_2019_CORE, WINDOWS_SERVER_2016_FULL, WINDOWS_SERVER_2004_CORE, WINDOWS_SERVER_2022_CORE, WINDOWS_SERVER_2022_FULL, WINDOWS_SERVER_20H2_CORE, LINUX
|
8037
|
+
# },
|
7998
8038
|
# }
|
7999
8039
|
#
|
8000
8040
|
# @!attribute [rw] family
|
@@ -8301,7 +8341,11 @@ module Aws::ECS
|
|
8301
8341
|
# ECS User Guide for Fargate*.
|
8302
8342
|
#
|
8303
8343
|
# <note markdown="1"> This parameter is only supported for tasks hosted on Fargate using
|
8304
|
-
#
|
8344
|
+
# the following platform versions:
|
8345
|
+
#
|
8346
|
+
# * Linux platform version `1.4.0` or later.
|
8347
|
+
#
|
8348
|
+
# * Windows platform version `1.0.0` or later.
|
8305
8349
|
#
|
8306
8350
|
# </note>
|
8307
8351
|
#
|
@@ -8310,6 +8354,14 @@ module Aws::ECS
|
|
8310
8354
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/userguide/using_data_volumes.html
|
8311
8355
|
# @return [Types::EphemeralStorage]
|
8312
8356
|
#
|
8357
|
+
# @!attribute [rw] runtime_platform
|
8358
|
+
# The operating system that your tasks definitions run on. A platform
|
8359
|
+
# family is specified only for tasks using the Fargate launch type.
|
8360
|
+
#
|
8361
|
+
# When you specify a task definition in a service, this value must
|
8362
|
+
# match the `runtimePlatform` value of the service.
|
8363
|
+
# @return [Types::RuntimePlatform]
|
8364
|
+
#
|
8313
8365
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RegisterTaskDefinitionRequest AWS API Documentation
|
8314
8366
|
#
|
8315
8367
|
class RegisterTaskDefinitionRequest < Struct.new(
|
@@ -8328,7 +8380,8 @@ module Aws::ECS
|
|
8328
8380
|
:ipc_mode,
|
8329
8381
|
:proxy_configuration,
|
8330
8382
|
:inference_accelerators,
|
8331
|
-
:ephemeral_storage
|
8383
|
+
:ephemeral_storage,
|
8384
|
+
:runtime_platform)
|
8332
8385
|
SENSITIVE = []
|
8333
8386
|
include Aws::Structure
|
8334
8387
|
end
|
@@ -8458,7 +8511,7 @@ module Aws::ECS
|
|
8458
8511
|
#
|
8459
8512
|
#
|
8460
8513
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-gpu.html
|
8461
|
-
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-
|
8514
|
+
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-inference.html
|
8462
8515
|
#
|
8463
8516
|
# @note When making an API call, you may pass ResourceRequirement
|
8464
8517
|
# data as a hash:
|
@@ -8782,6 +8835,13 @@ module Aws::ECS
|
|
8782
8835
|
# The `family` and `revision` (`family:revision`) or full ARN of the
|
8783
8836
|
# task definition to run. If a `revision` is not specified, the latest
|
8784
8837
|
# `ACTIVE` revision is used.
|
8838
|
+
#
|
8839
|
+
# The full ARN value must match the value that you specified ias the
|
8840
|
+
# `Resource` of the IAM principal's permissions policy. For example,
|
8841
|
+
# if the `Resource` is
|
8842
|
+
# arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:*,
|
8843
|
+
# the `taskDefinition` ARN value must be
|
8844
|
+
# `arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName`.
|
8785
8845
|
# @return [String]
|
8786
8846
|
#
|
8787
8847
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RunTaskRequest AWS API Documentation
|
@@ -8826,6 +8886,33 @@ module Aws::ECS
|
|
8826
8886
|
include Aws::Structure
|
8827
8887
|
end
|
8828
8888
|
|
8889
|
+
# Information about the platform for the Amazon ECS service or task.
|
8890
|
+
#
|
8891
|
+
# @note When making an API call, you may pass RuntimePlatform
|
8892
|
+
# data as a hash:
|
8893
|
+
#
|
8894
|
+
# {
|
8895
|
+
# cpu_architecture: "X86_64", # accepts X86_64, ARM64
|
8896
|
+
# operating_system_family: "WINDOWS_SERVER_2019_FULL", # accepts WINDOWS_SERVER_2019_FULL, WINDOWS_SERVER_2019_CORE, WINDOWS_SERVER_2016_FULL, WINDOWS_SERVER_2004_CORE, WINDOWS_SERVER_2022_CORE, WINDOWS_SERVER_2022_FULL, WINDOWS_SERVER_20H2_CORE, LINUX
|
8897
|
+
# }
|
8898
|
+
#
|
8899
|
+
# @!attribute [rw] cpu_architecture
|
8900
|
+
# The CPU architecture.
|
8901
|
+
# @return [String]
|
8902
|
+
#
|
8903
|
+
# @!attribute [rw] operating_system_family
|
8904
|
+
# The operating system.
|
8905
|
+
# @return [String]
|
8906
|
+
#
|
8907
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RuntimePlatform AWS API Documentation
|
8908
|
+
#
|
8909
|
+
class RuntimePlatform < Struct.new(
|
8910
|
+
:cpu_architecture,
|
8911
|
+
:operating_system_family)
|
8912
|
+
SENSITIVE = []
|
8913
|
+
include Aws::Structure
|
8914
|
+
end
|
8915
|
+
|
8829
8916
|
# A floating-point percentage of the desired number of tasks to place
|
8830
8917
|
# and keep running in the task set.
|
8831
8918
|
#
|
@@ -9002,6 +9089,15 @@ module Aws::ECS
|
|
9002
9089
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html
|
9003
9090
|
# @return [String]
|
9004
9091
|
#
|
9092
|
+
# @!attribute [rw] platform_family
|
9093
|
+
# The operating system that your tasks in the service are running on.
|
9094
|
+
# A platform family is specified only for tasks using the Fargate
|
9095
|
+
# launch type.
|
9096
|
+
#
|
9097
|
+
# All tasks that run as part of this service must use the same
|
9098
|
+
# `platformFamily` value as the service, for example, `LINUX`.
|
9099
|
+
# @return [String]
|
9100
|
+
#
|
9005
9101
|
# @!attribute [rw] task_definition
|
9006
9102
|
# The task definition to use for tasks in the service. This value is
|
9007
9103
|
# specified when the service is created with CreateService, and it can
|
@@ -9168,6 +9264,7 @@ module Aws::ECS
|
|
9168
9264
|
:launch_type,
|
9169
9265
|
:capacity_provider_strategy,
|
9170
9266
|
:platform_version,
|
9267
|
+
:platform_family,
|
9171
9268
|
:task_definition,
|
9172
9269
|
:deployment_configuration,
|
9173
9270
|
:task_sets,
|
@@ -10232,6 +10329,14 @@ module Aws::ECS
|
|
10232
10329
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html
|
10233
10330
|
# @return [String]
|
10234
10331
|
#
|
10332
|
+
# @!attribute [rw] platform_family
|
10333
|
+
# The operating system that your tasks are running on. A platform
|
10334
|
+
# family is specified only for tasks using the Fargate launch type.
|
10335
|
+
#
|
10336
|
+
# All tasks that run as part of this service must use the same
|
10337
|
+
# `platformFamily` value as the service, for example, `LINUX.`.
|
10338
|
+
# @return [String]
|
10339
|
+
#
|
10235
10340
|
# @!attribute [rw] pull_started_at
|
10236
10341
|
# The Unix timestamp for when the container image pull began.
|
10237
10342
|
# @return [Time]
|
@@ -10348,6 +10453,7 @@ module Aws::ECS
|
|
10348
10453
|
:memory,
|
10349
10454
|
:overrides,
|
10350
10455
|
:platform_version,
|
10456
|
+
:platform_family,
|
10351
10457
|
:pull_started_at,
|
10352
10458
|
:pull_stopped_at,
|
10353
10459
|
:started_at,
|
@@ -10542,6 +10648,15 @@ module Aws::ECS
|
|
10542
10648
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html
|
10543
10649
|
# @return [Array<String>]
|
10544
10650
|
#
|
10651
|
+
# @!attribute [rw] runtime_platform
|
10652
|
+
# The operating system that your task definitions are running on. A
|
10653
|
+
# platform family is specified only for tasks using the Fargate launch
|
10654
|
+
# type.
|
10655
|
+
#
|
10656
|
+
# When you specify a task in a service, this value must match the
|
10657
|
+
# `runtimePlatform` value of the service.
|
10658
|
+
# @return [Types::RuntimePlatform]
|
10659
|
+
#
|
10545
10660
|
# @!attribute [rw] requires_compatibilities
|
10546
10661
|
# The task launch types the task definition was validated against. To
|
10547
10662
|
# determine which task launch types the task definition is validated
|
@@ -10726,6 +10841,7 @@ module Aws::ECS
|
|
10726
10841
|
:requires_attributes,
|
10727
10842
|
:placement_constraints,
|
10728
10843
|
:compatibilities,
|
10844
|
+
:runtime_platform,
|
10729
10845
|
:requires_compatibilities,
|
10730
10846
|
:cpu,
|
10731
10847
|
:memory,
|
@@ -10847,7 +10963,13 @@ module Aws::ECS
|
|
10847
10963
|
#
|
10848
10964
|
# @!attribute [rw] execution_role_arn
|
10849
10965
|
# The Amazon Resource Name (ARN) of the task execution IAM role
|
10850
|
-
# override for the task.
|
10966
|
+
# override for the task. For more information, see [Amazon ECS task
|
10967
|
+
# execution IAM role][1] in the *Amazon Elastic Container Service
|
10968
|
+
# Developer Guide*.
|
10969
|
+
#
|
10970
|
+
#
|
10971
|
+
#
|
10972
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_execution_IAM_role.html
|
10851
10973
|
# @return [String]
|
10852
10974
|
#
|
10853
10975
|
# @!attribute [rw] memory
|
@@ -10857,14 +10979,24 @@ module Aws::ECS
|
|
10857
10979
|
# @!attribute [rw] task_role_arn
|
10858
10980
|
# The Amazon Resource Name (ARN) of the IAM role that containers in
|
10859
10981
|
# this task can assume. All containers in this task are granted the
|
10860
|
-
# permissions that are specified in this role.
|
10982
|
+
# permissions that are specified in this role. For more information,
|
10983
|
+
# see [IAM Role for Tasks][1] in the *Amazon Elastic Container Service
|
10984
|
+
# Developer Guide*.
|
10985
|
+
#
|
10986
|
+
#
|
10987
|
+
#
|
10988
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html
|
10861
10989
|
# @return [String]
|
10862
10990
|
#
|
10863
10991
|
# @!attribute [rw] ephemeral_storage
|
10864
10992
|
# The ephemeral storage setting override for the task.
|
10865
10993
|
#
|
10866
10994
|
# <note markdown="1"> This parameter is only supported for tasks hosted on Fargate using
|
10867
|
-
#
|
10995
|
+
# the following platform versions:
|
10996
|
+
#
|
10997
|
+
# * Linux platform version `1.4.0` or later.
|
10998
|
+
#
|
10999
|
+
# * Windows platform version `1.0.0` or later.
|
10868
11000
|
#
|
10869
11001
|
# </note>
|
10870
11002
|
# @return [Types::EphemeralStorage]
|
@@ -11001,6 +11133,14 @@ module Aws::ECS
|
|
11001
11133
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html
|
11002
11134
|
# @return [String]
|
11003
11135
|
#
|
11136
|
+
# @!attribute [rw] platform_family
|
11137
|
+
# The operating system that your tasks in the set are running on. A
|
11138
|
+
# platform family is specified only for tasks using the Fargate launch
|
11139
|
+
# type.
|
11140
|
+
#
|
11141
|
+
# All tasks in the set must have the same value.
|
11142
|
+
# @return [String]
|
11143
|
+
#
|
11004
11144
|
# @!attribute [rw] network_configuration
|
11005
11145
|
# The network configuration for the task set.
|
11006
11146
|
# @return [Types::NetworkConfiguration]
|
@@ -11097,6 +11237,7 @@ module Aws::ECS
|
|
11097
11237
|
:launch_type,
|
11098
11238
|
:capacity_provider_strategy,
|
11099
11239
|
:platform_version,
|
11240
|
+
:platform_family,
|
11100
11241
|
:network_configuration,
|
11101
11242
|
:load_balancers,
|
11102
11243
|
:service_registries,
|
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.88.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-28 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
|
- - ">="
|