aws-sdk-ecs 1.208.0 → 1.209.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecs/client.rb +120 -12
- data/lib/aws-sdk-ecs/client_api.rb +14 -0
- data/lib/aws-sdk-ecs/endpoint_parameters.rb +4 -4
- data/lib/aws-sdk-ecs/types.rb +138 -16
- data/lib/aws-sdk-ecs.rb +1 -1
- data/sig/client.rbs +20 -4
- data/sig/types.rbs +17 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4c0edc974a2fdd3e64c4e4d3d3de2269151ade4db523c7280b1d8882181072c9
|
|
4
|
+
data.tar.gz: 408924f40cd2389618e1dd31ad967edc897fb933f779646b69043f34ba7b7735
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f1ef3277724beed0a49bfd91ad67043cbe3e297e82401cc600b38903d18622b22eace57e5a4dab1f269215a9fd8511ca3db99bd57afc1cf410c85e9b2f5a2f68
|
|
7
|
+
data.tar.gz: 19eba42daf761ec3cc11e6a2ed5b1a58e7fcda03b121da96f6e76f593f8338c75778392a98d4daac53209b5c134aaaf4cc786f505163c55d21e5df4d1b9433fc
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.209.0 (2025-10-28)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Amazon ECS supports native linear and canary service deployments, allowing you to shift traffic in increments for more control.
|
|
8
|
+
|
|
4
9
|
1.208.0 (2025-10-21)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.209.0
|
data/lib/aws-sdk-ecs/client.rb
CHANGED
|
@@ -1151,6 +1151,45 @@ module Aws::ECS
|
|
|
1151
1151
|
#
|
|
1152
1152
|
# * Load balancer requirement: When your service uses Application
|
|
1153
1153
|
# Load Balancer, Network Load Balancer, or Service Connect
|
|
1154
|
+
# * `LINEAR`: A *linear* deployment strategy (`LINEAR`) gradually
|
|
1155
|
+
# shifts traffic from the current production environment to a new
|
|
1156
|
+
# environment in equal percentage increments over a specified time
|
|
1157
|
+
# period. With Amazon ECS linear deployments, you can control the
|
|
1158
|
+
# pace of traffic shifting and validate new service revisions with
|
|
1159
|
+
# increasing amounts of production traffic.
|
|
1160
|
+
#
|
|
1161
|
+
# Linear deployments are best suited for the following scenarios:
|
|
1162
|
+
#
|
|
1163
|
+
# * Gradual validation: When you want to gradually validate your new
|
|
1164
|
+
# service version with increasing traffic
|
|
1165
|
+
#
|
|
1166
|
+
# * Performance monitoring: When you need time to monitor metrics
|
|
1167
|
+
# and performance during the deployment
|
|
1168
|
+
#
|
|
1169
|
+
# * Risk minimization: When you want to minimize risk by exposing
|
|
1170
|
+
# the new version to production traffic incrementally
|
|
1171
|
+
#
|
|
1172
|
+
# * Load balancer requirement: When your service uses Application
|
|
1173
|
+
# Load Balancer, Network Load Balancer, or Service Connect
|
|
1174
|
+
# * `CANARY`: A *canary* deployment strategy (`CANARY`) shifts a small
|
|
1175
|
+
# percentage of traffic to the new service revision first, then
|
|
1176
|
+
# shifts the remaining traffic all at once after a specified time
|
|
1177
|
+
# period. This allows you to test the new version with a subset of
|
|
1178
|
+
# users before full deployment.
|
|
1179
|
+
#
|
|
1180
|
+
# Canary deployments are best suited for the following scenarios:
|
|
1181
|
+
#
|
|
1182
|
+
# * Feature testing: When you want to test new features with a small
|
|
1183
|
+
# subset of users before full rollout
|
|
1184
|
+
#
|
|
1185
|
+
# * Production validation: When you need to validate performance and
|
|
1186
|
+
# functionality with real production traffic
|
|
1187
|
+
#
|
|
1188
|
+
# * Blast radius control: When you want to minimize blast radius if
|
|
1189
|
+
# issues are discovered in the new version
|
|
1190
|
+
#
|
|
1191
|
+
# * Load balancer requirement: When your service uses Application
|
|
1192
|
+
# Load Balancer, Network Load Balancer, or Service Connect
|
|
1154
1193
|
# * External
|
|
1155
1194
|
#
|
|
1156
1195
|
# Use a third-party deployment controller.
|
|
@@ -1328,6 +1367,12 @@ module Aws::ECS
|
|
|
1328
1367
|
# see [Amazon ECS launch types][1] in the *Amazon Elastic Container
|
|
1329
1368
|
# Service Developer Guide*.
|
|
1330
1369
|
#
|
|
1370
|
+
# <note markdown="1"> If you want to use Amazon ECS Managed Instances, you must use the
|
|
1371
|
+
# `capacityProviderStrategy` request parameter and omit the `launchType`
|
|
1372
|
+
# request parameter.
|
|
1373
|
+
#
|
|
1374
|
+
# </note>
|
|
1375
|
+
#
|
|
1331
1376
|
# The `FARGATE` launch type runs your tasks on Fargate On-Demand
|
|
1332
1377
|
# infrastructure.
|
|
1333
1378
|
#
|
|
@@ -1355,6 +1400,12 @@ module Aws::ECS
|
|
|
1355
1400
|
# @option params [Array<Types::CapacityProviderStrategyItem>] :capacity_provider_strategy
|
|
1356
1401
|
# The capacity provider strategy to use for the service.
|
|
1357
1402
|
#
|
|
1403
|
+
# <note markdown="1"> If you want to use Amazon ECS Managed Instances, you must use the
|
|
1404
|
+
# `capacityProviderStrategy` request parameter and omit the `launchType`
|
|
1405
|
+
# request parameter.
|
|
1406
|
+
#
|
|
1407
|
+
# </note>
|
|
1408
|
+
#
|
|
1358
1409
|
# If a `capacityProviderStrategy` is specified, the `launchType`
|
|
1359
1410
|
# parameter must be omitted. If no `capacityProviderStrategy` or
|
|
1360
1411
|
# `launchType` is specified, the `defaultCapacityProviderStrategy` for
|
|
@@ -1742,7 +1793,7 @@ module Aws::ECS
|
|
|
1742
1793
|
# rollback: false, # required
|
|
1743
1794
|
# enable: false, # required
|
|
1744
1795
|
# },
|
|
1745
|
-
# strategy: "ROLLING", # accepts ROLLING, BLUE_GREEN
|
|
1796
|
+
# strategy: "ROLLING", # accepts ROLLING, BLUE_GREEN, LINEAR, CANARY
|
|
1746
1797
|
# bake_time_in_minutes: 1,
|
|
1747
1798
|
# lifecycle_hooks: [
|
|
1748
1799
|
# {
|
|
@@ -1753,6 +1804,14 @@ module Aws::ECS
|
|
|
1753
1804
|
# },
|
|
1754
1805
|
# },
|
|
1755
1806
|
# ],
|
|
1807
|
+
# linear_configuration: {
|
|
1808
|
+
# step_percent: 1.0,
|
|
1809
|
+
# step_bake_time_in_minutes: 1,
|
|
1810
|
+
# },
|
|
1811
|
+
# canary_configuration: {
|
|
1812
|
+
# canary_percent: 1.0,
|
|
1813
|
+
# canary_bake_time_in_minutes: 1,
|
|
1814
|
+
# },
|
|
1756
1815
|
# },
|
|
1757
1816
|
# placement_constraints: [
|
|
1758
1817
|
# {
|
|
@@ -1912,13 +1971,17 @@ module Aws::ECS
|
|
|
1912
1971
|
# resp.service.deployment_configuration.alarms.alarm_names[0] #=> String
|
|
1913
1972
|
# resp.service.deployment_configuration.alarms.rollback #=> Boolean
|
|
1914
1973
|
# resp.service.deployment_configuration.alarms.enable #=> Boolean
|
|
1915
|
-
# resp.service.deployment_configuration.strategy #=> String, one of "ROLLING", "BLUE_GREEN"
|
|
1974
|
+
# resp.service.deployment_configuration.strategy #=> String, one of "ROLLING", "BLUE_GREEN", "LINEAR", "CANARY"
|
|
1916
1975
|
# resp.service.deployment_configuration.bake_time_in_minutes #=> Integer
|
|
1917
1976
|
# resp.service.deployment_configuration.lifecycle_hooks #=> Array
|
|
1918
1977
|
# resp.service.deployment_configuration.lifecycle_hooks[0].hook_target_arn #=> String
|
|
1919
1978
|
# resp.service.deployment_configuration.lifecycle_hooks[0].role_arn #=> String
|
|
1920
1979
|
# resp.service.deployment_configuration.lifecycle_hooks[0].lifecycle_stages #=> Array
|
|
1921
1980
|
# resp.service.deployment_configuration.lifecycle_hooks[0].lifecycle_stages[0] #=> String, one of "RECONCILE_SERVICE", "PRE_SCALE_UP", "POST_SCALE_UP", "TEST_TRAFFIC_SHIFT", "POST_TEST_TRAFFIC_SHIFT", "PRODUCTION_TRAFFIC_SHIFT", "POST_PRODUCTION_TRAFFIC_SHIFT"
|
|
1981
|
+
# resp.service.deployment_configuration.linear_configuration.step_percent #=> Float
|
|
1982
|
+
# resp.service.deployment_configuration.linear_configuration.step_bake_time_in_minutes #=> Integer
|
|
1983
|
+
# resp.service.deployment_configuration.canary_configuration.canary_percent #=> Float
|
|
1984
|
+
# resp.service.deployment_configuration.canary_configuration.canary_bake_time_in_minutes #=> Integer
|
|
1922
1985
|
# resp.service.task_sets #=> Array
|
|
1923
1986
|
# resp.service.task_sets[0].id #=> String
|
|
1924
1987
|
# resp.service.task_sets[0].task_set_arn #=> String
|
|
@@ -2931,13 +2994,17 @@ module Aws::ECS
|
|
|
2931
2994
|
# resp.service.deployment_configuration.alarms.alarm_names[0] #=> String
|
|
2932
2995
|
# resp.service.deployment_configuration.alarms.rollback #=> Boolean
|
|
2933
2996
|
# resp.service.deployment_configuration.alarms.enable #=> Boolean
|
|
2934
|
-
# resp.service.deployment_configuration.strategy #=> String, one of "ROLLING", "BLUE_GREEN"
|
|
2997
|
+
# resp.service.deployment_configuration.strategy #=> String, one of "ROLLING", "BLUE_GREEN", "LINEAR", "CANARY"
|
|
2935
2998
|
# resp.service.deployment_configuration.bake_time_in_minutes #=> Integer
|
|
2936
2999
|
# resp.service.deployment_configuration.lifecycle_hooks #=> Array
|
|
2937
3000
|
# resp.service.deployment_configuration.lifecycle_hooks[0].hook_target_arn #=> String
|
|
2938
3001
|
# resp.service.deployment_configuration.lifecycle_hooks[0].role_arn #=> String
|
|
2939
3002
|
# resp.service.deployment_configuration.lifecycle_hooks[0].lifecycle_stages #=> Array
|
|
2940
3003
|
# resp.service.deployment_configuration.lifecycle_hooks[0].lifecycle_stages[0] #=> String, one of "RECONCILE_SERVICE", "PRE_SCALE_UP", "POST_SCALE_UP", "TEST_TRAFFIC_SHIFT", "POST_TEST_TRAFFIC_SHIFT", "PRODUCTION_TRAFFIC_SHIFT", "POST_PRODUCTION_TRAFFIC_SHIFT"
|
|
3004
|
+
# resp.service.deployment_configuration.linear_configuration.step_percent #=> Float
|
|
3005
|
+
# resp.service.deployment_configuration.linear_configuration.step_bake_time_in_minutes #=> Integer
|
|
3006
|
+
# resp.service.deployment_configuration.canary_configuration.canary_percent #=> Float
|
|
3007
|
+
# resp.service.deployment_configuration.canary_configuration.canary_bake_time_in_minutes #=> Integer
|
|
2941
3008
|
# resp.service.task_sets #=> Array
|
|
2942
3009
|
# resp.service.task_sets[0].id #=> String
|
|
2943
3010
|
# resp.service.task_sets[0].task_set_arn #=> String
|
|
@@ -4560,10 +4627,14 @@ module Aws::ECS
|
|
|
4560
4627
|
# resp.service_deployments[0].source_service_revisions[0].requested_task_count #=> Integer
|
|
4561
4628
|
# resp.service_deployments[0].source_service_revisions[0].running_task_count #=> Integer
|
|
4562
4629
|
# resp.service_deployments[0].source_service_revisions[0].pending_task_count #=> Integer
|
|
4630
|
+
# resp.service_deployments[0].source_service_revisions[0].requested_test_traffic_weight #=> Float
|
|
4631
|
+
# resp.service_deployments[0].source_service_revisions[0].requested_production_traffic_weight #=> Float
|
|
4563
4632
|
# resp.service_deployments[0].target_service_revision.arn #=> String
|
|
4564
4633
|
# resp.service_deployments[0].target_service_revision.requested_task_count #=> Integer
|
|
4565
4634
|
# resp.service_deployments[0].target_service_revision.running_task_count #=> Integer
|
|
4566
4635
|
# resp.service_deployments[0].target_service_revision.pending_task_count #=> Integer
|
|
4636
|
+
# resp.service_deployments[0].target_service_revision.requested_test_traffic_weight #=> Float
|
|
4637
|
+
# resp.service_deployments[0].target_service_revision.requested_production_traffic_weight #=> Float
|
|
4567
4638
|
# resp.service_deployments[0].status #=> String, one of "PENDING", "SUCCESSFUL", "STOPPED", "STOP_REQUESTED", "IN_PROGRESS", "ROLLBACK_REQUESTED", "ROLLBACK_IN_PROGRESS", "ROLLBACK_SUCCESSFUL", "ROLLBACK_FAILED"
|
|
4568
4639
|
# resp.service_deployments[0].status_reason #=> String
|
|
4569
4640
|
# resp.service_deployments[0].lifecycle_stage #=> String, one of "RECONCILE_SERVICE", "PRE_SCALE_UP", "SCALE_UP", "POST_SCALE_UP", "TEST_TRAFFIC_SHIFT", "POST_TEST_TRAFFIC_SHIFT", "PRODUCTION_TRAFFIC_SHIFT", "POST_PRODUCTION_TRAFFIC_SHIFT", "BAKE_TIME", "CLEAN_UP"
|
|
@@ -4575,13 +4646,17 @@ module Aws::ECS
|
|
|
4575
4646
|
# resp.service_deployments[0].deployment_configuration.alarms.alarm_names[0] #=> String
|
|
4576
4647
|
# resp.service_deployments[0].deployment_configuration.alarms.rollback #=> Boolean
|
|
4577
4648
|
# resp.service_deployments[0].deployment_configuration.alarms.enable #=> Boolean
|
|
4578
|
-
# resp.service_deployments[0].deployment_configuration.strategy #=> String, one of "ROLLING", "BLUE_GREEN"
|
|
4649
|
+
# resp.service_deployments[0].deployment_configuration.strategy #=> String, one of "ROLLING", "BLUE_GREEN", "LINEAR", "CANARY"
|
|
4579
4650
|
# resp.service_deployments[0].deployment_configuration.bake_time_in_minutes #=> Integer
|
|
4580
4651
|
# resp.service_deployments[0].deployment_configuration.lifecycle_hooks #=> Array
|
|
4581
4652
|
# resp.service_deployments[0].deployment_configuration.lifecycle_hooks[0].hook_target_arn #=> String
|
|
4582
4653
|
# resp.service_deployments[0].deployment_configuration.lifecycle_hooks[0].role_arn #=> String
|
|
4583
4654
|
# resp.service_deployments[0].deployment_configuration.lifecycle_hooks[0].lifecycle_stages #=> Array
|
|
4584
4655
|
# resp.service_deployments[0].deployment_configuration.lifecycle_hooks[0].lifecycle_stages[0] #=> String, one of "RECONCILE_SERVICE", "PRE_SCALE_UP", "POST_SCALE_UP", "TEST_TRAFFIC_SHIFT", "POST_TEST_TRAFFIC_SHIFT", "PRODUCTION_TRAFFIC_SHIFT", "POST_PRODUCTION_TRAFFIC_SHIFT"
|
|
4656
|
+
# resp.service_deployments[0].deployment_configuration.linear_configuration.step_percent #=> Float
|
|
4657
|
+
# resp.service_deployments[0].deployment_configuration.linear_configuration.step_bake_time_in_minutes #=> Integer
|
|
4658
|
+
# resp.service_deployments[0].deployment_configuration.canary_configuration.canary_percent #=> Float
|
|
4659
|
+
# resp.service_deployments[0].deployment_configuration.canary_configuration.canary_bake_time_in_minutes #=> Integer
|
|
4585
4660
|
# resp.service_deployments[0].rollback.reason #=> String
|
|
4586
4661
|
# resp.service_deployments[0].rollback.started_at #=> Time
|
|
4587
4662
|
# resp.service_deployments[0].rollback.service_revision_arn #=> String
|
|
@@ -4911,13 +4986,17 @@ module Aws::ECS
|
|
|
4911
4986
|
# resp.services[0].deployment_configuration.alarms.alarm_names[0] #=> String
|
|
4912
4987
|
# resp.services[0].deployment_configuration.alarms.rollback #=> Boolean
|
|
4913
4988
|
# resp.services[0].deployment_configuration.alarms.enable #=> Boolean
|
|
4914
|
-
# resp.services[0].deployment_configuration.strategy #=> String, one of "ROLLING", "BLUE_GREEN"
|
|
4989
|
+
# resp.services[0].deployment_configuration.strategy #=> String, one of "ROLLING", "BLUE_GREEN", "LINEAR", "CANARY"
|
|
4915
4990
|
# resp.services[0].deployment_configuration.bake_time_in_minutes #=> Integer
|
|
4916
4991
|
# resp.services[0].deployment_configuration.lifecycle_hooks #=> Array
|
|
4917
4992
|
# resp.services[0].deployment_configuration.lifecycle_hooks[0].hook_target_arn #=> String
|
|
4918
4993
|
# resp.services[0].deployment_configuration.lifecycle_hooks[0].role_arn #=> String
|
|
4919
4994
|
# resp.services[0].deployment_configuration.lifecycle_hooks[0].lifecycle_stages #=> Array
|
|
4920
4995
|
# resp.services[0].deployment_configuration.lifecycle_hooks[0].lifecycle_stages[0] #=> String, one of "RECONCILE_SERVICE", "PRE_SCALE_UP", "POST_SCALE_UP", "TEST_TRAFFIC_SHIFT", "POST_TEST_TRAFFIC_SHIFT", "PRODUCTION_TRAFFIC_SHIFT", "POST_PRODUCTION_TRAFFIC_SHIFT"
|
|
4996
|
+
# resp.services[0].deployment_configuration.linear_configuration.step_percent #=> Float
|
|
4997
|
+
# resp.services[0].deployment_configuration.linear_configuration.step_bake_time_in_minutes #=> Integer
|
|
4998
|
+
# resp.services[0].deployment_configuration.canary_configuration.canary_percent #=> Float
|
|
4999
|
+
# resp.services[0].deployment_configuration.canary_configuration.canary_bake_time_in_minutes #=> Integer
|
|
4921
5000
|
# resp.services[0].task_sets #=> Array
|
|
4922
5001
|
# resp.services[0].task_sets[0].id #=> String
|
|
4923
5002
|
# resp.services[0].task_sets[0].task_set_arn #=> String
|
|
@@ -6328,8 +6407,8 @@ module Aws::ECS
|
|
|
6328
6407
|
# the `DRAINING` status, the results include only container instances
|
|
6329
6408
|
# that have been set to `DRAINING` using
|
|
6330
6409
|
# [UpdateContainerInstancesState][1]. If you don't specify this
|
|
6331
|
-
# parameter, the default is to include container instances set to
|
|
6332
|
-
# states other than `INACTIVE`.
|
|
6410
|
+
# parameter, the The default is to include container instances set to
|
|
6411
|
+
# all states other than `INACTIVE`.
|
|
6333
6412
|
#
|
|
6334
6413
|
#
|
|
6335
6414
|
#
|
|
@@ -8439,8 +8518,8 @@ module Aws::ECS
|
|
|
8439
8518
|
# If `task` is specified, all containers within the specified task share
|
|
8440
8519
|
# the same process namespace.
|
|
8441
8520
|
#
|
|
8442
|
-
# If no value is specified, the default is a private namespace for
|
|
8443
|
-
# container.
|
|
8521
|
+
# If no value is specified, the The default is a private namespace for
|
|
8522
|
+
# each container.
|
|
8444
8523
|
#
|
|
8445
8524
|
# If the `host` PID mode is used, there's a heightened risk of
|
|
8446
8525
|
# undesired process namespace exposure.
|
|
@@ -9111,6 +9190,12 @@ module Aws::ECS
|
|
|
9111
9190
|
# @option params [Array<Types::CapacityProviderStrategyItem>] :capacity_provider_strategy
|
|
9112
9191
|
# The capacity provider strategy to use for the task.
|
|
9113
9192
|
#
|
|
9193
|
+
# <note markdown="1"> If you want to use Amazon ECS Managed Instances, you must use the
|
|
9194
|
+
# `capacityProviderStrategy` request parameter and omit the `launchType`
|
|
9195
|
+
# request parameter.
|
|
9196
|
+
#
|
|
9197
|
+
# </note>
|
|
9198
|
+
#
|
|
9114
9199
|
# If a `capacityProviderStrategy` is specified, the `launchType`
|
|
9115
9200
|
# parameter must be omitted. If no `capacityProviderStrategy` or
|
|
9116
9201
|
# `launchType` is specified, the `defaultCapacityProviderStrategy` for
|
|
@@ -9161,6 +9246,12 @@ module Aws::ECS
|
|
|
9161
9246
|
# information, see [Amazon ECS launch types][1] in the *Amazon Elastic
|
|
9162
9247
|
# Container Service Developer Guide*.
|
|
9163
9248
|
#
|
|
9249
|
+
# <note markdown="1"> If you want to use Amazon ECS Managed Instances, you must use the
|
|
9250
|
+
# `capacityProviderStrategy` request parameter and omit the `launchType`
|
|
9251
|
+
# request parameter.
|
|
9252
|
+
#
|
|
9253
|
+
# </note>
|
|
9254
|
+
#
|
|
9164
9255
|
# The `FARGATE` launch type runs your tasks on Fargate On-Demand
|
|
9165
9256
|
# infrastructure.
|
|
9166
9257
|
#
|
|
@@ -12048,6 +12139,11 @@ module Aws::ECS
|
|
|
12048
12139
|
# The details of a capacity provider strategy. You can set a capacity
|
|
12049
12140
|
# provider when you create a cluster, run a task, or update a service.
|
|
12050
12141
|
#
|
|
12142
|
+
# <note markdown="1"> If you want to use Amazon ECS Managed Instances, you must use the
|
|
12143
|
+
# `capacityProviderStrategy` request parameter.
|
|
12144
|
+
#
|
|
12145
|
+
# </note>
|
|
12146
|
+
#
|
|
12051
12147
|
# When you use Fargate, the capacity providers are `FARGATE` or
|
|
12052
12148
|
# `FARGATE_SPOT`.
|
|
12053
12149
|
#
|
|
@@ -12390,7 +12486,7 @@ module Aws::ECS
|
|
|
12390
12486
|
# rollback: false, # required
|
|
12391
12487
|
# enable: false, # required
|
|
12392
12488
|
# },
|
|
12393
|
-
# strategy: "ROLLING", # accepts ROLLING, BLUE_GREEN
|
|
12489
|
+
# strategy: "ROLLING", # accepts ROLLING, BLUE_GREEN, LINEAR, CANARY
|
|
12394
12490
|
# bake_time_in_minutes: 1,
|
|
12395
12491
|
# lifecycle_hooks: [
|
|
12396
12492
|
# {
|
|
@@ -12401,6 +12497,14 @@ module Aws::ECS
|
|
|
12401
12497
|
# },
|
|
12402
12498
|
# },
|
|
12403
12499
|
# ],
|
|
12500
|
+
# linear_configuration: {
|
|
12501
|
+
# step_percent: 1.0,
|
|
12502
|
+
# step_bake_time_in_minutes: 1,
|
|
12503
|
+
# },
|
|
12504
|
+
# canary_configuration: {
|
|
12505
|
+
# canary_percent: 1.0,
|
|
12506
|
+
# canary_bake_time_in_minutes: 1,
|
|
12507
|
+
# },
|
|
12404
12508
|
# },
|
|
12405
12509
|
# availability_zone_rebalancing: "ENABLED", # accepts ENABLED, DISABLED
|
|
12406
12510
|
# network_configuration: {
|
|
@@ -12578,13 +12682,17 @@ module Aws::ECS
|
|
|
12578
12682
|
# resp.service.deployment_configuration.alarms.alarm_names[0] #=> String
|
|
12579
12683
|
# resp.service.deployment_configuration.alarms.rollback #=> Boolean
|
|
12580
12684
|
# resp.service.deployment_configuration.alarms.enable #=> Boolean
|
|
12581
|
-
# resp.service.deployment_configuration.strategy #=> String, one of "ROLLING", "BLUE_GREEN"
|
|
12685
|
+
# resp.service.deployment_configuration.strategy #=> String, one of "ROLLING", "BLUE_GREEN", "LINEAR", "CANARY"
|
|
12582
12686
|
# resp.service.deployment_configuration.bake_time_in_minutes #=> Integer
|
|
12583
12687
|
# resp.service.deployment_configuration.lifecycle_hooks #=> Array
|
|
12584
12688
|
# resp.service.deployment_configuration.lifecycle_hooks[0].hook_target_arn #=> String
|
|
12585
12689
|
# resp.service.deployment_configuration.lifecycle_hooks[0].role_arn #=> String
|
|
12586
12690
|
# resp.service.deployment_configuration.lifecycle_hooks[0].lifecycle_stages #=> Array
|
|
12587
12691
|
# resp.service.deployment_configuration.lifecycle_hooks[0].lifecycle_stages[0] #=> String, one of "RECONCILE_SERVICE", "PRE_SCALE_UP", "POST_SCALE_UP", "TEST_TRAFFIC_SHIFT", "POST_TEST_TRAFFIC_SHIFT", "PRODUCTION_TRAFFIC_SHIFT", "POST_PRODUCTION_TRAFFIC_SHIFT"
|
|
12692
|
+
# resp.service.deployment_configuration.linear_configuration.step_percent #=> Float
|
|
12693
|
+
# resp.service.deployment_configuration.linear_configuration.step_bake_time_in_minutes #=> Integer
|
|
12694
|
+
# resp.service.deployment_configuration.canary_configuration.canary_percent #=> Float
|
|
12695
|
+
# resp.service.deployment_configuration.canary_configuration.canary_bake_time_in_minutes #=> Integer
|
|
12588
12696
|
# resp.service.task_sets #=> Array
|
|
12589
12697
|
# resp.service.task_sets[0].id #=> String
|
|
12590
12698
|
# resp.service.task_sets[0].task_set_arn #=> String
|
|
@@ -13227,7 +13335,7 @@ module Aws::ECS
|
|
|
13227
13335
|
tracer: tracer
|
|
13228
13336
|
)
|
|
13229
13337
|
context[:gem_name] = 'aws-sdk-ecs'
|
|
13230
|
-
context[:gem_version] = '1.
|
|
13338
|
+
context[:gem_version] = '1.209.0'
|
|
13231
13339
|
Seahorse::Client::Request.new(handlers, context)
|
|
13232
13340
|
end
|
|
13233
13341
|
|
|
@@ -50,6 +50,7 @@ module Aws::ECS
|
|
|
50
50
|
BoxedInteger = Shapes::IntegerShape.new(name: 'BoxedInteger')
|
|
51
51
|
BurstablePerformance = Shapes::StringShape.new(name: 'BurstablePerformance')
|
|
52
52
|
CPUArchitecture = Shapes::StringShape.new(name: 'CPUArchitecture')
|
|
53
|
+
CanaryConfiguration = Shapes::StructureShape.new(name: 'CanaryConfiguration')
|
|
53
54
|
CapacityProvider = Shapes::StructureShape.new(name: 'CapacityProvider')
|
|
54
55
|
CapacityProviderField = Shapes::StringShape.new(name: 'CapacityProviderField')
|
|
55
56
|
CapacityProviderFieldList = Shapes::ListShape.new(name: 'CapacityProviderFieldList')
|
|
@@ -235,6 +236,7 @@ module Aws::ECS
|
|
|
235
236
|
KeyValuePair = Shapes::StructureShape.new(name: 'KeyValuePair')
|
|
236
237
|
LaunchType = Shapes::StringShape.new(name: 'LaunchType')
|
|
237
238
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
|
239
|
+
LinearConfiguration = Shapes::StructureShape.new(name: 'LinearConfiguration')
|
|
238
240
|
LinuxParameters = Shapes::StructureShape.new(name: 'LinuxParameters')
|
|
239
241
|
ListAccountSettingsRequest = Shapes::StructureShape.new(name: 'ListAccountSettingsRequest')
|
|
240
242
|
ListAccountSettingsResponse = Shapes::StructureShape.new(name: 'ListAccountSettingsResponse')
|
|
@@ -576,6 +578,10 @@ module Aws::ECS
|
|
|
576
578
|
|
|
577
579
|
BlockedException.struct_class = Types::BlockedException
|
|
578
580
|
|
|
581
|
+
CanaryConfiguration.add_member(:canary_percent, Shapes::ShapeRef.new(shape: Double, location_name: "canaryPercent", metadata: {"box" => true}))
|
|
582
|
+
CanaryConfiguration.add_member(:canary_bake_time_in_minutes, Shapes::ShapeRef.new(shape: Integer, location_name: "canaryBakeTimeInMinutes", metadata: {"box" => true}))
|
|
583
|
+
CanaryConfiguration.struct_class = Types::CanaryConfiguration
|
|
584
|
+
|
|
579
585
|
CapacityProvider.add_member(:capacity_provider_arn, Shapes::ShapeRef.new(shape: String, location_name: "capacityProviderArn"))
|
|
580
586
|
CapacityProvider.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
|
581
587
|
CapacityProvider.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
|
|
@@ -963,6 +969,8 @@ module Aws::ECS
|
|
|
963
969
|
DeploymentConfiguration.add_member(:strategy, Shapes::ShapeRef.new(shape: DeploymentStrategy, location_name: "strategy"))
|
|
964
970
|
DeploymentConfiguration.add_member(:bake_time_in_minutes, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "bakeTimeInMinutes"))
|
|
965
971
|
DeploymentConfiguration.add_member(:lifecycle_hooks, Shapes::ShapeRef.new(shape: DeploymentLifecycleHookList, location_name: "lifecycleHooks"))
|
|
972
|
+
DeploymentConfiguration.add_member(:linear_configuration, Shapes::ShapeRef.new(shape: LinearConfiguration, location_name: "linearConfiguration"))
|
|
973
|
+
DeploymentConfiguration.add_member(:canary_configuration, Shapes::ShapeRef.new(shape: CanaryConfiguration, location_name: "canaryConfiguration"))
|
|
966
974
|
DeploymentConfiguration.struct_class = Types::DeploymentConfiguration
|
|
967
975
|
|
|
968
976
|
DeploymentController.add_member(:type, Shapes::ShapeRef.new(shape: DeploymentControllerType, required: true, location_name: "type"))
|
|
@@ -1287,6 +1295,10 @@ module Aws::ECS
|
|
|
1287
1295
|
|
|
1288
1296
|
LimitExceededException.struct_class = Types::LimitExceededException
|
|
1289
1297
|
|
|
1298
|
+
LinearConfiguration.add_member(:step_percent, Shapes::ShapeRef.new(shape: Double, location_name: "stepPercent", metadata: {"box" => true}))
|
|
1299
|
+
LinearConfiguration.add_member(:step_bake_time_in_minutes, Shapes::ShapeRef.new(shape: Integer, location_name: "stepBakeTimeInMinutes", metadata: {"box" => true}))
|
|
1300
|
+
LinearConfiguration.struct_class = Types::LinearConfiguration
|
|
1301
|
+
|
|
1290
1302
|
LinuxParameters.add_member(:capabilities, Shapes::ShapeRef.new(shape: KernelCapabilities, location_name: "capabilities"))
|
|
1291
1303
|
LinuxParameters.add_member(:devices, Shapes::ShapeRef.new(shape: DevicesList, location_name: "devices"))
|
|
1292
1304
|
LinuxParameters.add_member(:init_process_enabled, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "initProcessEnabled"))
|
|
@@ -1905,6 +1917,8 @@ module Aws::ECS
|
|
|
1905
1917
|
ServiceRevisionSummary.add_member(:requested_task_count, Shapes::ShapeRef.new(shape: Integer, location_name: "requestedTaskCount"))
|
|
1906
1918
|
ServiceRevisionSummary.add_member(:running_task_count, Shapes::ShapeRef.new(shape: Integer, location_name: "runningTaskCount"))
|
|
1907
1919
|
ServiceRevisionSummary.add_member(:pending_task_count, Shapes::ShapeRef.new(shape: Integer, location_name: "pendingTaskCount"))
|
|
1920
|
+
ServiceRevisionSummary.add_member(:requested_test_traffic_weight, Shapes::ShapeRef.new(shape: Double, location_name: "requestedTestTrafficWeight", metadata: {"box" => true}))
|
|
1921
|
+
ServiceRevisionSummary.add_member(:requested_production_traffic_weight, Shapes::ShapeRef.new(shape: Double, location_name: "requestedProductionTrafficWeight", metadata: {"box" => true}))
|
|
1908
1922
|
ServiceRevisionSummary.struct_class = Types::ServiceRevisionSummary
|
|
1909
1923
|
|
|
1910
1924
|
ServiceRevisions.member = Shapes::ShapeRef.new(shape: ServiceRevision)
|
|
@@ -13,22 +13,22 @@ module Aws::ECS
|
|
|
13
13
|
# @!attribute region
|
|
14
14
|
# The AWS region used to dispatch the request.
|
|
15
15
|
#
|
|
16
|
-
# @return [
|
|
16
|
+
# @return [string]
|
|
17
17
|
#
|
|
18
18
|
# @!attribute use_dual_stack
|
|
19
19
|
# When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
|
|
20
20
|
#
|
|
21
|
-
# @return [
|
|
21
|
+
# @return [boolean]
|
|
22
22
|
#
|
|
23
23
|
# @!attribute use_fips
|
|
24
24
|
# When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
|
|
25
25
|
#
|
|
26
|
-
# @return [
|
|
26
|
+
# @return [boolean]
|
|
27
27
|
#
|
|
28
28
|
# @!attribute endpoint
|
|
29
29
|
# Override the endpoint used to send this request
|
|
30
30
|
#
|
|
31
|
-
# @return [
|
|
31
|
+
# @return [string]
|
|
32
32
|
#
|
|
33
33
|
EndpointParameters = Struct.new(
|
|
34
34
|
:region,
|
data/lib/aws-sdk-ecs/types.rb
CHANGED
|
@@ -362,8 +362,8 @@ module Aws::ECS
|
|
|
362
362
|
#
|
|
363
363
|
# Consider the following when you set this value:
|
|
364
364
|
#
|
|
365
|
-
# * When you use `create-service` or `update-service`, the default
|
|
366
|
-
# `DISABLED`.
|
|
365
|
+
# * When you use `create-service` or `update-service`, the The default
|
|
366
|
+
# is `DISABLED`.
|
|
367
367
|
#
|
|
368
368
|
# * When the service `deploymentController` is `ECS`, the value must
|
|
369
369
|
# be `DISABLED`.
|
|
@@ -403,7 +403,7 @@ module Aws::ECS
|
|
|
403
403
|
end
|
|
404
404
|
|
|
405
405
|
# Your Amazon Web Services account was blocked. For more information,
|
|
406
|
-
# contact [ Amazon Web
|
|
406
|
+
# contact [ Amazon Web ServicesSupport][1].
|
|
407
407
|
#
|
|
408
408
|
#
|
|
409
409
|
#
|
|
@@ -413,6 +413,36 @@ module Aws::ECS
|
|
|
413
413
|
#
|
|
414
414
|
class BlockedException < Aws::EmptyStructure; end
|
|
415
415
|
|
|
416
|
+
# Configuration for canary deployment strategy that shifts a fixed
|
|
417
|
+
# percentage of traffic to the new service revision, waits for a
|
|
418
|
+
# specified bake time, then shifts the remaining traffic.
|
|
419
|
+
#
|
|
420
|
+
# This is only valid when you run `CreateService` or `UpdateService`
|
|
421
|
+
# with `deploymentController` set to `ECS` and a
|
|
422
|
+
# `deploymentConfiguration` with a strategy set to `CANARY`.
|
|
423
|
+
#
|
|
424
|
+
# @!attribute [rw] canary_percent
|
|
425
|
+
# The percentage of production traffic to shift to the new service
|
|
426
|
+
# revision during the canary phase. Valid values are 0.1 to 100.0. The
|
|
427
|
+
# default value is 5.0.
|
|
428
|
+
# @return [Float]
|
|
429
|
+
#
|
|
430
|
+
# @!attribute [rw] canary_bake_time_in_minutes
|
|
431
|
+
# The amount of time in minutes to wait during the canary phase before
|
|
432
|
+
# shifting the remaining production traffic to the new service
|
|
433
|
+
# revision. Valid values are 0 to 1440 minutes (24 hours). The default
|
|
434
|
+
# value is 10.
|
|
435
|
+
# @return [Integer]
|
|
436
|
+
#
|
|
437
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CanaryConfiguration AWS API Documentation
|
|
438
|
+
#
|
|
439
|
+
class CanaryConfiguration < Struct.new(
|
|
440
|
+
:canary_percent,
|
|
441
|
+
:canary_bake_time_in_minutes)
|
|
442
|
+
SENSITIVE = []
|
|
443
|
+
include Aws::Structure
|
|
444
|
+
end
|
|
445
|
+
|
|
416
446
|
# The details for a capacity provider.
|
|
417
447
|
#
|
|
418
448
|
# @!attribute [rw] capacity_provider_arn
|
|
@@ -428,6 +458,8 @@ module Aws::ECS
|
|
|
428
458
|
# The cluster that this capacity provider is associated with. Managed
|
|
429
459
|
# instances capacity providers are cluster-scoped, meaning they can
|
|
430
460
|
# only be used within their associated cluster.
|
|
461
|
+
#
|
|
462
|
+
# This is required for Managed instances.
|
|
431
463
|
# @return [String]
|
|
432
464
|
#
|
|
433
465
|
# @!attribute [rw] status
|
|
@@ -586,9 +618,9 @@ module Aws::ECS
|
|
|
586
618
|
#
|
|
587
619
|
# * Weight is considered after the base value is satisfied
|
|
588
620
|
#
|
|
589
|
-
# *
|
|
621
|
+
# * The default value is `0` if not specified
|
|
590
622
|
#
|
|
591
|
-
# *
|
|
623
|
+
# * The valid range is 0 to 1,000
|
|
592
624
|
#
|
|
593
625
|
# * At least one capacity provider must have a weight greater than
|
|
594
626
|
# zero
|
|
@@ -623,9 +655,9 @@ module Aws::ECS
|
|
|
623
655
|
#
|
|
624
656
|
# * Only one capacity provider in a strategy can have a base defined
|
|
625
657
|
#
|
|
626
|
-
# *
|
|
658
|
+
# * The default value is `0` if not specified
|
|
627
659
|
#
|
|
628
|
-
# *
|
|
660
|
+
# * The valid range is 0 to 100,000
|
|
629
661
|
#
|
|
630
662
|
# * Base requirements are satisfied first before weight distribution
|
|
631
663
|
# @return [Integer]
|
|
@@ -3005,6 +3037,12 @@ module Aws::ECS
|
|
|
3005
3037
|
# information, see [Amazon ECS launch types][1] in the *Amazon Elastic
|
|
3006
3038
|
# Container Service Developer Guide*.
|
|
3007
3039
|
#
|
|
3040
|
+
# <note markdown="1"> If you want to use Amazon ECS Managed Instances, you must use the
|
|
3041
|
+
# `capacityProviderStrategy` request parameter and omit the
|
|
3042
|
+
# `launchType` request parameter.
|
|
3043
|
+
#
|
|
3044
|
+
# </note>
|
|
3045
|
+
#
|
|
3008
3046
|
# The `FARGATE` launch type runs your tasks on Fargate On-Demand
|
|
3009
3047
|
# infrastructure.
|
|
3010
3048
|
#
|
|
@@ -3033,6 +3071,12 @@ module Aws::ECS
|
|
|
3033
3071
|
# @!attribute [rw] capacity_provider_strategy
|
|
3034
3072
|
# The capacity provider strategy to use for the service.
|
|
3035
3073
|
#
|
|
3074
|
+
# <note markdown="1"> If you want to use Amazon ECS Managed Instances, you must use the
|
|
3075
|
+
# `capacityProviderStrategy` request parameter and omit the
|
|
3076
|
+
# `launchType` request parameter.
|
|
3077
|
+
#
|
|
3078
|
+
# </note>
|
|
3079
|
+
#
|
|
3036
3080
|
# If a `capacityProviderStrategy` is specified, the `launchType`
|
|
3037
3081
|
# parameter must be omitted. If no `capacityProviderStrategy` or
|
|
3038
3082
|
# `launchType` is specified, the `defaultCapacityProviderStrategy` for
|
|
@@ -4261,6 +4305,20 @@ module Aws::ECS
|
|
|
4261
4305
|
# specific stages of the deployment lifecycle.
|
|
4262
4306
|
# @return [Array<Types::DeploymentLifecycleHook>]
|
|
4263
4307
|
#
|
|
4308
|
+
# @!attribute [rw] linear_configuration
|
|
4309
|
+
# Configuration for linear deployment strategy. Only valid when the
|
|
4310
|
+
# deployment strategy is `LINEAR`. This configuration enables
|
|
4311
|
+
# progressive traffic shifting in equal percentage increments with
|
|
4312
|
+
# configurable bake times between each step.
|
|
4313
|
+
# @return [Types::LinearConfiguration]
|
|
4314
|
+
#
|
|
4315
|
+
# @!attribute [rw] canary_configuration
|
|
4316
|
+
# Configuration for canary deployment strategy. Only valid when the
|
|
4317
|
+
# deployment strategy is `CANARY`. This configuration enables shifting
|
|
4318
|
+
# a fixed percentage of traffic for testing, followed by shifting the
|
|
4319
|
+
# remaining traffic after a bake period.
|
|
4320
|
+
# @return [Types::CanaryConfiguration]
|
|
4321
|
+
#
|
|
4264
4322
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeploymentConfiguration AWS API Documentation
|
|
4265
4323
|
#
|
|
4266
4324
|
class DeploymentConfiguration < Struct.new(
|
|
@@ -4270,7 +4328,9 @@ module Aws::ECS
|
|
|
4270
4328
|
:alarms,
|
|
4271
4329
|
:strategy,
|
|
4272
4330
|
:bake_time_in_minutes,
|
|
4273
|
-
:lifecycle_hooks
|
|
4331
|
+
:lifecycle_hooks,
|
|
4332
|
+
:linear_configuration,
|
|
4333
|
+
:canary_configuration)
|
|
4274
4334
|
SENSITIVE = []
|
|
4275
4335
|
include Aws::Structure
|
|
4276
4336
|
end
|
|
@@ -6582,6 +6642,35 @@ module Aws::ECS
|
|
|
6582
6642
|
#
|
|
6583
6643
|
class LimitExceededException < Aws::EmptyStructure; end
|
|
6584
6644
|
|
|
6645
|
+
# Configuration for linear deployment strategy that shifts production
|
|
6646
|
+
# traffic in equal percentage increments with configurable wait times
|
|
6647
|
+
# between each step until 100% of traffic is shifted to the new service
|
|
6648
|
+
# revision. This is only valid when you run `CreateService` or
|
|
6649
|
+
# `UpdateService` with `deploymentController` set to `ECS` and a
|
|
6650
|
+
# `deploymentConfiguration` with a strategy set to `LINEAR`.
|
|
6651
|
+
#
|
|
6652
|
+
# @!attribute [rw] step_percent
|
|
6653
|
+
# The percentage of production traffic to shift in each step during a
|
|
6654
|
+
# linear deployment. Valid values are 3.0 to 100.0. The default value
|
|
6655
|
+
# is 10.0.
|
|
6656
|
+
# @return [Float]
|
|
6657
|
+
#
|
|
6658
|
+
# @!attribute [rw] step_bake_time_in_minutes
|
|
6659
|
+
# The amount of time in minutes to wait between each traffic shifting
|
|
6660
|
+
# step during a linear deployment. Valid values are 0 to 1440 minutes
|
|
6661
|
+
# (24 hours). The default value is 6. This bake time is not applied
|
|
6662
|
+
# after reaching 100% traffic.
|
|
6663
|
+
# @return [Integer]
|
|
6664
|
+
#
|
|
6665
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/LinearConfiguration AWS API Documentation
|
|
6666
|
+
#
|
|
6667
|
+
class LinearConfiguration < Struct.new(
|
|
6668
|
+
:step_percent,
|
|
6669
|
+
:step_bake_time_in_minutes)
|
|
6670
|
+
SENSITIVE = []
|
|
6671
|
+
include Aws::Structure
|
|
6672
|
+
end
|
|
6673
|
+
|
|
6585
6674
|
# The Linux-specific options that are applied to the container, such as
|
|
6586
6675
|
# Linux [KernelCapabilities][1].
|
|
6587
6676
|
#
|
|
@@ -6964,8 +7053,8 @@ module Aws::ECS
|
|
|
6964
7053
|
# specify the `DRAINING` status, the results include only container
|
|
6965
7054
|
# instances that have been set to `DRAINING` using
|
|
6966
7055
|
# [UpdateContainerInstancesState][1]. If you don't specify this
|
|
6967
|
-
# parameter, the default is to include container instances set to
|
|
6968
|
-
# states other than `INACTIVE`.
|
|
7056
|
+
# parameter, the The default is to include container instances set to
|
|
7057
|
+
# all states other than `INACTIVE`.
|
|
6969
7058
|
#
|
|
6970
7059
|
#
|
|
6971
7060
|
#
|
|
@@ -9738,7 +9827,7 @@ module Aws::ECS
|
|
|
9738
9827
|
# If `task` is specified, all containers within the specified task
|
|
9739
9828
|
# share the same process namespace.
|
|
9740
9829
|
#
|
|
9741
|
-
# If no value is specified, the default is a private namespace for
|
|
9830
|
+
# If no value is specified, the The default is a private namespace for
|
|
9742
9831
|
# each container.
|
|
9743
9832
|
#
|
|
9744
9833
|
# If the `host` PID mode is used, there's a heightened risk of
|
|
@@ -10058,6 +10147,12 @@ module Aws::ECS
|
|
|
10058
10147
|
# @!attribute [rw] capacity_provider_strategy
|
|
10059
10148
|
# The capacity provider strategy to use for the task.
|
|
10060
10149
|
#
|
|
10150
|
+
# <note markdown="1"> If you want to use Amazon ECS Managed Instances, you must use the
|
|
10151
|
+
# `capacityProviderStrategy` request parameter and omit the
|
|
10152
|
+
# `launchType` request parameter.
|
|
10153
|
+
#
|
|
10154
|
+
# </note>
|
|
10155
|
+
#
|
|
10061
10156
|
# If a `capacityProviderStrategy` is specified, the `launchType`
|
|
10062
10157
|
# parameter must be omitted. If no `capacityProviderStrategy` or
|
|
10063
10158
|
# `launchType` is specified, the `defaultCapacityProviderStrategy` for
|
|
@@ -10114,6 +10209,12 @@ module Aws::ECS
|
|
|
10114
10209
|
# information, see [Amazon ECS launch types][1] in the *Amazon Elastic
|
|
10115
10210
|
# Container Service Developer Guide*.
|
|
10116
10211
|
#
|
|
10212
|
+
# <note markdown="1"> If you want to use Amazon ECS Managed Instances, you must use the
|
|
10213
|
+
# `capacityProviderStrategy` request parameter and omit the
|
|
10214
|
+
# `launchType` request parameter.
|
|
10215
|
+
#
|
|
10216
|
+
# </note>
|
|
10217
|
+
#
|
|
10117
10218
|
# The `FARGATE` launch type runs your tasks on Fargate On-Demand
|
|
10118
10219
|
# infrastructure.
|
|
10119
10220
|
#
|
|
@@ -12072,13 +12173,29 @@ module Aws::ECS
|
|
|
12072
12173
|
# The number of pending tasks for the service revision.
|
|
12073
12174
|
# @return [Integer]
|
|
12074
12175
|
#
|
|
12176
|
+
# @!attribute [rw] requested_test_traffic_weight
|
|
12177
|
+
# The percentage of test traffic that is directed to this service
|
|
12178
|
+
# revision. This value represents a snapshot of the traffic
|
|
12179
|
+
# distribution and may not reflect real-time changes during active
|
|
12180
|
+
# deployments. Valid values are 0.0 to 100.0.
|
|
12181
|
+
# @return [Float]
|
|
12182
|
+
#
|
|
12183
|
+
# @!attribute [rw] requested_production_traffic_weight
|
|
12184
|
+
# The percentage of production traffic that is directed to this
|
|
12185
|
+
# service revision. This value represents a snapshot of the traffic
|
|
12186
|
+
# distribution and may not reflect real-time changes during active
|
|
12187
|
+
# deployments. Valid values are 0.0 to 100.0.
|
|
12188
|
+
# @return [Float]
|
|
12189
|
+
#
|
|
12075
12190
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ServiceRevisionSummary AWS API Documentation
|
|
12076
12191
|
#
|
|
12077
12192
|
class ServiceRevisionSummary < Struct.new(
|
|
12078
12193
|
:arn,
|
|
12079
12194
|
:requested_task_count,
|
|
12080
12195
|
:running_task_count,
|
|
12081
|
-
:pending_task_count
|
|
12196
|
+
:pending_task_count,
|
|
12197
|
+
:requested_test_traffic_weight,
|
|
12198
|
+
:requested_production_traffic_weight)
|
|
12082
12199
|
SENSITIVE = []
|
|
12083
12200
|
include Aws::Structure
|
|
12084
12201
|
end
|
|
@@ -13330,9 +13447,9 @@ module Aws::ECS
|
|
|
13330
13447
|
#
|
|
13331
13448
|
# @!attribute [rw] requires_compatibilities
|
|
13332
13449
|
# The task launch types the task definition was validated against. The
|
|
13333
|
-
# valid values are `EC2`, `FARGATE`, and
|
|
13334
|
-
# information, see [Amazon ECS launch types][1]
|
|
13335
|
-
# Container Service Developer Guide*.
|
|
13450
|
+
# valid values are `MANAGED_INSTANCES`, `EC2`, `FARGATE`, and
|
|
13451
|
+
# `EXTERNAL`. For more information, see [Amazon ECS launch types][1]
|
|
13452
|
+
# in the *Amazon Elastic Container Service Developer Guide*.
|
|
13336
13453
|
#
|
|
13337
13454
|
#
|
|
13338
13455
|
#
|
|
@@ -13421,7 +13538,7 @@ module Aws::ECS
|
|
|
13421
13538
|
# If `task` is specified, all containers within the specified task
|
|
13422
13539
|
# share the same process namespace.
|
|
13423
13540
|
#
|
|
13424
|
-
# If no value is specified, the default is a private namespace for
|
|
13541
|
+
# If no value is specified, the The default is a private namespace for
|
|
13425
13542
|
# each container.
|
|
13426
13543
|
#
|
|
13427
13544
|
# If the `host` PID mode is used, there's a heightened risk of
|
|
@@ -14697,6 +14814,11 @@ module Aws::ECS
|
|
|
14697
14814
|
# The details of a capacity provider strategy. You can set a capacity
|
|
14698
14815
|
# provider when you create a cluster, run a task, or update a service.
|
|
14699
14816
|
#
|
|
14817
|
+
# <note markdown="1"> If you want to use Amazon ECS Managed Instances, you must use the
|
|
14818
|
+
# `capacityProviderStrategy` request parameter.
|
|
14819
|
+
#
|
|
14820
|
+
# </note>
|
|
14821
|
+
#
|
|
14700
14822
|
# When you use Fargate, the capacity providers are `FARGATE` or
|
|
14701
14823
|
# `FARGATE_SPOT`.
|
|
14702
14824
|
#
|
data/lib/aws-sdk-ecs.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -282,7 +282,7 @@ module Aws
|
|
|
282
282
|
rollback: bool,
|
|
283
283
|
enable: bool
|
|
284
284
|
}?,
|
|
285
|
-
strategy: ("ROLLING" | "BLUE_GREEN")?,
|
|
285
|
+
strategy: ("ROLLING" | "BLUE_GREEN" | "LINEAR" | "CANARY")?,
|
|
286
286
|
bake_time_in_minutes: ::Integer?,
|
|
287
287
|
lifecycle_hooks: Array[
|
|
288
288
|
{
|
|
@@ -292,7 +292,15 @@ module Aws
|
|
|
292
292
|
hook_details: {
|
|
293
293
|
}?
|
|
294
294
|
},
|
|
295
|
-
]
|
|
295
|
+
]?,
|
|
296
|
+
linear_configuration: {
|
|
297
|
+
step_percent: ::Float?,
|
|
298
|
+
step_bake_time_in_minutes: ::Integer?
|
|
299
|
+
}?,
|
|
300
|
+
canary_configuration: {
|
|
301
|
+
canary_percent: ::Float?,
|
|
302
|
+
canary_bake_time_in_minutes: ::Integer?
|
|
303
|
+
}?
|
|
296
304
|
},
|
|
297
305
|
?placement_constraints: Array[
|
|
298
306
|
{
|
|
@@ -1824,7 +1832,7 @@ module Aws
|
|
|
1824
1832
|
rollback: bool,
|
|
1825
1833
|
enable: bool
|
|
1826
1834
|
}?,
|
|
1827
|
-
strategy: ("ROLLING" | "BLUE_GREEN")?,
|
|
1835
|
+
strategy: ("ROLLING" | "BLUE_GREEN" | "LINEAR" | "CANARY")?,
|
|
1828
1836
|
bake_time_in_minutes: ::Integer?,
|
|
1829
1837
|
lifecycle_hooks: Array[
|
|
1830
1838
|
{
|
|
@@ -1834,7 +1842,15 @@ module Aws
|
|
|
1834
1842
|
hook_details: {
|
|
1835
1843
|
}?
|
|
1836
1844
|
},
|
|
1837
|
-
]
|
|
1845
|
+
]?,
|
|
1846
|
+
linear_configuration: {
|
|
1847
|
+
step_percent: ::Float?,
|
|
1848
|
+
step_bake_time_in_minutes: ::Integer?
|
|
1849
|
+
}?,
|
|
1850
|
+
canary_configuration: {
|
|
1851
|
+
canary_percent: ::Float?,
|
|
1852
|
+
canary_bake_time_in_minutes: ::Integer?
|
|
1853
|
+
}?
|
|
1838
1854
|
},
|
|
1839
1855
|
?availability_zone_rebalancing: ("ENABLED" | "DISABLED"),
|
|
1840
1856
|
?network_configuration: {
|
data/sig/types.rbs
CHANGED
|
@@ -87,6 +87,12 @@ module Aws::ECS
|
|
|
87
87
|
class BlockedException < Aws::EmptyStructure
|
|
88
88
|
end
|
|
89
89
|
|
|
90
|
+
class CanaryConfiguration
|
|
91
|
+
attr_accessor canary_percent: ::Float
|
|
92
|
+
attr_accessor canary_bake_time_in_minutes: ::Integer
|
|
93
|
+
SENSITIVE: []
|
|
94
|
+
end
|
|
95
|
+
|
|
90
96
|
class CapacityProvider
|
|
91
97
|
attr_accessor capacity_provider_arn: ::String
|
|
92
98
|
attr_accessor name: ::String
|
|
@@ -535,9 +541,11 @@ module Aws::ECS
|
|
|
535
541
|
attr_accessor maximum_percent: ::Integer
|
|
536
542
|
attr_accessor minimum_healthy_percent: ::Integer
|
|
537
543
|
attr_accessor alarms: Types::DeploymentAlarms
|
|
538
|
-
attr_accessor strategy: ("ROLLING" | "BLUE_GREEN")
|
|
544
|
+
attr_accessor strategy: ("ROLLING" | "BLUE_GREEN" | "LINEAR" | "CANARY")
|
|
539
545
|
attr_accessor bake_time_in_minutes: ::Integer
|
|
540
546
|
attr_accessor lifecycle_hooks: ::Array[Types::DeploymentLifecycleHook]
|
|
547
|
+
attr_accessor linear_configuration: Types::LinearConfiguration
|
|
548
|
+
attr_accessor canary_configuration: Types::CanaryConfiguration
|
|
541
549
|
SENSITIVE: []
|
|
542
550
|
end
|
|
543
551
|
|
|
@@ -935,6 +943,12 @@ module Aws::ECS
|
|
|
935
943
|
class LimitExceededException < Aws::EmptyStructure
|
|
936
944
|
end
|
|
937
945
|
|
|
946
|
+
class LinearConfiguration
|
|
947
|
+
attr_accessor step_percent: ::Float
|
|
948
|
+
attr_accessor step_bake_time_in_minutes: ::Integer
|
|
949
|
+
SENSITIVE: []
|
|
950
|
+
end
|
|
951
|
+
|
|
938
952
|
class LinuxParameters
|
|
939
953
|
attr_accessor capabilities: Types::KernelCapabilities
|
|
940
954
|
attr_accessor devices: ::Array[Types::Device]
|
|
@@ -1681,6 +1695,8 @@ module Aws::ECS
|
|
|
1681
1695
|
attr_accessor requested_task_count: ::Integer
|
|
1682
1696
|
attr_accessor running_task_count: ::Integer
|
|
1683
1697
|
attr_accessor pending_task_count: ::Integer
|
|
1698
|
+
attr_accessor requested_test_traffic_weight: ::Float
|
|
1699
|
+
attr_accessor requested_production_traffic_weight: ::Float
|
|
1684
1700
|
SENSITIVE: []
|
|
1685
1701
|
end
|
|
1686
1702
|
|