aws-sdk-ecs 1.96.0 → 1.97.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ee0ab596fb46070b4afe1dc2741a478a8ed9143f494a9210e177dc6e2ce324d1
4
- data.tar.gz: babab9b58e3ec0d076f9fa9cfced0572f235fa9cd70090f449d3047e352f8f27
3
+ metadata.gz: '0794594ba7b0c2273ba4bd389f8c3d05943632247317918cf8d8cde40d4fb4c0'
4
+ data.tar.gz: 7035a87cacfd0e4f6a3855b630f57cb97ff5e213d74e2cffd5d1a3fd26ec63b3
5
5
  SHA512:
6
- metadata.gz: 9b03ebdf1cc2ff27e08cb0ddcfba5f94f0a6ce3299d93ea7dc9b30620ad54ae0e35211daef1f41f801da07e076256136b2412dba4851ab5cdfbf9bb8c646ec3c
7
- data.tar.gz: e2c739ad2457df5e233eef8464c90fc20ba4efd21df2920f29f9af4a4b4a6bcefe66847e44ab8558f6e16d3a8e9562d92b1d94033ca00449e222e69f1fefddb9
6
+ metadata.gz: 291868aa85fad401246451737f4ca1a1d1dcbe879f0390e9b1ad5b5fba99aac4d63bf340e1faf4f65af09cbe436585a4d3b2420d25d4348c76aeffb2d18e30b9
7
+ data.tar.gz: 77020b769232aacc7a4f551d002b4a32ccac8d4aa15b524914e7368f033666d395a2a1af2ece2d3d5cde03960d29adc4e41d08e7c20357ff5874c3c8c8c392ca
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.97.0 (2022-03-07)
5
+ ------------------
6
+
7
+ * Feature - Amazon ECS UpdateService API now supports additional parameters: loadBalancers, propagateTags, enableECSManagedTags, and serviceRegistries
8
+
4
9
  1.96.0 (2022-02-24)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.96.0
1
+ 1.97.0
@@ -521,7 +521,7 @@ module Aws::ECS
521
521
  #
522
522
  # @option params [Array<Types::ClusterSetting>] :settings
523
523
  # The setting to use when creating a cluster. This parameter is used to
524
- # enable CloudWatch Container Insights for a cluster. If this value is
524
+ # turn on CloudWatch Container Insights for a cluster. If this value is
525
525
  # specified, it overrides the `containerInsights` value set with
526
526
  # PutAccountSetting or PutAccountSettingDefault.
527
527
  #
@@ -690,8 +690,7 @@ module Aws::ECS
690
690
  # Tasks for services that don't use a load balancer are considered
691
691
  # healthy if they're in the `RUNNING` state. Tasks for services that
692
692
  # use a load balancer are considered healthy if they're in the
693
- # `RUNNING` state and the container instance that they're hosted on is
694
- # reported as healthy by the load balancer.
693
+ # `RUNNING` state and are reported as healthy by the load balancer.
695
694
  #
696
695
  # There are two service scheduler strategies available:
697
696
  #
@@ -844,11 +843,8 @@ module Aws::ECS
844
843
  # listener that you can use to perform validation tests with Lambda
845
844
  # functions before routing production traffic to it.
846
845
  #
847
- # After you create a service using the `ECS` deployment controller, the
848
- # load balancer name or target group ARN, container name, and container
849
- # port that's specified in the service definition are immutable. If you
850
- # use the `CODE_DEPLOY` deployment controller, these values can be
851
- # changed when updating the service.
846
+ # If you use the `CODE_DEPLOY` deployment controller, these values can
847
+ # be changed when updating the service.
852
848
  #
853
849
  # For Application Load Balancers and Network Load Balancers, this object
854
850
  # must contain the load balancer target group ARN, the container name,
@@ -1020,6 +1016,10 @@ module Aws::ECS
1020
1016
  # defined and you don't specify a health check grace period value, the
1021
1017
  # default value of `0` is used.
1022
1018
  #
1019
+ # If you do not use an Elastic Load Balancing, we recomend that you use
1020
+ # the `startPeriod` in the task definition healtch check parameters. For
1021
+ # more information, see [Health check][1].
1022
+ #
1023
1023
  # If your service's tasks take a while to start and respond to Elastic
1024
1024
  # Load Balancing health checks, you can specify a health check grace
1025
1025
  # period of up to 2,147,483,647 seconds (about 69 years). During that
@@ -1027,6 +1027,10 @@ module Aws::ECS
1027
1027
  # This grace period can prevent the service scheduler from marking tasks
1028
1028
  # as unhealthy and stopping them before they have time to come up.
1029
1029
  #
1030
+ #
1031
+ #
1032
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_HealthCheck.html
1033
+ #
1030
1034
  # @option params [String] :scheduling_strategy
1031
1035
  # The scheduling strategy to use for the service. For more information,
1032
1036
  # see [Services][1].
@@ -1095,7 +1099,7 @@ module Aws::ECS
1095
1099
  # your tags per resource limit.
1096
1100
  #
1097
1101
  # @option params [Boolean] :enable_ecs_managed_tags
1098
- # Specifies whether to enable Amazon ECS managed tags for the tasks
1102
+ # Specifies whether to turn on Amazon ECS managed tags for the tasks
1099
1103
  # within the service. For more information, see [Tagging Your Amazon ECS
1100
1104
  # Resources][1] in the *Amazon Elastic Container Service Developer
1101
1105
  # Guide*.
@@ -1312,7 +1316,7 @@ module Aws::ECS
1312
1316
  # },
1313
1317
  # ],
1314
1318
  # enable_ecs_managed_tags: false,
1315
- # propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE
1319
+ # propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE, NONE
1316
1320
  # enable_execute_command: false,
1317
1321
  # })
1318
1322
  #
@@ -1439,7 +1443,7 @@ module Aws::ECS
1439
1443
  # resp.service.tags[0].value #=> String
1440
1444
  # resp.service.created_by #=> String
1441
1445
  # resp.service.enable_ecs_managed_tags #=> Boolean
1442
- # resp.service.propagate_tags #=> String, one of "TASK_DEFINITION", "SERVICE"
1446
+ # resp.service.propagate_tags #=> String, one of "TASK_DEFINITION", "SERVICE", "NONE"
1443
1447
  # resp.service.enable_execute_command #=> Boolean
1444
1448
  #
1445
1449
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateService AWS API Documentation
@@ -2162,7 +2166,7 @@ module Aws::ECS
2162
2166
  # resp.service.tags[0].value #=> String
2163
2167
  # resp.service.created_by #=> String
2164
2168
  # resp.service.enable_ecs_managed_tags #=> Boolean
2165
- # resp.service.propagate_tags #=> String, one of "TASK_DEFINITION", "SERVICE"
2169
+ # resp.service.propagate_tags #=> String, one of "TASK_DEFINITION", "SERVICE", "NONE"
2166
2170
  # resp.service.enable_execute_command #=> Boolean
2167
2171
  #
2168
2172
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteService AWS API Documentation
@@ -3213,7 +3217,7 @@ module Aws::ECS
3213
3217
  # resp.services[0].tags[0].value #=> String
3214
3218
  # resp.services[0].created_by #=> String
3215
3219
  # resp.services[0].enable_ecs_managed_tags #=> Boolean
3216
- # resp.services[0].propagate_tags #=> String, one of "TASK_DEFINITION", "SERVICE"
3220
+ # resp.services[0].propagate_tags #=> String, one of "TASK_DEFINITION", "SERVICE", "NONE"
3217
3221
  # resp.services[0].enable_execute_command #=> Boolean
3218
3222
  # resp.failures #=> Array
3219
3223
  # resp.failures[0].arn #=> String
@@ -4839,8 +4843,8 @@ module Aws::ECS
4839
4843
  # opt-in and opt-out account setting must be set for each Amazon ECS
4840
4844
  # resource separately. The ARN and resource ID format of a resource is
4841
4845
  # defined by the opt-in status of the IAM user or role that created the
4842
- # resource. You must enable this setting to use Amazon ECS features such
4843
- # as resource tagging.
4846
+ # resource. You must turn on this setting to use Amazon ECS features
4847
+ # such as resource tagging.
4844
4848
  #
4845
4849
  # When `awsvpcTrunking` is specified, the elastic network interface
4846
4850
  # (ENI) limit for any new container instances that support the feature
@@ -5694,7 +5698,7 @@ module Aws::ECS
5694
5698
  #
5695
5699
  # For tasks hosted on Amazon EC2 instances, the container instances
5696
5700
  # require at least version `1.26.0` of the container agent and at least
5697
- # version `1.26.0-1` of the `ecs-init` package to enable a proxy
5701
+ # version `1.26.0-1` of the `ecs-init` package to use a proxy
5698
5702
  # configuration. If your container instances are launched from the
5699
5703
  # Amazon ECS-optimized AMI version `20190301` or later, then they
5700
5704
  # contain the required versions of the container agent and `ecs-init`.
@@ -6267,7 +6271,7 @@ module Aws::ECS
6267
6271
  # cluster. You can specify up to 10 tasks for each call.
6268
6272
  #
6269
6273
  # @option params [Boolean] :enable_ecs_managed_tags
6270
- # Specifies whether to enable Amazon ECS managed tags for the task. For
6274
+ # Specifies whether to use Amazon ECS managed tags for the task. For
6271
6275
  # more information, see [Tagging Your Amazon ECS Resources][1] in the
6272
6276
  # *Amazon Elastic Container Service Developer Guide*.
6273
6277
  #
@@ -6276,7 +6280,7 @@ module Aws::ECS
6276
6280
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html
6277
6281
  #
6278
6282
  # @option params [Boolean] :enable_execute_command
6279
- # Determines whether to enable the execute command functionality for the
6283
+ # Determines whether to use the execute command functionality for the
6280
6284
  # containers in this task. If `true`, this enables execute command
6281
6285
  # functionality on all containers in the task.
6282
6286
  #
@@ -6551,7 +6555,7 @@ module Aws::ECS
6551
6555
  # },
6552
6556
  # ],
6553
6557
  # platform_version: "String",
6554
- # propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE
6558
+ # propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE, NONE
6555
6559
  # reference_id: "String",
6556
6560
  # started_by: "String",
6557
6561
  # tags: [
@@ -6704,7 +6708,7 @@ module Aws::ECS
6704
6708
  # to 10 container instances.
6705
6709
  #
6706
6710
  # @option params [Boolean] :enable_ecs_managed_tags
6707
- # Specifies whether to enable Amazon ECS managed tags for the task. For
6711
+ # Specifies whether to use Amazon ECS managed tags for the task. For
6708
6712
  # more information, see [Tagging Your Amazon ECS Resources][1] in the
6709
6713
  # *Amazon Elastic Container Service Developer Guide*.
6710
6714
  #
@@ -6859,7 +6863,7 @@ module Aws::ECS
6859
6863
  # size_in_gi_b: 1, # required
6860
6864
  # },
6861
6865
  # },
6862
- # propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE
6866
+ # propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE, NONE
6863
6867
  # reference_id: "String",
6864
6868
  # started_by: "String",
6865
6869
  # tags: [
@@ -7640,7 +7644,7 @@ module Aws::ECS
7640
7644
  #
7641
7645
  # @option params [required, Array<Types::ClusterSetting>] :settings
7642
7646
  # The setting to use by default for a cluster. This parameter is used to
7643
- # enable CloudWatch Container Insights for a cluster. If this value is
7647
+ # turn on CloudWatch Container Insights for a cluster. If this value is
7644
7648
  # specified, it overrides the `containerInsights` value set with
7645
7649
  # PutAccountSetting or PutAccountSettingDefault.
7646
7650
  #
@@ -7853,8 +7857,7 @@ module Aws::ECS
7853
7857
  # services that do not use a load balancer are considered healthy if
7854
7858
  # they're in the `RUNNING` state. Tasks for services that use a load
7855
7859
  # balancer are considered healthy if they're in the `RUNNING` state
7856
- # and the container instance they're hosted on is reported as healthy
7857
- # by the load balancer.
7860
+ # and are reported as healthy by the load balancer..
7858
7861
  #
7859
7862
  # * The `maximumPercent` parameter represents an upper limit on the
7860
7863
  # number of running tasks during task replacement. You can use this to
@@ -7982,24 +7985,28 @@ module Aws::ECS
7982
7985
  #
7983
7986
  # Modifies the parameters of a service.
7984
7987
  #
7985
- # For services using the rolling update (`ECS`) deployment controller,
7986
- # the desired count, deployment configuration, network configuration,
7987
- # task placement constraints and strategies, or task definition used can
7988
- # be updated.
7988
+ # For services using the rolling update (`ECS`) you can update the
7989
+ # desired count, the deployment configuration, the network
7990
+ # configuration, load balancers, service registries, enable ECS managed
7991
+ # tags option, propagate tags option, task placement constraints and
7992
+ # strategies, and the task definition. When you update any of these
7993
+ # parameters, Amazon ECS starts new tasks with the new configuration.
7989
7994
  #
7990
7995
  # For services using the blue/green (`CODE_DEPLOY`) deployment
7991
7996
  # controller, only the desired count, deployment configuration, task
7992
- # placement constraints and strategies, and health check grace period
7993
- # can be updated using this API. If the network configuration, platform
7994
- # version, or task definition need to be updated, a new CodeDeploy
7995
- # deployment is created. For more information, see [CreateDeployment][2]
7996
- # in the *CodeDeploy API Reference*.
7997
+ # placement constraints and strategies, enable ECS managed tags option,
7998
+ # and propagate tags can be updated using this API. If the network
7999
+ # configuration, platform version, task definition, or load balancer
8000
+ # need to be updated, create a new CodeDeploy deployment. For more
8001
+ # information, see [CreateDeployment][2] in the *CodeDeploy API
8002
+ # Reference*.
7997
8003
  #
7998
8004
  # For services using an external deployment controller, you can update
7999
- # only the desired count, task placement constraints and strategies, and
8000
- # health check grace period using this API. If the launch type, load
8005
+ # only the desired count, task placement constraints and strategies,
8006
+ # health check grace period, enable ECS managed tags option, and
8007
+ # propagate tags option, using this API. If the launch type, load
8001
8008
  # balancer, network configuration, platform version, or task definition
8002
- # need to be updated, create a new task set. For more information, see
8009
+ # need to be updated, create a new task set For more information, see
8003
8010
  # CreateTaskSet.
8004
8011
  #
8005
8012
  # You can add to or subtract from the number of instantiations of a task
@@ -8035,8 +8042,7 @@ module Aws::ECS
8035
8042
  # services that don't use a load balancer are considered healthy if
8036
8043
  # they're in the `RUNNING` state. Tasks for services that use a load
8037
8044
  # balancer are considered healthy if they're in the `RUNNING` state
8038
- # and the container instance they're hosted on is reported as healthy
8039
- # by the load balancer.
8045
+ # and are reported as healthy by the load balancer.
8040
8046
  #
8041
8047
  # * The `maximumPercent` parameter represents an upper limit on the
8042
8048
  # number of running tasks during a deployment. You can use it to
@@ -8088,10 +8094,25 @@ module Aws::ECS
8088
8094
  # Zone (based on the previous steps), favoring container instances
8089
8095
  # with the largest number of running tasks for this service.
8090
8096
  #
8097
+ # <note markdown="1"> You must have a service-linked role when you update any of the
8098
+ # following service properties. If you specified a custom IAM role when
8099
+ # you created the service, Amazon ECS automatically replaces the
8100
+ # [roleARN][3] associated with the service with the ARN of your
8101
+ # service-linked role. For more information, see [Service-linked
8102
+ # roles][4] in the *Amazon Elastic Container Service Developer Guide*.
8103
+ #
8104
+ # * `loadBalancers,`
8105
+ #
8106
+ # * `serviceRegistries`
8107
+ #
8108
+ # </note>
8109
+ #
8091
8110
  #
8092
8111
  #
8093
8112
  # [1]: https://aws.amazon.com/service-terms
8094
8113
  # [2]: https://docs.aws.amazon.com/codedeploy/latest/APIReference/API_CreateDeployment.html
8114
+ # [3]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_Service.html#ECS-Type-Service-roleArn
8115
+ # [4]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html
8095
8116
  #
8096
8117
  # @option params [String] :cluster
8097
8118
  # The short name or full Amazon Resource Name (ARN) of the cluster that
@@ -8208,6 +8229,57 @@ module Aws::ECS
8208
8229
  # If you do not want to override the value that was set when the service
8209
8230
  # was created, you can set this to `null` when performing this action.
8210
8231
  #
8232
+ # @option params [Boolean] :enable_ecs_managed_tags
8233
+ # Determines whether to turn on Amazon ECS managed tags for the tasks in
8234
+ # the service. For more information, see [Tagging Your Amazon ECS
8235
+ # Resources][1] in the *Amazon Elastic Container Service Developer
8236
+ # Guide*.
8237
+ #
8238
+ # Only tasks launched after the update will reflect the update. To
8239
+ # update the tags on all tasks, set `forceNewDeployment` to `true`, so
8240
+ # that Amazon ECS starts new tasks with the updated tags.
8241
+ #
8242
+ #
8243
+ #
8244
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html
8245
+ #
8246
+ # @option params [Array<Types::LoadBalancer>] :load_balancers
8247
+ # A list of Elastic Load Balancing load balancer objects. It contains
8248
+ # the load balancer name, the container name, and the container port to
8249
+ # access from the load balancer. The container name is as it appears in
8250
+ # a container definition.
8251
+ #
8252
+ # When you add, update, or remove a load balancer configuration, Amazon
8253
+ # ECS starts new tasks with the updated Elastic Load Balancing
8254
+ # configuration, and then stops the old tasks when the new tasks are
8255
+ # running.
8256
+ #
8257
+ # You can remove existing `loadBalancers` by passing an empty list.
8258
+ #
8259
+ # @option params [String] :propagate_tags
8260
+ # Determines whether to propagate the tags from the task definition or
8261
+ # the service to the task. If no value is specified, the tags aren't
8262
+ # propagated.
8263
+ #
8264
+ # Only tasks launched after the update will reflect the update. To
8265
+ # update the tags on all tasks, set `forceNewDeployment` to `true`, so
8266
+ # that Amazon ECS starts new tasks with the updated tags.
8267
+ #
8268
+ # @option params [Array<Types::ServiceRegistry>] :service_registries
8269
+ # The details for the service discovery registries to assign to this
8270
+ # service. For more information, see [Service Discovery][1].
8271
+ #
8272
+ # When you add, update, or remove the service registries configuration,
8273
+ # Amazon ECS starts new tasks with the updated service registries
8274
+ # configuration, and then stops the old tasks when the new tasks are
8275
+ # running.
8276
+ #
8277
+ # You can remove existing `serviceRegistries` by passing an empty list.
8278
+ #
8279
+ #
8280
+ #
8281
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html
8282
+ #
8211
8283
  # @return [Types::UpdateServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8212
8284
  #
8213
8285
  # * {Types::UpdateServiceResponse#service #service} => Types::Service
@@ -8284,6 +8356,24 @@ module Aws::ECS
8284
8356
  # force_new_deployment: false,
8285
8357
  # health_check_grace_period_seconds: 1,
8286
8358
  # enable_execute_command: false,
8359
+ # enable_ecs_managed_tags: false,
8360
+ # load_balancers: [
8361
+ # {
8362
+ # target_group_arn: "String",
8363
+ # load_balancer_name: "String",
8364
+ # container_name: "String",
8365
+ # container_port: 1,
8366
+ # },
8367
+ # ],
8368
+ # propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE, NONE
8369
+ # service_registries: [
8370
+ # {
8371
+ # registry_arn: "String",
8372
+ # port: 1,
8373
+ # container_name: "String",
8374
+ # container_port: 1,
8375
+ # },
8376
+ # ],
8287
8377
  # })
8288
8378
  #
8289
8379
  # @example Response structure
@@ -8409,7 +8499,7 @@ module Aws::ECS
8409
8499
  # resp.service.tags[0].value #=> String
8410
8500
  # resp.service.created_by #=> String
8411
8501
  # resp.service.enable_ecs_managed_tags #=> Boolean
8412
- # resp.service.propagate_tags #=> String, one of "TASK_DEFINITION", "SERVICE"
8502
+ # resp.service.propagate_tags #=> String, one of "TASK_DEFINITION", "SERVICE", "NONE"
8413
8503
  # resp.service.enable_execute_command #=> Boolean
8414
8504
  #
8415
8505
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateService AWS API Documentation
@@ -8618,7 +8708,7 @@ module Aws::ECS
8618
8708
  params: params,
8619
8709
  config: config)
8620
8710
  context[:gem_name] = 'aws-sdk-ecs'
8621
- context[:gem_version] = '1.96.0'
8711
+ context[:gem_version] = '1.97.0'
8622
8712
  Seahorse::Client::Request.new(handlers, context)
8623
8713
  end
8624
8714
 
@@ -1658,6 +1658,10 @@ module Aws::ECS
1658
1658
  UpdateServiceRequest.add_member(:force_new_deployment, Shapes::ShapeRef.new(shape: Boolean, location_name: "forceNewDeployment"))
1659
1659
  UpdateServiceRequest.add_member(:health_check_grace_period_seconds, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "healthCheckGracePeriodSeconds"))
1660
1660
  UpdateServiceRequest.add_member(:enable_execute_command, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "enableExecuteCommand"))
1661
+ UpdateServiceRequest.add_member(:enable_ecs_managed_tags, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "enableECSManagedTags"))
1662
+ UpdateServiceRequest.add_member(:load_balancers, Shapes::ShapeRef.new(shape: LoadBalancers, location_name: "loadBalancers"))
1663
+ UpdateServiceRequest.add_member(:propagate_tags, Shapes::ShapeRef.new(shape: PropagateTags, location_name: "propagateTags"))
1664
+ UpdateServiceRequest.add_member(:service_registries, Shapes::ShapeRef.new(shape: ServiceRegistries, location_name: "serviceRegistries"))
1661
1665
  UpdateServiceRequest.struct_class = Types::UpdateServiceRequest
1662
1666
 
1663
1667
  UpdateServiceResponse.add_member(:service, Shapes::ShapeRef.new(shape: Service, location_name: "service"))
@@ -77,8 +77,8 @@ module Aws::ECS
77
77
  end
78
78
 
79
79
  # An attribute is a name-value pair that's associated with an Amazon
80
- # ECS object. Attributes enable you to extend the Amazon ECS data model
81
- # by adding custom metadata to your resources. For more information, see
80
+ # ECS object. Use attributes to extend the Amazon ECS data model by
81
+ # adding custom metadata to your resources. For more information, see
82
82
  # [Attributes][1] in the *Amazon Elastic Container Service Developer
83
83
  # Guide*.
84
84
  #
@@ -748,7 +748,7 @@ module Aws::ECS
748
748
  class ClusterNotFoundException < Aws::EmptyStructure; end
749
749
 
750
750
  # The settings to use when creating a cluster. This parameter is used to
751
- # enable CloudWatch Container Insights for a cluster.
751
+ # turn on CloudWatch Container Insights for a cluster.
752
752
  #
753
753
  # @note When making an API call, you may pass ClusterSetting
754
754
  # data as a hash:
@@ -1459,7 +1459,7 @@ module Aws::ECS
1459
1459
  # reversed.
1460
1460
  #
1461
1461
  # For tasks using the EC2 launch type, the container instances require
1462
- # at least version 1.26.0 of the container agent to enable container
1462
+ # at least version 1.26.0 of the container agent to turn on container
1463
1463
  # dependencies. However, we recommend using the latest container agent
1464
1464
  # version. For information about checking your agent version and
1465
1465
  # updating to the latest version, see [Updating the Amazon ECS
@@ -1509,7 +1509,7 @@ module Aws::ECS
1509
1509
  # * Windows platform version `1.0.0` or later.
1510
1510
  #
1511
1511
  # For tasks using the EC2 launch type, your container instances
1512
- # require at least version `1.26.0` of the container agent to enable a
1512
+ # require at least version `1.26.0` of the container agent to use a
1513
1513
  # container start timeout value. However, we recommend using the
1514
1514
  # latest container agent version. For information about checking your
1515
1515
  # agent version and updating to the latest version, see [Updating the
@@ -1549,7 +1549,7 @@ module Aws::ECS
1549
1549
  # `ECS_CONTAINER_STOP_TIMEOUT` agent configuration variable are set,
1550
1550
  # then the default values of 30 seconds for Linux containers and 30
1551
1551
  # seconds on Windows containers are used. Your container instances
1552
- # require at least version 1.26.0 of the container agent to enable a
1552
+ # require at least version 1.26.0 of the container agent to use a
1553
1553
  # container stop timeout value. However, we recommend using the latest
1554
1554
  # container agent version. For information about checking your agent
1555
1555
  # version and updating to the latest version, see [Updating the Amazon
@@ -2001,7 +2001,7 @@ module Aws::ECS
2001
2001
  # defined for container startup, for container shutdown it is reversed.
2002
2002
  #
2003
2003
  # Your Amazon ECS container instances require at least version 1.26.0 of
2004
- # the container agent to enable container dependencies. However, we
2004
+ # the container agent to use container dependencies. However, we
2005
2005
  # recommend using the latest container agent version. For information
2006
2006
  # about checking your agent version and updating to the latest version,
2007
2007
  # see [Updating the Amazon ECS Container Agent][1] in the *Amazon
@@ -2618,9 +2618,9 @@ module Aws::ECS
2618
2618
  #
2619
2619
  # @!attribute [rw] settings
2620
2620
  # The setting to use when creating a cluster. This parameter is used
2621
- # to enable CloudWatch Container Insights for a cluster. If this value
2622
- # is specified, it overrides the `containerInsights` value set with
2623
- # PutAccountSetting or PutAccountSettingDefault.
2621
+ # to turn on CloudWatch Container Insights for a cluster. If this
2622
+ # value is specified, it overrides the `containerInsights` value set
2623
+ # with PutAccountSetting or PutAccountSettingDefault.
2624
2624
  # @return [Array<Types::ClusterSetting>]
2625
2625
  #
2626
2626
  # @!attribute [rw] configuration
@@ -2760,7 +2760,7 @@ module Aws::ECS
2760
2760
  # },
2761
2761
  # ],
2762
2762
  # enable_ecs_managed_tags: false,
2763
- # propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE
2763
+ # propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE, NONE
2764
2764
  # enable_execute_command: false,
2765
2765
  # }
2766
2766
  #
@@ -2812,11 +2812,8 @@ module Aws::ECS
2812
2812
  # optional listener that you can use to perform validation tests with
2813
2813
  # Lambda functions before routing production traffic to it.
2814
2814
  #
2815
- # After you create a service using the `ECS` deployment controller,
2816
- # the load balancer name or target group ARN, container name, and
2817
- # container port that's specified in the service definition are
2818
- # immutable. If you use the `CODE_DEPLOY` deployment controller, these
2819
- # values can be changed when updating the service.
2815
+ # If you use the `CODE_DEPLOY` deployment controller, these values can
2816
+ # be changed when updating the service.
2820
2817
  #
2821
2818
  # For Application Load Balancers and Network Load Balancers, this
2822
2819
  # object must contain the load balancer target group ARN, the
@@ -3004,6 +3001,10 @@ module Aws::ECS
3004
3001
  # load balancer defined and you don't specify a health check grace
3005
3002
  # period value, the default value of `0` is used.
3006
3003
  #
3004
+ # If you do not use an Elastic Load Balancing, we recomend that you
3005
+ # use the `startPeriod` in the task definition healtch check
3006
+ # parameters. For more information, see [Health check][1].
3007
+ #
3007
3008
  # If your service's tasks take a while to start and respond to
3008
3009
  # Elastic Load Balancing health checks, you can specify a health check
3009
3010
  # grace period of up to 2,147,483,647 seconds (about 69 years). During
@@ -3011,6 +3012,10 @@ module Aws::ECS
3011
3012
  # status. This grace period can prevent the service scheduler from
3012
3013
  # marking tasks as unhealthy and stopping them before they have time
3013
3014
  # to come up.
3015
+ #
3016
+ #
3017
+ #
3018
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_HealthCheck.html
3014
3019
  # @return [Integer]
3015
3020
  #
3016
3021
  # @!attribute [rw] scheduling_strategy
@@ -3085,7 +3090,7 @@ module Aws::ECS
3085
3090
  # @return [Array<Types::Tag>]
3086
3091
  #
3087
3092
  # @!attribute [rw] enable_ecs_managed_tags
3088
- # Specifies whether to enable Amazon ECS managed tags for the tasks
3093
+ # Specifies whether to turn on Amazon ECS managed tags for the tasks
3089
3094
  # within the service. For more information, see [Tagging Your Amazon
3090
3095
  # ECS Resources][1] in the *Amazon Elastic Container Service Developer
3091
3096
  # Guide*.
@@ -3808,9 +3813,9 @@ module Aws::ECS
3808
3813
  # The **deployment circuit breaker** determines whether a service
3809
3814
  # deployment will fail if the service can't reach a steady state. If
3810
3815
  # enabled, a service deployment will transition to a failed state and
3811
- # stop launching new tasks. You can also enable Amazon ECS to roll back
3812
- # your service to the last completed deployment after a failure. For
3813
- # more information, see [Rolling update][1] in the *Amazon Elastic
3816
+ # stop launching new tasks. You can also configure Amazon ECS to roll
3817
+ # back your service to the last completed deployment after a failure.
3818
+ # For more information, see [Rolling update][1] in the *Amazon Elastic
3814
3819
  # Container Service Developer Guide*.
3815
3820
  #
3816
3821
  #
@@ -3826,15 +3831,15 @@ module Aws::ECS
3826
3831
  # }
3827
3832
  #
3828
3833
  # @!attribute [rw] enable
3829
- # Determines whether to enable the deployment circuit breaker logic
3830
- # for the service.
3834
+ # Determines whether to use the deployment circuit breaker logic for
3835
+ # the service.
3831
3836
  # @return [Boolean]
3832
3837
  #
3833
3838
  # @!attribute [rw] rollback
3834
- # Determines whether to enable Amazon ECS to roll back the service if
3835
- # a service deployment fails. If rollback is enabled, when a service
3836
- # deployment fails, the service is rolled back to the last deployment
3837
- # that completed successfully.
3839
+ # Determines whether to configure Amazon ECS to roll back the service
3840
+ # if a service deployment fails. If rollback is enabled, when a
3841
+ # service deployment fails, the service is rolled back to the last
3842
+ # deployment that completed successfully.
3838
3843
  # @return [Boolean]
3839
3844
  #
3840
3845
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeploymentCircuitBreaker AWS API Documentation
@@ -4796,12 +4801,12 @@ module Aws::ECS
4796
4801
  # @return [String]
4797
4802
  #
4798
4803
  # @!attribute [rw] transit_encryption
4799
- # Determines whether to enable encryption for Amazon EFS data in
4800
- # transit between the Amazon ECS host and the Amazon EFS server.
4801
- # Transit encryption must be enabled if Amazon EFS IAM authorization
4802
- # is used. If this parameter is omitted, the default value of
4803
- # `DISABLED` is used. For more information, see [Encrypting Data in
4804
- # Transit][1] in the *Amazon Elastic File System User Guide*.
4804
+ # Determines whether to use encryption for Amazon EFS data in transit
4805
+ # between the Amazon ECS host and the Amazon EFS server. Transit
4806
+ # encryption must be enabled if Amazon EFS IAM authorization is used.
4807
+ # If this parameter is omitted, the default value of `DISABLED` is
4808
+ # used. For more information, see [Encrypting Data in Transit][1] in
4809
+ # the *Amazon Elastic File System User Guide*.
4805
4810
  #
4806
4811
  #
4807
4812
  #
@@ -4898,12 +4903,9 @@ module Aws::ECS
4898
4903
  # more information, see [Fargate task storage][1] in the *Amazon ECS
4899
4904
  # User Guide for Fargate*.
4900
4905
  #
4901
- # <note markdown="1"> This parameter is only supported for tasks hosted on Fargate using the
4902
- # following platform versions:
4903
- #
4904
- # * Linux platform version `1.4.0` or later.
4905
- #
4906
- # * Windows platform version `1.0.0` or later.
4906
+ # <note markdown="1"> This parameter is only supported for tasks hosted on Fargate using
4907
+ # Linux platform version `1.4.0` or later. This parameter is not
4908
+ # supported for Windows containers on Fargate.
4907
4909
  #
4908
4910
  # </note>
4909
4911
  #
@@ -5010,8 +5012,8 @@ module Aws::ECS
5010
5012
  # @return [String]
5011
5013
  #
5012
5014
  # @!attribute [rw] cloud_watch_encryption_enabled
5013
- # Determines whether to enable encryption on the CloudWatch logs. If
5014
- # not specified, encryption will be disabled.
5015
+ # Determines whether to use encryption on the CloudWatch logs. If not
5016
+ # specified, encryption will be disabled.
5015
5017
  # @return [Boolean]
5016
5018
  #
5017
5019
  # @!attribute [rw] s3_bucket_name
@@ -6674,6 +6676,22 @@ module Aws::ECS
6674
6676
  # balancers with services and task sets, see the CreateService and
6675
6677
  # CreateTaskSet actions.
6676
6678
  #
6679
+ # When you add, update, or remove a load blaancer configuration, Amazon
6680
+ # ECS starts a new deployment with the updated Elastic Load Balancing
6681
+ # configuration. This causes tasks to register to and deregister from
6682
+ # load balancers.
6683
+ #
6684
+ # We recommend that you verify this on a test environment before you
6685
+ # update the Elastic Load Balancing configuration.
6686
+ #
6687
+ # A service-linked role is required for services that use multiple
6688
+ # target groups. For more information, see [Service-linked roles][1] in
6689
+ # the *Amazon Elastic Container Service Developer Guide*.
6690
+ #
6691
+ #
6692
+ #
6693
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html
6694
+ #
6677
6695
  # @note When making an API call, you may pass LoadBalancer
6678
6696
  # data as a hash:
6679
6697
  #
@@ -6970,8 +6988,7 @@ module Aws::ECS
6970
6988
  # }
6971
6989
  #
6972
6990
  # @!attribute [rw] status
6973
- # Determines whether to enable managed scaling for the capacity
6974
- # provider.
6991
+ # Determines whether to use managed scaling for the capacity provider.
6975
6992
  # @return [String]
6976
6993
  #
6977
6994
  # @!attribute [rw] target_capacity
@@ -7407,7 +7424,7 @@ module Aws::ECS
7407
7424
  #
7408
7425
  # For tasks that use the EC2 launch type, the container instances
7409
7426
  # require at least version 1.26.0 of the container agent and at least
7410
- # version 1.26.0-1 of the `ecs-init` package to enable a proxy
7427
+ # version 1.26.0-1 of the `ecs-init` package to use a proxy
7411
7428
  # configuration. If your container instances are launched from the
7412
7429
  # Amazon ECS optimized AMI version `20190301` or later, then they
7413
7430
  # contain the required versions of the container agent and `ecs-init`.
@@ -8391,7 +8408,7 @@ module Aws::ECS
8391
8408
  #
8392
8409
  # For tasks hosted on Amazon EC2 instances, the container instances
8393
8410
  # require at least version `1.26.0` of the container agent and at
8394
- # least version `1.26.0-1` of the `ecs-init` package to enable a proxy
8411
+ # least version `1.26.0-1` of the `ecs-init` package to use a proxy
8395
8412
  # configuration. If your container instances are launched from the
8396
8413
  # Amazon ECS-optimized AMI version `20190301` or later, then they
8397
8414
  # contain the required versions of the container agent and `ecs-init`.
@@ -8703,7 +8720,7 @@ module Aws::ECS
8703
8720
  # },
8704
8721
  # ],
8705
8722
  # platform_version: "String",
8706
- # propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE
8723
+ # propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE, NONE
8707
8724
  # reference_id: "String",
8708
8725
  # started_by: "String",
8709
8726
  # tags: [
@@ -8742,9 +8759,9 @@ module Aws::ECS
8742
8759
  # @return [Integer]
8743
8760
  #
8744
8761
  # @!attribute [rw] enable_ecs_managed_tags
8745
- # Specifies whether to enable Amazon ECS managed tags for the task.
8746
- # For more information, see [Tagging Your Amazon ECS Resources][1] in
8747
- # the *Amazon Elastic Container Service Developer Guide*.
8762
+ # Specifies whether to use Amazon ECS managed tags for the task. For
8763
+ # more information, see [Tagging Your Amazon ECS Resources][1] in the
8764
+ # *Amazon Elastic Container Service Developer Guide*.
8748
8765
  #
8749
8766
  #
8750
8767
  #
@@ -8752,8 +8769,8 @@ module Aws::ECS
8752
8769
  # @return [Boolean]
8753
8770
  #
8754
8771
  # @!attribute [rw] enable_execute_command
8755
- # Determines whether to enable the execute command functionality for
8756
- # the containers in this task. If `true`, this enables execute command
8772
+ # Determines whether to use the execute command functionality for the
8773
+ # containers in this task. If `true`, this enables execute command
8757
8774
  # functionality on all containers in the task.
8758
8775
  # @return [Boolean]
8759
8776
  #
@@ -9063,12 +9080,23 @@ module Aws::ECS
9063
9080
  # either the full ARN of the Secrets Manager secret or the full ARN of
9064
9081
  # the parameter in the SSM Parameter Store.
9065
9082
  #
9083
+ # For information about the require Identity and Access Management
9084
+ # permissions, see [Required IAM permissions for Amazon ECS
9085
+ # secrets][1] (for Secrets Manager) or [Required IAM permissions for
9086
+ # Amazon ECS secrets][2] (for Systems Manager Parameter store) in the
9087
+ # *Amazon Elastic Container Service Developer Guide*.
9088
+ #
9066
9089
  # <note markdown="1"> If the SSM Parameter Store parameter exists in the same Region as
9067
9090
  # the task you're launching, then you can use either the full ARN or
9068
9091
  # name of the parameter. If the parameter exists in a different
9069
9092
  # Region, then the full ARN must be specified.
9070
9093
  #
9071
9094
  # </note>
9095
+ #
9096
+ #
9097
+ #
9098
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data-secrets.html#secrets-iam
9099
+ # [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data-parameters.html
9072
9100
  # @return [String]
9073
9101
  #
9074
9102
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Secret AWS API Documentation
@@ -9257,7 +9285,7 @@ module Aws::ECS
9257
9285
  # placement decisions.
9258
9286
  #
9259
9287
  # * `DAEMON`-The daemon scheduling strategy deploys exactly one task
9260
- # on each active container instance. This taskmeets all of the task
9288
+ # on each active container instance. This task meets all of the task
9261
9289
  # placement constraints that you specify in your cluster. The
9262
9290
  # service scheduler also evaluates the task placement constraints
9263
9291
  # for running tasks. It stop tasks that don't meet the placement
@@ -9314,8 +9342,8 @@ module Aws::ECS
9314
9342
  # @return [String]
9315
9343
  #
9316
9344
  # @!attribute [rw] enable_ecs_managed_tags
9317
- # Determines whether to enable Amazon ECS managed tags for the tasks
9318
- # in the service. For more information, see [Tagging Your Amazon ECS
9345
+ # Determines whether to use Amazon ECS managed tags for the tasks in
9346
+ # the service. For more information, see [Tagging Your Amazon ECS
9319
9347
  # Resources][1] in the *Amazon Elastic Container Service Developer
9320
9348
  # Guide*.
9321
9349
  #
@@ -9416,6 +9444,13 @@ module Aws::ECS
9416
9444
 
9417
9445
  # The details for the service registry.
9418
9446
  #
9447
+ # Each service may be associated with one service registry. Multiple
9448
+ # service registries for each service are not supported.
9449
+ #
9450
+ # When you add, update, or remove the service registries configuration,
9451
+ # Amazon ECS starts a new deployment. New tasks are registered and
9452
+ # deregistered to the updated service registry configuration.
9453
+ #
9419
9454
  # @note When making an API call, you may pass ServiceRegistry
9420
9455
  # data as a hash:
9421
9456
  #
@@ -9484,7 +9519,7 @@ module Aws::ECS
9484
9519
  # @return [String]
9485
9520
  #
9486
9521
  # @!attribute [rw] stream_url
9487
- # A URL back to managed agent on the container that the SSM Session
9522
+ # A URL to the managed agent on the container that the SSM Session
9488
9523
  # Manager client uses to send commands and receive output from the
9489
9524
  # container.
9490
9525
  # @return [String]
@@ -9589,7 +9624,7 @@ module Aws::ECS
9589
9624
  # size_in_gi_b: 1, # required
9590
9625
  # },
9591
9626
  # },
9592
- # propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE
9627
+ # propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE, NONE
9593
9628
  # reference_id: "String",
9594
9629
  # started_by: "String",
9595
9630
  # tags: [
@@ -9614,9 +9649,9 @@ module Aws::ECS
9614
9649
  # @return [Array<String>]
9615
9650
  #
9616
9651
  # @!attribute [rw] enable_ecs_managed_tags
9617
- # Specifies whether to enable Amazon ECS managed tags for the task.
9618
- # For more information, see [Tagging Your Amazon ECS Resources][1] in
9619
- # the *Amazon Elastic Container Service Developer Guide*.
9652
+ # Specifies whether to use Amazon ECS managed tags for the task. For
9653
+ # more information, see [Tagging Your Amazon ECS Resources][1] in the
9654
+ # *Amazon Elastic Container Service Developer Guide*.
9620
9655
  #
9621
9656
  #
9622
9657
  #
@@ -10456,6 +10491,20 @@ module Aws::ECS
10456
10491
  # @!attribute [rw] stop_code
10457
10492
  # The stop code indicating why a task was stopped. The `stoppedReason`
10458
10493
  # might contain additional details.
10494
+ #
10495
+ # The following are valid values:
10496
+ #
10497
+ # * `TaskFailedToStart`
10498
+ #
10499
+ # * `EssentialContainerExited`
10500
+ #
10501
+ # * `UserInitiated`
10502
+ #
10503
+ # * `TerminationNotice`
10504
+ #
10505
+ # * `ServiceSchedulerInitiated`
10506
+ #
10507
+ # * `SpotInterruption`
10459
10508
  # @return [String]
10460
10509
  #
10461
10510
  # @!attribute [rw] stopped_at
@@ -10898,12 +10947,12 @@ module Aws::ECS
10898
10947
  #
10899
10948
  # Your Amazon ECS container instances require at least version 1.26.0
10900
10949
  # of the container agent and at least version 1.26.0-1 of the
10901
- # `ecs-init` package to enable a proxy configuration. If your
10902
- # container instances are launched from the Amazon ECS optimized AMI
10903
- # version `20190301` or later, they contain the required versions of
10904
- # the container agent and `ecs-init`. For more information, see
10905
- # [Amazon ECS-optimized Linux AMI][1] in the *Amazon Elastic Container
10906
- # Service Developer Guide*.
10950
+ # `ecs-init` package to use a proxy configuration. If your container
10951
+ # instances are launched from the Amazon ECS optimized AMI version
10952
+ # `20190301` or later, they contain the required versions of the
10953
+ # container agent and `ecs-init`. For more information, see [Amazon
10954
+ # ECS-optimized Linux AMI][1] in the *Amazon Elastic Container Service
10955
+ # Developer Guide*.
10907
10956
  #
10908
10957
  #
10909
10958
  #
@@ -11606,9 +11655,9 @@ module Aws::ECS
11606
11655
  #
11607
11656
  # @!attribute [rw] settings
11608
11657
  # The setting to use by default for a cluster. This parameter is used
11609
- # to enable CloudWatch Container Insights for a cluster. If this value
11610
- # is specified, it overrides the `containerInsights` value set with
11611
- # PutAccountSetting or PutAccountSettingDefault.
11658
+ # to turn on CloudWatch Container Insights for a cluster. If this
11659
+ # value is specified, it overrides the `containerInsights` value set
11660
+ # with PutAccountSetting or PutAccountSettingDefault.
11612
11661
  # @return [Array<Types::ClusterSetting>]
11613
11662
  #
11614
11663
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateClusterSettingsRequest AWS API Documentation
@@ -11775,7 +11824,7 @@ module Aws::ECS
11775
11824
  end
11776
11825
 
11777
11826
  # @!attribute [rw] task_set
11778
- # Details about the task set.
11827
+ # etails about the task set.
11779
11828
  # @return [Types::TaskSet]
11780
11829
  #
11781
11830
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateServicePrimaryTaskSetResponse AWS API Documentation
@@ -11832,6 +11881,24 @@ module Aws::ECS
11832
11881
  # force_new_deployment: false,
11833
11882
  # health_check_grace_period_seconds: 1,
11834
11883
  # enable_execute_command: false,
11884
+ # enable_ecs_managed_tags: false,
11885
+ # load_balancers: [
11886
+ # {
11887
+ # target_group_arn: "String",
11888
+ # load_balancer_name: "String",
11889
+ # container_name: "String",
11890
+ # container_port: 1,
11891
+ # },
11892
+ # ],
11893
+ # propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE, NONE
11894
+ # service_registries: [
11895
+ # {
11896
+ # registry_arn: "String",
11897
+ # port: 1,
11898
+ # container_name: "String",
11899
+ # container_port: 1,
11900
+ # },
11901
+ # ],
11835
11902
  # }
11836
11903
  #
11837
11904
  # @!attribute [rw] cluster
@@ -11969,6 +12036,62 @@ module Aws::ECS
11969
12036
  # action.
11970
12037
  # @return [Boolean]
11971
12038
  #
12039
+ # @!attribute [rw] enable_ecs_managed_tags
12040
+ # Determines whether to turn on Amazon ECS managed tags for the tasks
12041
+ # in the service. For more information, see [Tagging Your Amazon ECS
12042
+ # Resources][1] in the *Amazon Elastic Container Service Developer
12043
+ # Guide*.
12044
+ #
12045
+ # Only tasks launched after the update will reflect the update. To
12046
+ # update the tags on all tasks, set `forceNewDeployment` to `true`, so
12047
+ # that Amazon ECS starts new tasks with the updated tags.
12048
+ #
12049
+ #
12050
+ #
12051
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html
12052
+ # @return [Boolean]
12053
+ #
12054
+ # @!attribute [rw] load_balancers
12055
+ # A list of Elastic Load Balancing load balancer objects. It contains
12056
+ # the load balancer name, the container name, and the container port
12057
+ # to access from the load balancer. The container name is as it
12058
+ # appears in a container definition.
12059
+ #
12060
+ # When you add, update, or remove a load balancer configuration,
12061
+ # Amazon ECS starts new tasks with the updated Elastic Load Balancing
12062
+ # configuration, and then stops the old tasks when the new tasks are
12063
+ # running.
12064
+ #
12065
+ # You can remove existing `loadBalancers` by passing an empty list.
12066
+ # @return [Array<Types::LoadBalancer>]
12067
+ #
12068
+ # @!attribute [rw] propagate_tags
12069
+ # Determines whether to propagate the tags from the task definition or
12070
+ # the service to the task. If no value is specified, the tags aren't
12071
+ # propagated.
12072
+ #
12073
+ # Only tasks launched after the update will reflect the update. To
12074
+ # update the tags on all tasks, set `forceNewDeployment` to `true`, so
12075
+ # that Amazon ECS starts new tasks with the updated tags.
12076
+ # @return [String]
12077
+ #
12078
+ # @!attribute [rw] service_registries
12079
+ # The details for the service discovery registries to assign to this
12080
+ # service. For more information, see [Service Discovery][1].
12081
+ #
12082
+ # When you add, update, or remove the service registries
12083
+ # configuration, Amazon ECS starts new tasks with the updated service
12084
+ # registries configuration, and then stops the old tasks when the new
12085
+ # tasks are running.
12086
+ #
12087
+ # You can remove existing `serviceRegistries` by passing an empty
12088
+ # list.
12089
+ #
12090
+ #
12091
+ #
12092
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html
12093
+ # @return [Array<Types::ServiceRegistry>]
12094
+ #
11972
12095
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateServiceRequest AWS API Documentation
11973
12096
  #
11974
12097
  class UpdateServiceRequest < Struct.new(
@@ -11984,7 +12107,11 @@ module Aws::ECS
11984
12107
  :platform_version,
11985
12108
  :force_new_deployment,
11986
12109
  :health_check_grace_period_seconds,
11987
- :enable_execute_command)
12110
+ :enable_execute_command,
12111
+ :enable_ecs_managed_tags,
12112
+ :load_balancers,
12113
+ :propagate_tags,
12114
+ :service_registries)
11988
12115
  SENSITIVE = []
11989
12116
  include Aws::Structure
11990
12117
  end
data/lib/aws-sdk-ecs.rb CHANGED
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-ecs/customizations'
49
49
  # @!group service
50
50
  module Aws::ECS
51
51
 
52
- GEM_VERSION = '1.96.0'
52
+ GEM_VERSION = '1.97.0'
53
53
 
54
54
  end
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.96.0
4
+ version: 1.97.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: 2022-02-24 00:00:00.000000000 Z
11
+ date: 2022-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core