aws-sdk-ecs 1.196.0 → 1.197.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.
@@ -933,69 +933,110 @@ module Aws::ECS
933
933
  # tasks. It also stops tasks that don't meet the placement
934
934
  # constraints. When using this strategy, you don't need to specify a
935
935
  # desired number of tasks, a task placement strategy, or use Service
936
- # Auto Scaling policies. For more information, see [Service scheduler
937
- # concepts][4] in the *Amazon Elastic Container Service Developer
936
+ # Auto Scaling policies. For more information, see [Amazon ECS
937
+ # services][4] in the *Amazon Elastic Container Service Developer
938
938
  # Guide*.
939
939
  #
940
- # You can optionally specify a deployment configuration for your
941
- # service. The deployment is initiated by changing properties. For
942
- # example, the deployment might be initiated by the task definition or
943
- # by your desired count of a service. You can use [UpdateService][1].
944
- # The default value for a replica service for `minimumHealthyPercent` is
945
- # 100%. The default value for a daemon service for
946
- # `minimumHealthyPercent` is 0%.
947
- #
948
- # If a service uses the `ECS` deployment controller, the minimum healthy
949
- # percent represents a lower limit on the number of tasks in a service
950
- # that must remain in the `RUNNING` state during a deployment.
951
- # Specifically, it represents it as a percentage of your desired number
952
- # of tasks (rounded up to the nearest integer). This happens when any of
953
- # your container instances are in the `DRAINING` state if the service
954
- # contains tasks using the EC2 launch type. Using this parameter, you
955
- # can deploy without using additional cluster capacity. For example, if
956
- # you set your service to have desired number of four tasks and a
957
- # minimum healthy percent of 50%, the scheduler might stop two existing
958
- # tasks to free up cluster capacity before starting two new tasks. If
959
- # they're in the `RUNNING` state, tasks for services that don't use a
960
- # load balancer are considered healthy . If they're in the `RUNNING`
961
- # state and reported as healthy by the load balancer, tasks for services
962
- # that *do* use a load balancer are considered healthy . The default
963
- # value for minimum healthy percent is 100%.
964
- #
965
- # If a service uses the `ECS` deployment controller, the **maximum
966
- # percent** parameter represents an upper limit on the number of tasks
967
- # in a service that are allowed in the `RUNNING` or `PENDING` state
968
- # during a deployment. Specifically, it represents it as a percentage of
969
- # the desired number of tasks (rounded down to the nearest integer).
970
- # This happens when any of your container instances are in the
971
- # `DRAINING` state if the service contains tasks using the EC2 launch
972
- # type. Using this parameter, you can define the deployment batch size.
973
- # For example, if your service has a desired number of four tasks and a
974
- # maximum percent value of 200%, the scheduler may start four new tasks
975
- # before stopping the four older tasks (provided that the cluster
976
- # resources required to do this are available). The default value for
977
- # maximum percent is 200%.
978
- #
979
- # If a service uses either the `CODE_DEPLOY` or `EXTERNAL` deployment
980
- # controller types and tasks that use the EC2 launch type, the **minimum
981
- # healthy percent** and **maximum percent** values are used only to
982
- # define the lower and upper limit on the number of the tasks in the
983
- # service that remain in the `RUNNING` state. This is while the
984
- # container instances are in the `DRAINING` state. If the tasks in the
985
- # service use the Fargate launch type, the minimum healthy percent and
986
- # maximum percent values aren't used. This is the case even if they're
987
- # currently visible when describing your service.
940
+ # The deployment controller is the mechanism that determines how tasks
941
+ # are deployed for your service. The valid options are:
942
+ #
943
+ # * ECS
944
+ #
945
+ # When you create a service which uses the `ECS` deployment
946
+ # controller, you can choose between the following deployment
947
+ # strategies:
948
+ #
949
+ # * `ROLLING`: When you create a service which uses the *rolling
950
+ # update* (`ROLLING`) deployment strategy, the Amazon ECS service
951
+ # scheduler replaces the currently running tasks with new tasks. The
952
+ # number of tasks that Amazon ECS adds or removes from the service
953
+ # during a rolling update is controlled by the service deployment
954
+ # configuration. For more information, see [Deploy Amazon ECS
955
+ # services by replacing tasks][5] in the *Amazon Elastic Container
956
+ # Service Developer Guide*.
957
+ #
958
+ # Rolling update deployments are best suited for the following
959
+ # scenarios:
960
+ #
961
+ # * Gradual service updates: You need to update your service
962
+ # incrementally without taking the entire service offline at once.
963
+ #
964
+ # * Limited resource requirements: You want to avoid the additional
965
+ # resource costs of running two complete environments
966
+ # simultaneously (as required by blue/green deployments).
967
+ #
968
+ # * Acceptable deployment time: Your application can tolerate a
969
+ # longer deployment process, as rolling updates replace tasks one
970
+ # by one.
971
+ #
972
+ # * No need for instant roll back: Your service can tolerate a
973
+ # rollback process that takes minutes rather than seconds.
974
+ #
975
+ # * Simple deployment process: You prefer a straightforward
976
+ # deployment approach without the complexity of managing multiple
977
+ # environments, target groups, and listeners.
978
+ #
979
+ # * No load balancer requirement: Your service doesn't use or
980
+ # require a load balancer, Application Load Balancer, Network Load
981
+ # Balancer, or Service Connect (which are required for blue/green
982
+ # deployments).
983
+ #
984
+ # * Stateful applications: Your application maintains state that
985
+ # makes it difficult to run two parallel environments.
986
+ #
987
+ # * Cost sensitivity: You want to minimize deployment costs by not
988
+ # running duplicate environments during deployment.
989
+ # Rolling updates are the default deployment strategy for services
990
+ # and provide a balance between deployment safety and resource
991
+ # efficiency for many common application scenarios.
992
+ #
993
+ # * `BLUE_GREEN`: A *blue/green* deployment strategy (`BLUE_GREEN`) is
994
+ # a release methodology that reduces downtime and risk by running
995
+ # two identical production environments called blue and green. With
996
+ # Amazon ECS blue/green deployments, you can validate new service
997
+ # revisions before directing production traffic to them. This
998
+ # approach provides a safer way to deploy changes with the ability
999
+ # to quickly roll back if needed. For more information, see [Amazon
1000
+ # ECS blue/green deployments][6] in the *Amazon Elastic Container
1001
+ # Service Developer Guide*.
1002
+ #
1003
+ # Amazon ECS blue/green deployments are best suited for the
1004
+ # following scenarios:
1005
+ #
1006
+ # * Service validation: When you need to validate new service
1007
+ # revisions before directing production traffic to them
1008
+ #
1009
+ # * Zero downtime: When your service requires zero-downtime
1010
+ # deployments
1011
+ #
1012
+ # * Instant roll back: When you need the ability to quickly roll
1013
+ # back if issues are detected
1014
+ #
1015
+ # * Load balancer requirement: When your service uses Application
1016
+ # Load Balancer, Network Load Balancer, or Service Connect
1017
+ # * External
1018
+ #
1019
+ # Use a third-party deployment controller.
1020
+ #
1021
+ # * Blue/green deployment (powered by CodeDeploy)
1022
+ #
1023
+ # CodeDeploy installs an updated version of the application as a new
1024
+ # replacement task set and reroutes production traffic from the
1025
+ # original application task set to the replacement task set. The
1026
+ # original task set is terminated after a successful deployment. Use
1027
+ # this deployment controller to verify a new deployment of a service
1028
+ # before sending production traffic to it.
988
1029
  #
989
1030
  # When creating a service that uses the `EXTERNAL` deployment
990
1031
  # controller, you can specify only parameters that aren't controlled at
991
1032
  # the task set level. The only required parameter is the service name.
992
- # You control your services using the [CreateTaskSet][5]. For more
993
- # information, see [Amazon ECS deployment types][6] in the *Amazon
1033
+ # You control your services using the [CreateTaskSet][7]. For more
1034
+ # information, see [Amazon ECS deployment types][8] in the *Amazon
994
1035
  # Elastic Container Service Developer Guide*.
995
1036
  #
996
1037
  # When the service scheduler launches new tasks, it determines task
997
1038
  # placement. For information about task placement and task placement
998
- # strategies, see [Amazon ECS task placement][7] in the *Amazon Elastic
1039
+ # strategies, see [Amazon ECS task placement][9] in the *Amazon Elastic
999
1040
  # Container Service Developer Guide*
1000
1041
  #
1001
1042
  #
@@ -1004,9 +1045,11 @@ module Aws::ECS
1004
1045
  # [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-load-balancing.html
1005
1046
  # [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types
1006
1047
  # [4]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html
1007
- # [5]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateTaskSet.html
1008
- # [6]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html
1009
- # [7]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement.html
1048
+ # [5]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html
1049
+ # [6]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-blue-green.html
1050
+ # [7]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateTaskSet.html
1051
+ # [8]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html
1052
+ # [9]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement.html
1010
1053
  #
1011
1054
  # @option params [String] :cluster
1012
1055
  # The short name or full Amazon Resource Name (ARN) of the cluster that
@@ -1324,8 +1367,8 @@ module Aws::ECS
1324
1367
  # resources][1] in the *Amazon Elastic Container Service Developer
1325
1368
  # Guide*.
1326
1369
  #
1327
- # When you use Amazon ECS managed tags, you need to set the
1328
- # `propagateTags` request parameter.
1370
+ # When you use Amazon ECS managed tags, you must set the `propagateTags`
1371
+ # request parameter.
1329
1372
  #
1330
1373
  #
1331
1374
  #
@@ -1513,6 +1556,12 @@ module Aws::ECS
1513
1556
  # load_balancer_name: "String",
1514
1557
  # container_name: "String",
1515
1558
  # container_port: 1,
1559
+ # advanced_configuration: {
1560
+ # alternate_target_group_arn: "String",
1561
+ # production_listener_rule: "String",
1562
+ # test_listener_rule: "String",
1563
+ # role_arn: "String",
1564
+ # },
1516
1565
  # },
1517
1566
  # ],
1518
1567
  # service_registries: [
@@ -1547,6 +1596,17 @@ module Aws::ECS
1547
1596
  # rollback: false, # required
1548
1597
  # enable: false, # required
1549
1598
  # },
1599
+ # strategy: "ROLLING", # accepts ROLLING, BLUE_GREEN
1600
+ # bake_time_in_minutes: 1,
1601
+ # lifecycle_hooks: [
1602
+ # {
1603
+ # hook_target_arn: "String",
1604
+ # role_arn: "IAMRoleArn",
1605
+ # lifecycle_stages: ["RECONCILE_SERVICE"], # accepts RECONCILE_SERVICE, PRE_SCALE_UP, POST_SCALE_UP, TEST_TRAFFIC_SHIFT, POST_TEST_TRAFFIC_SHIFT, PRODUCTION_TRAFFIC_SHIFT, POST_PRODUCTION_TRAFFIC_SHIFT
1606
+ # hook_details: {
1607
+ # },
1608
+ # },
1609
+ # ],
1550
1610
  # },
1551
1611
  # placement_constraints: [
1552
1612
  # {
@@ -1592,6 +1652,14 @@ module Aws::ECS
1592
1652
  # {
1593
1653
  # port: 1, # required
1594
1654
  # dns_name: "String",
1655
+ # test_traffic_rules: {
1656
+ # header: { # required
1657
+ # name: "String", # required
1658
+ # value: {
1659
+ # exact: "String", # required
1660
+ # },
1661
+ # },
1662
+ # },
1595
1663
  # },
1596
1664
  # ],
1597
1665
  # ingress_port_override: 1,
@@ -1669,6 +1737,10 @@ module Aws::ECS
1669
1737
  # resp.service.load_balancers[0].load_balancer_name #=> String
1670
1738
  # resp.service.load_balancers[0].container_name #=> String
1671
1739
  # resp.service.load_balancers[0].container_port #=> Integer
1740
+ # resp.service.load_balancers[0].advanced_configuration.alternate_target_group_arn #=> String
1741
+ # resp.service.load_balancers[0].advanced_configuration.production_listener_rule #=> String
1742
+ # resp.service.load_balancers[0].advanced_configuration.test_listener_rule #=> String
1743
+ # resp.service.load_balancers[0].advanced_configuration.role_arn #=> String
1672
1744
  # resp.service.service_registries #=> Array
1673
1745
  # resp.service.service_registries[0].registry_arn #=> String
1674
1746
  # resp.service.service_registries[0].port #=> Integer
@@ -1694,6 +1766,13 @@ module Aws::ECS
1694
1766
  # resp.service.deployment_configuration.alarms.alarm_names[0] #=> String
1695
1767
  # resp.service.deployment_configuration.alarms.rollback #=> Boolean
1696
1768
  # resp.service.deployment_configuration.alarms.enable #=> Boolean
1769
+ # resp.service.deployment_configuration.strategy #=> String, one of "ROLLING", "BLUE_GREEN"
1770
+ # resp.service.deployment_configuration.bake_time_in_minutes #=> Integer
1771
+ # resp.service.deployment_configuration.lifecycle_hooks #=> Array
1772
+ # resp.service.deployment_configuration.lifecycle_hooks[0].hook_target_arn #=> String
1773
+ # resp.service.deployment_configuration.lifecycle_hooks[0].role_arn #=> String
1774
+ # resp.service.deployment_configuration.lifecycle_hooks[0].lifecycle_stages #=> Array
1775
+ # 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"
1697
1776
  # resp.service.task_sets #=> Array
1698
1777
  # resp.service.task_sets[0].id #=> String
1699
1778
  # resp.service.task_sets[0].task_set_arn #=> String
@@ -1725,6 +1804,10 @@ module Aws::ECS
1725
1804
  # resp.service.task_sets[0].load_balancers[0].load_balancer_name #=> String
1726
1805
  # resp.service.task_sets[0].load_balancers[0].container_name #=> String
1727
1806
  # resp.service.task_sets[0].load_balancers[0].container_port #=> Integer
1807
+ # resp.service.task_sets[0].load_balancers[0].advanced_configuration.alternate_target_group_arn #=> String
1808
+ # resp.service.task_sets[0].load_balancers[0].advanced_configuration.production_listener_rule #=> String
1809
+ # resp.service.task_sets[0].load_balancers[0].advanced_configuration.test_listener_rule #=> String
1810
+ # resp.service.task_sets[0].load_balancers[0].advanced_configuration.role_arn #=> String
1728
1811
  # resp.service.task_sets[0].service_registries #=> Array
1729
1812
  # resp.service.task_sets[0].service_registries[0].registry_arn #=> String
1730
1813
  # resp.service.task_sets[0].service_registries[0].port #=> Integer
@@ -1770,6 +1853,8 @@ module Aws::ECS
1770
1853
  # resp.service.deployments[0].service_connect_configuration.services[0].client_aliases #=> Array
1771
1854
  # resp.service.deployments[0].service_connect_configuration.services[0].client_aliases[0].port #=> Integer
1772
1855
  # resp.service.deployments[0].service_connect_configuration.services[0].client_aliases[0].dns_name #=> String
1856
+ # resp.service.deployments[0].service_connect_configuration.services[0].client_aliases[0].test_traffic_rules.header.name #=> String
1857
+ # resp.service.deployments[0].service_connect_configuration.services[0].client_aliases[0].test_traffic_rules.header.value.exact #=> String
1773
1858
  # resp.service.deployments[0].service_connect_configuration.services[0].ingress_port_override #=> Integer
1774
1859
  # resp.service.deployments[0].service_connect_configuration.services[0].timeout.idle_timeout_seconds #=> Integer
1775
1860
  # resp.service.deployments[0].service_connect_configuration.services[0].timeout.per_request_timeout_seconds #=> Integer
@@ -2073,6 +2158,12 @@ module Aws::ECS
2073
2158
  # load_balancer_name: "String",
2074
2159
  # container_name: "String",
2075
2160
  # container_port: 1,
2161
+ # advanced_configuration: {
2162
+ # alternate_target_group_arn: "String",
2163
+ # production_listener_rule: "String",
2164
+ # test_listener_rule: "String",
2165
+ # role_arn: "String",
2166
+ # },
2076
2167
  # },
2077
2168
  # ],
2078
2169
  # service_registries: [
@@ -2137,6 +2228,10 @@ module Aws::ECS
2137
2228
  # resp.task_set.load_balancers[0].load_balancer_name #=> String
2138
2229
  # resp.task_set.load_balancers[0].container_name #=> String
2139
2230
  # resp.task_set.load_balancers[0].container_port #=> Integer
2231
+ # resp.task_set.load_balancers[0].advanced_configuration.alternate_target_group_arn #=> String
2232
+ # resp.task_set.load_balancers[0].advanced_configuration.production_listener_rule #=> String
2233
+ # resp.task_set.load_balancers[0].advanced_configuration.test_listener_rule #=> String
2234
+ # resp.task_set.load_balancers[0].advanced_configuration.role_arn #=> String
2140
2235
  # resp.task_set.service_registries #=> Array
2141
2236
  # resp.task_set.service_registries[0].registry_arn #=> String
2142
2237
  # resp.task_set.service_registries[0].port #=> Integer
@@ -2603,6 +2698,10 @@ module Aws::ECS
2603
2698
  # resp.service.load_balancers[0].load_balancer_name #=> String
2604
2699
  # resp.service.load_balancers[0].container_name #=> String
2605
2700
  # resp.service.load_balancers[0].container_port #=> Integer
2701
+ # resp.service.load_balancers[0].advanced_configuration.alternate_target_group_arn #=> String
2702
+ # resp.service.load_balancers[0].advanced_configuration.production_listener_rule #=> String
2703
+ # resp.service.load_balancers[0].advanced_configuration.test_listener_rule #=> String
2704
+ # resp.service.load_balancers[0].advanced_configuration.role_arn #=> String
2606
2705
  # resp.service.service_registries #=> Array
2607
2706
  # resp.service.service_registries[0].registry_arn #=> String
2608
2707
  # resp.service.service_registries[0].port #=> Integer
@@ -2628,6 +2727,13 @@ module Aws::ECS
2628
2727
  # resp.service.deployment_configuration.alarms.alarm_names[0] #=> String
2629
2728
  # resp.service.deployment_configuration.alarms.rollback #=> Boolean
2630
2729
  # resp.service.deployment_configuration.alarms.enable #=> Boolean
2730
+ # resp.service.deployment_configuration.strategy #=> String, one of "ROLLING", "BLUE_GREEN"
2731
+ # resp.service.deployment_configuration.bake_time_in_minutes #=> Integer
2732
+ # resp.service.deployment_configuration.lifecycle_hooks #=> Array
2733
+ # resp.service.deployment_configuration.lifecycle_hooks[0].hook_target_arn #=> String
2734
+ # resp.service.deployment_configuration.lifecycle_hooks[0].role_arn #=> String
2735
+ # resp.service.deployment_configuration.lifecycle_hooks[0].lifecycle_stages #=> Array
2736
+ # 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"
2631
2737
  # resp.service.task_sets #=> Array
2632
2738
  # resp.service.task_sets[0].id #=> String
2633
2739
  # resp.service.task_sets[0].task_set_arn #=> String
@@ -2659,6 +2765,10 @@ module Aws::ECS
2659
2765
  # resp.service.task_sets[0].load_balancers[0].load_balancer_name #=> String
2660
2766
  # resp.service.task_sets[0].load_balancers[0].container_name #=> String
2661
2767
  # resp.service.task_sets[0].load_balancers[0].container_port #=> Integer
2768
+ # resp.service.task_sets[0].load_balancers[0].advanced_configuration.alternate_target_group_arn #=> String
2769
+ # resp.service.task_sets[0].load_balancers[0].advanced_configuration.production_listener_rule #=> String
2770
+ # resp.service.task_sets[0].load_balancers[0].advanced_configuration.test_listener_rule #=> String
2771
+ # resp.service.task_sets[0].load_balancers[0].advanced_configuration.role_arn #=> String
2662
2772
  # resp.service.task_sets[0].service_registries #=> Array
2663
2773
  # resp.service.task_sets[0].service_registries[0].registry_arn #=> String
2664
2774
  # resp.service.task_sets[0].service_registries[0].port #=> Integer
@@ -2704,6 +2814,8 @@ module Aws::ECS
2704
2814
  # resp.service.deployments[0].service_connect_configuration.services[0].client_aliases #=> Array
2705
2815
  # resp.service.deployments[0].service_connect_configuration.services[0].client_aliases[0].port #=> Integer
2706
2816
  # resp.service.deployments[0].service_connect_configuration.services[0].client_aliases[0].dns_name #=> String
2817
+ # resp.service.deployments[0].service_connect_configuration.services[0].client_aliases[0].test_traffic_rules.header.name #=> String
2818
+ # resp.service.deployments[0].service_connect_configuration.services[0].client_aliases[0].test_traffic_rules.header.value.exact #=> String
2707
2819
  # resp.service.deployments[0].service_connect_configuration.services[0].ingress_port_override #=> Integer
2708
2820
  # resp.service.deployments[0].service_connect_configuration.services[0].timeout.idle_timeout_seconds #=> Integer
2709
2821
  # resp.service.deployments[0].service_connect_configuration.services[0].timeout.per_request_timeout_seconds #=> Integer
@@ -3187,6 +3299,10 @@ module Aws::ECS
3187
3299
  # resp.task_set.load_balancers[0].load_balancer_name #=> String
3188
3300
  # resp.task_set.load_balancers[0].container_name #=> String
3189
3301
  # resp.task_set.load_balancers[0].container_port #=> Integer
3302
+ # resp.task_set.load_balancers[0].advanced_configuration.alternate_target_group_arn #=> String
3303
+ # resp.task_set.load_balancers[0].advanced_configuration.production_listener_rule #=> String
3304
+ # resp.task_set.load_balancers[0].advanced_configuration.test_listener_rule #=> String
3305
+ # resp.task_set.load_balancers[0].advanced_configuration.role_arn #=> String
3190
3306
  # resp.task_set.service_registries #=> Array
3191
3307
  # resp.task_set.service_registries[0].registry_arn #=> String
3192
3308
  # resp.task_set.service_registries[0].port #=> Integer
@@ -4188,6 +4304,7 @@ module Aws::ECS
4188
4304
  # resp.service_deployments[0].target_service_revision.pending_task_count #=> Integer
4189
4305
  # resp.service_deployments[0].status #=> String, one of "PENDING", "SUCCESSFUL", "STOPPED", "STOP_REQUESTED", "IN_PROGRESS", "ROLLBACK_REQUESTED", "ROLLBACK_IN_PROGRESS", "ROLLBACK_SUCCESSFUL", "ROLLBACK_FAILED"
4190
4306
  # resp.service_deployments[0].status_reason #=> String
4307
+ # 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"
4191
4308
  # resp.service_deployments[0].deployment_configuration.deployment_circuit_breaker.enable #=> Boolean
4192
4309
  # resp.service_deployments[0].deployment_configuration.deployment_circuit_breaker.rollback #=> Boolean
4193
4310
  # resp.service_deployments[0].deployment_configuration.maximum_percent #=> Integer
@@ -4196,6 +4313,13 @@ module Aws::ECS
4196
4313
  # resp.service_deployments[0].deployment_configuration.alarms.alarm_names[0] #=> String
4197
4314
  # resp.service_deployments[0].deployment_configuration.alarms.rollback #=> Boolean
4198
4315
  # resp.service_deployments[0].deployment_configuration.alarms.enable #=> Boolean
4316
+ # resp.service_deployments[0].deployment_configuration.strategy #=> String, one of "ROLLING", "BLUE_GREEN"
4317
+ # resp.service_deployments[0].deployment_configuration.bake_time_in_minutes #=> Integer
4318
+ # resp.service_deployments[0].deployment_configuration.lifecycle_hooks #=> Array
4319
+ # resp.service_deployments[0].deployment_configuration.lifecycle_hooks[0].hook_target_arn #=> String
4320
+ # resp.service_deployments[0].deployment_configuration.lifecycle_hooks[0].role_arn #=> String
4321
+ # resp.service_deployments[0].deployment_configuration.lifecycle_hooks[0].lifecycle_stages #=> Array
4322
+ # 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"
4199
4323
  # resp.service_deployments[0].rollback.reason #=> String
4200
4324
  # resp.service_deployments[0].rollback.started_at #=> Time
4201
4325
  # resp.service_deployments[0].rollback.service_revision_arn #=> String
@@ -4317,6 +4441,10 @@ module Aws::ECS
4317
4441
  # resp.service_revisions[0].load_balancers[0].load_balancer_name #=> String
4318
4442
  # resp.service_revisions[0].load_balancers[0].container_name #=> String
4319
4443
  # resp.service_revisions[0].load_balancers[0].container_port #=> Integer
4444
+ # resp.service_revisions[0].load_balancers[0].advanced_configuration.alternate_target_group_arn #=> String
4445
+ # resp.service_revisions[0].load_balancers[0].advanced_configuration.production_listener_rule #=> String
4446
+ # resp.service_revisions[0].load_balancers[0].advanced_configuration.test_listener_rule #=> String
4447
+ # resp.service_revisions[0].load_balancers[0].advanced_configuration.role_arn #=> String
4320
4448
  # resp.service_revisions[0].service_registries #=> Array
4321
4449
  # resp.service_revisions[0].service_registries[0].registry_arn #=> String
4322
4450
  # resp.service_revisions[0].service_registries[0].port #=> Integer
@@ -4340,6 +4468,8 @@ module Aws::ECS
4340
4468
  # resp.service_revisions[0].service_connect_configuration.services[0].client_aliases #=> Array
4341
4469
  # resp.service_revisions[0].service_connect_configuration.services[0].client_aliases[0].port #=> Integer
4342
4470
  # resp.service_revisions[0].service_connect_configuration.services[0].client_aliases[0].dns_name #=> String
4471
+ # resp.service_revisions[0].service_connect_configuration.services[0].client_aliases[0].test_traffic_rules.header.name #=> String
4472
+ # resp.service_revisions[0].service_connect_configuration.services[0].client_aliases[0].test_traffic_rules.header.value.exact #=> String
4343
4473
  # resp.service_revisions[0].service_connect_configuration.services[0].ingress_port_override #=> Integer
4344
4474
  # resp.service_revisions[0].service_connect_configuration.services[0].timeout.idle_timeout_seconds #=> Integer
4345
4475
  # resp.service_revisions[0].service_connect_configuration.services[0].timeout.per_request_timeout_seconds #=> Integer
@@ -4376,6 +4506,9 @@ module Aws::ECS
4376
4506
  # resp.service_revisions[0].vpc_lattice_configurations[0].role_arn #=> String
4377
4507
  # resp.service_revisions[0].vpc_lattice_configurations[0].target_group_arn #=> String
4378
4508
  # resp.service_revisions[0].vpc_lattice_configurations[0].port_name #=> String
4509
+ # resp.service_revisions[0].resolved_configuration.load_balancers #=> Array
4510
+ # resp.service_revisions[0].resolved_configuration.load_balancers[0].target_group_arn #=> String
4511
+ # resp.service_revisions[0].resolved_configuration.load_balancers[0].production_listener_rule #=> String
4379
4512
  # resp.failures #=> Array
4380
4513
  # resp.failures[0].arn #=> String
4381
4514
  # resp.failures[0].reason #=> String
@@ -4487,6 +4620,10 @@ module Aws::ECS
4487
4620
  # resp.services[0].load_balancers[0].load_balancer_name #=> String
4488
4621
  # resp.services[0].load_balancers[0].container_name #=> String
4489
4622
  # resp.services[0].load_balancers[0].container_port #=> Integer
4623
+ # resp.services[0].load_balancers[0].advanced_configuration.alternate_target_group_arn #=> String
4624
+ # resp.services[0].load_balancers[0].advanced_configuration.production_listener_rule #=> String
4625
+ # resp.services[0].load_balancers[0].advanced_configuration.test_listener_rule #=> String
4626
+ # resp.services[0].load_balancers[0].advanced_configuration.role_arn #=> String
4490
4627
  # resp.services[0].service_registries #=> Array
4491
4628
  # resp.services[0].service_registries[0].registry_arn #=> String
4492
4629
  # resp.services[0].service_registries[0].port #=> Integer
@@ -4512,6 +4649,13 @@ module Aws::ECS
4512
4649
  # resp.services[0].deployment_configuration.alarms.alarm_names[0] #=> String
4513
4650
  # resp.services[0].deployment_configuration.alarms.rollback #=> Boolean
4514
4651
  # resp.services[0].deployment_configuration.alarms.enable #=> Boolean
4652
+ # resp.services[0].deployment_configuration.strategy #=> String, one of "ROLLING", "BLUE_GREEN"
4653
+ # resp.services[0].deployment_configuration.bake_time_in_minutes #=> Integer
4654
+ # resp.services[0].deployment_configuration.lifecycle_hooks #=> Array
4655
+ # resp.services[0].deployment_configuration.lifecycle_hooks[0].hook_target_arn #=> String
4656
+ # resp.services[0].deployment_configuration.lifecycle_hooks[0].role_arn #=> String
4657
+ # resp.services[0].deployment_configuration.lifecycle_hooks[0].lifecycle_stages #=> Array
4658
+ # 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"
4515
4659
  # resp.services[0].task_sets #=> Array
4516
4660
  # resp.services[0].task_sets[0].id #=> String
4517
4661
  # resp.services[0].task_sets[0].task_set_arn #=> String
@@ -4543,6 +4687,10 @@ module Aws::ECS
4543
4687
  # resp.services[0].task_sets[0].load_balancers[0].load_balancer_name #=> String
4544
4688
  # resp.services[0].task_sets[0].load_balancers[0].container_name #=> String
4545
4689
  # resp.services[0].task_sets[0].load_balancers[0].container_port #=> Integer
4690
+ # resp.services[0].task_sets[0].load_balancers[0].advanced_configuration.alternate_target_group_arn #=> String
4691
+ # resp.services[0].task_sets[0].load_balancers[0].advanced_configuration.production_listener_rule #=> String
4692
+ # resp.services[0].task_sets[0].load_balancers[0].advanced_configuration.test_listener_rule #=> String
4693
+ # resp.services[0].task_sets[0].load_balancers[0].advanced_configuration.role_arn #=> String
4546
4694
  # resp.services[0].task_sets[0].service_registries #=> Array
4547
4695
  # resp.services[0].task_sets[0].service_registries[0].registry_arn #=> String
4548
4696
  # resp.services[0].task_sets[0].service_registries[0].port #=> Integer
@@ -4588,6 +4736,8 @@ module Aws::ECS
4588
4736
  # resp.services[0].deployments[0].service_connect_configuration.services[0].client_aliases #=> Array
4589
4737
  # resp.services[0].deployments[0].service_connect_configuration.services[0].client_aliases[0].port #=> Integer
4590
4738
  # resp.services[0].deployments[0].service_connect_configuration.services[0].client_aliases[0].dns_name #=> String
4739
+ # resp.services[0].deployments[0].service_connect_configuration.services[0].client_aliases[0].test_traffic_rules.header.name #=> String
4740
+ # resp.services[0].deployments[0].service_connect_configuration.services[0].client_aliases[0].test_traffic_rules.header.value.exact #=> String
4591
4741
  # resp.services[0].deployments[0].service_connect_configuration.services[0].ingress_port_override #=> Integer
4592
4742
  # resp.services[0].deployments[0].service_connect_configuration.services[0].timeout.idle_timeout_seconds #=> Integer
4593
4743
  # resp.services[0].deployments[0].service_connect_configuration.services[0].timeout.per_request_timeout_seconds #=> Integer
@@ -5080,6 +5230,10 @@ module Aws::ECS
5080
5230
  # resp.task_sets[0].load_balancers[0].load_balancer_name #=> String
5081
5231
  # resp.task_sets[0].load_balancers[0].container_name #=> String
5082
5232
  # resp.task_sets[0].load_balancers[0].container_port #=> Integer
5233
+ # resp.task_sets[0].load_balancers[0].advanced_configuration.alternate_target_group_arn #=> String
5234
+ # resp.task_sets[0].load_balancers[0].advanced_configuration.production_listener_rule #=> String
5235
+ # resp.task_sets[0].load_balancers[0].advanced_configuration.test_listener_rule #=> String
5236
+ # resp.task_sets[0].load_balancers[0].advanced_configuration.role_arn #=> String
5083
5237
  # resp.task_sets[0].service_registries #=> Array
5084
5238
  # resp.task_sets[0].service_registries[0].registry_arn #=> String
5085
5239
  # resp.task_sets[0].service_registries[0].port #=> Integer
@@ -5120,8 +5274,8 @@ module Aws::ECS
5120
5274
  # @option params [String] :cluster
5121
5275
  # The short name or full Amazon Resource Name (ARN) of the cluster that
5122
5276
  # hosts the task or tasks to describe. If you do not specify a cluster,
5123
- # the default cluster is assumed. This parameter is required. If you do
5124
- # not specify a value, the `default` cluster is used.
5277
+ # the default cluster is assumed. If you do not specify a value, the
5278
+ # `default` cluster is used.
5125
5279
  #
5126
5280
  # @option params [required, Array<String>] :tasks
5127
5281
  # A list of up to 100 task IDs or full ARN entries.
@@ -11597,6 +11751,9 @@ module Aws::ECS
11597
11751
  # can prevent the service scheduler from marking tasks as unhealthy and
11598
11752
  # stopping them before they have time to come up.
11599
11753
  #
11754
+ # @option params [Types::DeploymentController] :deployment_controller
11755
+ # The deployment controller to use for the service.
11756
+ #
11600
11757
  # @option params [Boolean] :enable_execute_command
11601
11758
  # If `true`, this enables execute command functionality on all task
11602
11759
  # containers.
@@ -11781,6 +11938,17 @@ module Aws::ECS
11781
11938
  # rollback: false, # required
11782
11939
  # enable: false, # required
11783
11940
  # },
11941
+ # strategy: "ROLLING", # accepts ROLLING, BLUE_GREEN
11942
+ # bake_time_in_minutes: 1,
11943
+ # lifecycle_hooks: [
11944
+ # {
11945
+ # hook_target_arn: "String",
11946
+ # role_arn: "IAMRoleArn",
11947
+ # lifecycle_stages: ["RECONCILE_SERVICE"], # accepts RECONCILE_SERVICE, PRE_SCALE_UP, POST_SCALE_UP, TEST_TRAFFIC_SHIFT, POST_TEST_TRAFFIC_SHIFT, PRODUCTION_TRAFFIC_SHIFT, POST_PRODUCTION_TRAFFIC_SHIFT
11948
+ # hook_details: {
11949
+ # },
11950
+ # },
11951
+ # ],
11784
11952
  # },
11785
11953
  # availability_zone_rebalancing: "ENABLED", # accepts ENABLED, DISABLED
11786
11954
  # network_configuration: {
@@ -11805,6 +11973,9 @@ module Aws::ECS
11805
11973
  # platform_version: "String",
11806
11974
  # force_new_deployment: false,
11807
11975
  # health_check_grace_period_seconds: 1,
11976
+ # deployment_controller: {
11977
+ # type: "ECS", # required, accepts ECS, CODE_DEPLOY, EXTERNAL
11978
+ # },
11808
11979
  # enable_execute_command: false,
11809
11980
  # enable_ecs_managed_tags: false,
11810
11981
  # load_balancers: [
@@ -11813,6 +11984,12 @@ module Aws::ECS
11813
11984
  # load_balancer_name: "String",
11814
11985
  # container_name: "String",
11815
11986
  # container_port: 1,
11987
+ # advanced_configuration: {
11988
+ # alternate_target_group_arn: "String",
11989
+ # production_listener_rule: "String",
11990
+ # test_listener_rule: "String",
11991
+ # role_arn: "String",
11992
+ # },
11816
11993
  # },
11817
11994
  # ],
11818
11995
  # propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE, NONE
@@ -11835,6 +12012,14 @@ module Aws::ECS
11835
12012
  # {
11836
12013
  # port: 1, # required
11837
12014
  # dns_name: "String",
12015
+ # test_traffic_rules: {
12016
+ # header: { # required
12017
+ # name: "String", # required
12018
+ # value: {
12019
+ # exact: "String", # required
12020
+ # },
12021
+ # },
12022
+ # },
11838
12023
  # },
11839
12024
  # ],
11840
12025
  # ingress_port_override: 1,
@@ -11912,6 +12097,10 @@ module Aws::ECS
11912
12097
  # resp.service.load_balancers[0].load_balancer_name #=> String
11913
12098
  # resp.service.load_balancers[0].container_name #=> String
11914
12099
  # resp.service.load_balancers[0].container_port #=> Integer
12100
+ # resp.service.load_balancers[0].advanced_configuration.alternate_target_group_arn #=> String
12101
+ # resp.service.load_balancers[0].advanced_configuration.production_listener_rule #=> String
12102
+ # resp.service.load_balancers[0].advanced_configuration.test_listener_rule #=> String
12103
+ # resp.service.load_balancers[0].advanced_configuration.role_arn #=> String
11915
12104
  # resp.service.service_registries #=> Array
11916
12105
  # resp.service.service_registries[0].registry_arn #=> String
11917
12106
  # resp.service.service_registries[0].port #=> Integer
@@ -11937,6 +12126,13 @@ module Aws::ECS
11937
12126
  # resp.service.deployment_configuration.alarms.alarm_names[0] #=> String
11938
12127
  # resp.service.deployment_configuration.alarms.rollback #=> Boolean
11939
12128
  # resp.service.deployment_configuration.alarms.enable #=> Boolean
12129
+ # resp.service.deployment_configuration.strategy #=> String, one of "ROLLING", "BLUE_GREEN"
12130
+ # resp.service.deployment_configuration.bake_time_in_minutes #=> Integer
12131
+ # resp.service.deployment_configuration.lifecycle_hooks #=> Array
12132
+ # resp.service.deployment_configuration.lifecycle_hooks[0].hook_target_arn #=> String
12133
+ # resp.service.deployment_configuration.lifecycle_hooks[0].role_arn #=> String
12134
+ # resp.service.deployment_configuration.lifecycle_hooks[0].lifecycle_stages #=> Array
12135
+ # 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"
11940
12136
  # resp.service.task_sets #=> Array
11941
12137
  # resp.service.task_sets[0].id #=> String
11942
12138
  # resp.service.task_sets[0].task_set_arn #=> String
@@ -11968,6 +12164,10 @@ module Aws::ECS
11968
12164
  # resp.service.task_sets[0].load_balancers[0].load_balancer_name #=> String
11969
12165
  # resp.service.task_sets[0].load_balancers[0].container_name #=> String
11970
12166
  # resp.service.task_sets[0].load_balancers[0].container_port #=> Integer
12167
+ # resp.service.task_sets[0].load_balancers[0].advanced_configuration.alternate_target_group_arn #=> String
12168
+ # resp.service.task_sets[0].load_balancers[0].advanced_configuration.production_listener_rule #=> String
12169
+ # resp.service.task_sets[0].load_balancers[0].advanced_configuration.test_listener_rule #=> String
12170
+ # resp.service.task_sets[0].load_balancers[0].advanced_configuration.role_arn #=> String
11971
12171
  # resp.service.task_sets[0].service_registries #=> Array
11972
12172
  # resp.service.task_sets[0].service_registries[0].registry_arn #=> String
11973
12173
  # resp.service.task_sets[0].service_registries[0].port #=> Integer
@@ -12013,6 +12213,8 @@ module Aws::ECS
12013
12213
  # resp.service.deployments[0].service_connect_configuration.services[0].client_aliases #=> Array
12014
12214
  # resp.service.deployments[0].service_connect_configuration.services[0].client_aliases[0].port #=> Integer
12015
12215
  # resp.service.deployments[0].service_connect_configuration.services[0].client_aliases[0].dns_name #=> String
12216
+ # resp.service.deployments[0].service_connect_configuration.services[0].client_aliases[0].test_traffic_rules.header.name #=> String
12217
+ # resp.service.deployments[0].service_connect_configuration.services[0].client_aliases[0].test_traffic_rules.header.value.exact #=> String
12016
12218
  # resp.service.deployments[0].service_connect_configuration.services[0].ingress_port_override #=> Integer
12017
12219
  # resp.service.deployments[0].service_connect_configuration.services[0].timeout.idle_timeout_seconds #=> Integer
12018
12220
  # resp.service.deployments[0].service_connect_configuration.services[0].timeout.per_request_timeout_seconds #=> Integer
@@ -12204,6 +12406,10 @@ module Aws::ECS
12204
12406
  # resp.task_set.load_balancers[0].load_balancer_name #=> String
12205
12407
  # resp.task_set.load_balancers[0].container_name #=> String
12206
12408
  # resp.task_set.load_balancers[0].container_port #=> Integer
12409
+ # resp.task_set.load_balancers[0].advanced_configuration.alternate_target_group_arn #=> String
12410
+ # resp.task_set.load_balancers[0].advanced_configuration.production_listener_rule #=> String
12411
+ # resp.task_set.load_balancers[0].advanced_configuration.test_listener_rule #=> String
12412
+ # resp.task_set.load_balancers[0].advanced_configuration.role_arn #=> String
12207
12413
  # resp.task_set.service_registries #=> Array
12208
12414
  # resp.task_set.service_registries[0].registry_arn #=> String
12209
12415
  # resp.task_set.service_registries[0].port #=> Integer
@@ -12524,6 +12730,10 @@ module Aws::ECS
12524
12730
  # resp.task_set.load_balancers[0].load_balancer_name #=> String
12525
12731
  # resp.task_set.load_balancers[0].container_name #=> String
12526
12732
  # resp.task_set.load_balancers[0].container_port #=> Integer
12733
+ # resp.task_set.load_balancers[0].advanced_configuration.alternate_target_group_arn #=> String
12734
+ # resp.task_set.load_balancers[0].advanced_configuration.production_listener_rule #=> String
12735
+ # resp.task_set.load_balancers[0].advanced_configuration.test_listener_rule #=> String
12736
+ # resp.task_set.load_balancers[0].advanced_configuration.role_arn #=> String
12527
12737
  # resp.task_set.service_registries #=> Array
12528
12738
  # resp.task_set.service_registries[0].registry_arn #=> String
12529
12739
  # resp.task_set.service_registries[0].port #=> Integer
@@ -12565,7 +12775,7 @@ module Aws::ECS
12565
12775
  tracer: tracer
12566
12776
  )
12567
12777
  context[:gem_name] = 'aws-sdk-ecs'
12568
- context[:gem_version] = '1.196.0'
12778
+ context[:gem_version] = '1.197.0'
12569
12779
  Seahorse::Client::Request.new(handlers, context)
12570
12780
  end
12571
12781