aws-sdk-ecs 1.168.0 → 1.170.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 07443fff18cd165b8dcb9e81f7c8f9164ad50ba27aec5bca8a030d773146313c
4
- data.tar.gz: 207e30eb645f8ede7155295129fa87d130c894c1833cf5c5748bdb58b23ccf00
3
+ metadata.gz: d5ba3a8adb0ca2a0cbe572d3c5316851447e9cf94c082b8962079a660961bb16
4
+ data.tar.gz: 2b8d641cf8f3efe8640f04c071bd6b54efc5f4c09777310122b219602abd203c
5
5
  SHA512:
6
- metadata.gz: 84c6c9bfa89749d652ccee47d719f7a646398034b09b2d464e861c626f44b94a42fdfcb74fa14654df874b161cebf8cdc9481c4e418ca7f2e18593b95e89137c
7
- data.tar.gz: 10144105ede09bf2085b6b24dd818a65ff52fc7084733d04b92055b46974103afe2b37f3d36ffc101209836bf735bcb955802a102a1e34444c2ffcf9eca8822e
6
+ metadata.gz: 3a897493042c405f4f6a354741bfe3ce5242483221053021cbc2f8b9a36b66b02d89d436e49255a1082a72234142651a772465595140fbd28daed83fa695134d
7
+ data.tar.gz: fe995a23ea6e9eeca1637f7361225817c561dafeb4d2debfda75ae375a55b3d410d22fe0e47fc4b24cae7570eb46401db44f9c4545fdadd9e88b271087e3705b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.170.0 (2024-11-20)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for the Availability Zone rebalancing feature on Amazon ECS.
8
+
9
+ 1.169.0 (2024-11-19)
10
+ ------------------
11
+
12
+ * Feature - This release introduces support for configuring the version consistency feature for individual containers defined within a task definition. The configuration allows to specify whether ECS should resolve the container image tag specified in the container definition to an image digest.
13
+
4
14
  1.168.0 (2024-11-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.168.0
1
+ 1.170.0
@@ -972,6 +972,18 @@ module Aws::ECS
972
972
  #
973
973
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html
974
974
  #
975
+ # @option params [String] :availability_zone_rebalancing
976
+ # Indicates whether to use Availability Zone rebalancing for the
977
+ # service.
978
+ #
979
+ # For more information, see [Balancing an Amazon ECS service across
980
+ # Availability Zones][1] in the *Amazon Elastic Container Service
981
+ # Developer Guide*.
982
+ #
983
+ #
984
+ #
985
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html
986
+ #
975
987
  # @option params [Array<Types::LoadBalancer>] :load_balancers
976
988
  # A load balancer object representing the load balancers to use with
977
989
  # your service. For more information, see [Service load balancing][1] in
@@ -1432,6 +1444,7 @@ module Aws::ECS
1432
1444
  # cluster: "String",
1433
1445
  # service_name: "String", # required
1434
1446
  # task_definition: "String",
1447
+ # availability_zone_rebalancing: "ENABLED", # accepts ENABLED, DISABLED
1435
1448
  # load_balancers: [
1436
1449
  # {
1437
1450
  # target_group_arn: "String",
@@ -1758,6 +1771,7 @@ module Aws::ECS
1758
1771
  # resp.service.enable_ecs_managed_tags #=> Boolean
1759
1772
  # resp.service.propagate_tags #=> String, one of "TASK_DEFINITION", "SERVICE", "NONE"
1760
1773
  # resp.service.enable_execute_command #=> Boolean
1774
+ # resp.service.availability_zone_rebalancing #=> String, one of "ENABLED", "DISABLED"
1761
1775
  #
1762
1776
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateService AWS API Documentation
1763
1777
  #
@@ -2175,13 +2189,14 @@ module Aws::ECS
2175
2189
  # transitioned to use the capacity from the remaining capacity
2176
2190
  # providers. Only capacity providers that aren't associated with a
2177
2191
  # cluster can be deleted. To remove a capacity provider from a cluster,
2178
- # you can either use [PutCapacityProviderProviders][1] or delete the
2192
+ # you can either use [PutClusterCapacityProviders][3] or delete the
2179
2193
  # cluster.
2180
2194
  #
2181
2195
  #
2182
2196
  #
2183
2197
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutCapacityProviderProviders.html
2184
2198
  # [2]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_UpdateService.html
2199
+ # [3]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutClusterCapacityProviders.html
2185
2200
  #
2186
2201
  # @option params [required, String] :capacity_provider
2187
2202
  # The short name or full Amazon Resource Name (ARN) of the capacity
@@ -2573,6 +2588,7 @@ module Aws::ECS
2573
2588
  # resp.service.enable_ecs_managed_tags #=> Boolean
2574
2589
  # resp.service.propagate_tags #=> String, one of "TASK_DEFINITION", "SERVICE", "NONE"
2575
2590
  # resp.service.enable_execute_command #=> Boolean
2591
+ # resp.service.availability_zone_rebalancing #=> String, one of "ENABLED", "DISABLED"
2576
2592
  #
2577
2593
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteService AWS API Documentation
2578
2594
  #
@@ -2701,6 +2717,7 @@ module Aws::ECS
2701
2717
  # resp.task_definitions[0].container_definitions[0].depends_on[0].condition #=> String, one of "START", "COMPLETE", "SUCCESS", "HEALTHY"
2702
2718
  # resp.task_definitions[0].container_definitions[0].start_timeout #=> Integer
2703
2719
  # resp.task_definitions[0].container_definitions[0].stop_timeout #=> Integer
2720
+ # resp.task_definitions[0].container_definitions[0].version_consistency #=> String, one of "enabled", "disabled"
2704
2721
  # resp.task_definitions[0].container_definitions[0].hostname #=> String
2705
2722
  # resp.task_definitions[0].container_definitions[0].user #=> String
2706
2723
  # resp.task_definitions[0].container_definitions[0].working_directory #=> String
@@ -3162,6 +3179,7 @@ module Aws::ECS
3162
3179
  # resp.task_definition.container_definitions[0].depends_on[0].condition #=> String, one of "START", "COMPLETE", "SUCCESS", "HEALTHY"
3163
3180
  # resp.task_definition.container_definitions[0].start_timeout #=> Integer
3164
3181
  # resp.task_definition.container_definitions[0].stop_timeout #=> Integer
3182
+ # resp.task_definition.container_definitions[0].version_consistency #=> String, one of "enabled", "disabled"
3165
3183
  # resp.task_definition.container_definitions[0].hostname #=> String
3166
3184
  # resp.task_definition.container_definitions[0].user #=> String
3167
3185
  # resp.task_definition.container_definitions[0].working_directory #=> String
@@ -4143,6 +4161,7 @@ module Aws::ECS
4143
4161
  # resp.services[0].enable_ecs_managed_tags #=> Boolean
4144
4162
  # resp.services[0].propagate_tags #=> String, one of "TASK_DEFINITION", "SERVICE", "NONE"
4145
4163
  # resp.services[0].enable_execute_command #=> Boolean
4164
+ # resp.services[0].availability_zone_rebalancing #=> String, one of "ENABLED", "DISABLED"
4146
4165
  # resp.failures #=> Array
4147
4166
  # resp.failures[0].arn #=> String
4148
4167
  # resp.failures[0].reason #=> String
@@ -4325,6 +4344,7 @@ module Aws::ECS
4325
4344
  # resp.task_definition.container_definitions[0].depends_on[0].condition #=> String, one of "START", "COMPLETE", "SUCCESS", "HEALTHY"
4326
4345
  # resp.task_definition.container_definitions[0].start_timeout #=> Integer
4327
4346
  # resp.task_definition.container_definitions[0].stop_timeout #=> Integer
4347
+ # resp.task_definition.container_definitions[0].version_consistency #=> String, one of "enabled", "disabled"
4328
4348
  # resp.task_definition.container_definitions[0].hostname #=> String
4329
4349
  # resp.task_definition.container_definitions[0].user #=> String
4330
4350
  # resp.task_definition.container_definitions[0].working_directory #=> String
@@ -7298,6 +7318,7 @@ module Aws::ECS
7298
7318
  # ],
7299
7319
  # start_timeout: 1,
7300
7320
  # stop_timeout: 1,
7321
+ # version_consistency: "enabled", # accepts enabled, disabled
7301
7322
  # hostname: "String",
7302
7323
  # user: "String",
7303
7324
  # working_directory: "String",
@@ -7512,6 +7533,7 @@ module Aws::ECS
7512
7533
  # resp.task_definition.container_definitions[0].depends_on[0].condition #=> String, one of "START", "COMPLETE", "SUCCESS", "HEALTHY"
7513
7534
  # resp.task_definition.container_definitions[0].start_timeout #=> Integer
7514
7535
  # resp.task_definition.container_definitions[0].stop_timeout #=> Integer
7536
+ # resp.task_definition.container_definitions[0].version_consistency #=> String, one of "enabled", "disabled"
7515
7537
  # resp.task_definition.container_definitions[0].hostname #=> String
7516
7538
  # resp.task_definition.container_definitions[0].user #=> String
7517
7539
  # resp.task_definition.container_definitions[0].working_directory #=> String
@@ -9858,6 +9880,18 @@ module Aws::ECS
9858
9880
  # Optional deployment parameters that control how many tasks run during
9859
9881
  # the deployment and the ordering of stopping and starting tasks.
9860
9882
  #
9883
+ # @option params [String] :availability_zone_rebalancing
9884
+ # Indicates whether to use Availability Zone rebalancing for the
9885
+ # service.
9886
+ #
9887
+ # For more information, see [Balancing an Amazon ECS service across
9888
+ # Availability Zones][1] in the *Amazon Elastic Container Service
9889
+ # Developer Guide*.
9890
+ #
9891
+ #
9892
+ #
9893
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html
9894
+ #
9861
9895
  # @option params [Types::NetworkConfiguration] :network_configuration
9862
9896
  # An object representing the network configuration for the service.
9863
9897
  #
@@ -10088,6 +10122,7 @@ module Aws::ECS
10088
10122
  # enable: false, # required
10089
10123
  # },
10090
10124
  # },
10125
+ # availability_zone_rebalancing: "ENABLED", # accepts ENABLED, DISABLED
10091
10126
  # network_configuration: {
10092
10127
  # awsvpc_configuration: {
10093
10128
  # subnets: ["String"], # required
@@ -10381,6 +10416,7 @@ module Aws::ECS
10381
10416
  # resp.service.enable_ecs_managed_tags #=> Boolean
10382
10417
  # resp.service.propagate_tags #=> String, one of "TASK_DEFINITION", "SERVICE", "NONE"
10383
10418
  # resp.service.enable_execute_command #=> Boolean
10419
+ # resp.service.availability_zone_rebalancing #=> String, one of "ENABLED", "DISABLED"
10384
10420
  #
10385
10421
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateService AWS API Documentation
10386
10422
  #
@@ -10767,7 +10803,7 @@ module Aws::ECS
10767
10803
  tracer: tracer
10768
10804
  )
10769
10805
  context[:gem_name] = 'aws-sdk-ecs'
10770
- context[:gem_version] = '1.168.0'
10806
+ context[:gem_version] = '1.170.0'
10771
10807
  Seahorse::Client::Request.new(handlers, context)
10772
10808
  end
10773
10809
 
@@ -28,6 +28,7 @@ module Aws::ECS
28
28
  Attributes = Shapes::ListShape.new(name: 'Attributes')
29
29
  AutoScalingGroupProvider = Shapes::StructureShape.new(name: 'AutoScalingGroupProvider')
30
30
  AutoScalingGroupProviderUpdate = Shapes::StructureShape.new(name: 'AutoScalingGroupProviderUpdate')
31
+ AvailabilityZoneRebalancing = Shapes::StringShape.new(name: 'AvailabilityZoneRebalancing')
31
32
  AwsVpcConfiguration = Shapes::StructureShape.new(name: 'AwsVpcConfiguration')
32
33
  BlockedException = Shapes::StructureShape.new(name: 'BlockedException')
33
34
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
@@ -434,6 +435,7 @@ module Aws::ECS
434
435
  UpdateTaskProtectionResponse = Shapes::StructureShape.new(name: 'UpdateTaskProtectionResponse')
435
436
  UpdateTaskSetRequest = Shapes::StructureShape.new(name: 'UpdateTaskSetRequest')
436
437
  UpdateTaskSetResponse = Shapes::StructureShape.new(name: 'UpdateTaskSetResponse')
438
+ VersionConsistency = Shapes::StringShape.new(name: 'VersionConsistency')
437
439
  VersionInfo = Shapes::StructureShape.new(name: 'VersionInfo')
438
440
  Volume = Shapes::StructureShape.new(name: 'Volume')
439
441
  VolumeFrom = Shapes::StructureShape.new(name: 'VolumeFrom')
@@ -602,6 +604,7 @@ module Aws::ECS
602
604
  ContainerDefinition.add_member(:depends_on, Shapes::ShapeRef.new(shape: ContainerDependencies, location_name: "dependsOn"))
603
605
  ContainerDefinition.add_member(:start_timeout, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "startTimeout"))
604
606
  ContainerDefinition.add_member(:stop_timeout, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "stopTimeout"))
607
+ ContainerDefinition.add_member(:version_consistency, Shapes::ShapeRef.new(shape: VersionConsistency, location_name: "versionConsistency"))
605
608
  ContainerDefinition.add_member(:hostname, Shapes::ShapeRef.new(shape: String, location_name: "hostname"))
606
609
  ContainerDefinition.add_member(:user, Shapes::ShapeRef.new(shape: String, location_name: "user"))
607
610
  ContainerDefinition.add_member(:working_directory, Shapes::ShapeRef.new(shape: String, location_name: "workingDirectory"))
@@ -720,6 +723,7 @@ module Aws::ECS
720
723
  CreateServiceRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
721
724
  CreateServiceRequest.add_member(:service_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "serviceName"))
722
725
  CreateServiceRequest.add_member(:task_definition, Shapes::ShapeRef.new(shape: String, location_name: "taskDefinition"))
726
+ CreateServiceRequest.add_member(:availability_zone_rebalancing, Shapes::ShapeRef.new(shape: AvailabilityZoneRebalancing, location_name: "availabilityZoneRebalancing"))
723
727
  CreateServiceRequest.add_member(:load_balancers, Shapes::ShapeRef.new(shape: LoadBalancers, location_name: "loadBalancers"))
724
728
  CreateServiceRequest.add_member(:service_registries, Shapes::ShapeRef.new(shape: ServiceRegistries, location_name: "serviceRegistries"))
725
729
  CreateServiceRequest.add_member(:desired_count, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "desiredCount"))
@@ -1544,6 +1548,7 @@ module Aws::ECS
1544
1548
  Service.add_member(:enable_ecs_managed_tags, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableECSManagedTags"))
1545
1549
  Service.add_member(:propagate_tags, Shapes::ShapeRef.new(shape: PropagateTags, location_name: "propagateTags"))
1546
1550
  Service.add_member(:enable_execute_command, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableExecuteCommand"))
1551
+ Service.add_member(:availability_zone_rebalancing, Shapes::ShapeRef.new(shape: AvailabilityZoneRebalancing, location_name: "availabilityZoneRebalancing"))
1547
1552
  Service.struct_class = Types::Service
1548
1553
 
1549
1554
  ServiceConnectClientAlias.add_member(:port, Shapes::ShapeRef.new(shape: PortNumber, required: true, location_name: "port"))
@@ -2032,6 +2037,7 @@ module Aws::ECS
2032
2037
  UpdateServiceRequest.add_member(:task_definition, Shapes::ShapeRef.new(shape: String, location_name: "taskDefinition"))
2033
2038
  UpdateServiceRequest.add_member(:capacity_provider_strategy, Shapes::ShapeRef.new(shape: CapacityProviderStrategy, location_name: "capacityProviderStrategy"))
2034
2039
  UpdateServiceRequest.add_member(:deployment_configuration, Shapes::ShapeRef.new(shape: DeploymentConfiguration, location_name: "deploymentConfiguration"))
2040
+ UpdateServiceRequest.add_member(:availability_zone_rebalancing, Shapes::ShapeRef.new(shape: AvailabilityZoneRebalancing, location_name: "availabilityZoneRebalancing"))
2035
2041
  UpdateServiceRequest.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration"))
2036
2042
  UpdateServiceRequest.add_member(:placement_constraints, Shapes::ShapeRef.new(shape: PlacementConstraints, location_name: "placementConstraints"))
2037
2043
  UpdateServiceRequest.add_member(:placement_strategy, Shapes::ShapeRef.new(shape: PlacementStrategies, location_name: "placementStrategy"))
@@ -1500,6 +1500,21 @@ module Aws::ECS
1500
1500
  # [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html
1501
1501
  # @return [Integer]
1502
1502
  #
1503
+ # @!attribute [rw] version_consistency
1504
+ # Specifies whether Amazon ECS will resolve the container image tag
1505
+ # provided in the container definition to an image digest. By default,
1506
+ # the value is `enabled`. If you set the value for a container as
1507
+ # `disabled`, Amazon ECS will not resolve the provided container image
1508
+ # tag to a digest and will use the original image URI specified in the
1509
+ # container definition for deployment. For more information about
1510
+ # container image resolution, see [Container image resolution][1] in
1511
+ # the *Amazon ECS Developer Guide*.
1512
+ #
1513
+ #
1514
+ #
1515
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html#deployment-container-image-stability
1516
+ # @return [String]
1517
+ #
1503
1518
  # @!attribute [rw] hostname
1504
1519
  # The hostname to use for your container. This parameter maps to
1505
1520
  # `Hostname` in the docker container create command and the
@@ -1842,6 +1857,7 @@ module Aws::ECS
1842
1857
  :depends_on,
1843
1858
  :start_timeout,
1844
1859
  :stop_timeout,
1860
+ :version_consistency,
1845
1861
  :hostname,
1846
1862
  :user,
1847
1863
  :working_directory,
@@ -2608,6 +2624,19 @@ module Aws::ECS
2608
2624
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html
2609
2625
  # @return [String]
2610
2626
  #
2627
+ # @!attribute [rw] availability_zone_rebalancing
2628
+ # Indicates whether to use Availability Zone rebalancing for the
2629
+ # service.
2630
+ #
2631
+ # For more information, see [Balancing an Amazon ECS service across
2632
+ # Availability Zones][1] in the *Amazon Elastic Container Service
2633
+ # Developer Guide*.
2634
+ #
2635
+ #
2636
+ #
2637
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html
2638
+ # @return [String]
2639
+ #
2611
2640
  # @!attribute [rw] load_balancers
2612
2641
  # A load balancer object representing the load balancers to use with
2613
2642
  # your service. For more information, see [Service load balancing][1]
@@ -2975,6 +3004,7 @@ module Aws::ECS
2975
3004
  :cluster,
2976
3005
  :service_name,
2977
3006
  :task_definition,
3007
+ :availability_zone_rebalancing,
2978
3008
  :load_balancers,
2979
3009
  :service_registries,
2980
3010
  :desired_count,
@@ -3907,13 +3937,7 @@ module Aws::ECS
3907
3937
  include Aws::Structure
3908
3938
  end
3909
3939
 
3910
- # The deployment controller to use for the service. For more
3911
- # information, see [Amazon ECS deployment types][1] in the *Amazon
3912
- # Elastic Container Service Developer Guide*.
3913
- #
3914
- #
3915
- #
3916
- # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html
3940
+ # The deployment controller to use for the service.
3917
3941
  #
3918
3942
  # @!attribute [rw] type
3919
3943
  # The deployment controller type to use.
@@ -3930,6 +3954,10 @@ module Aws::ECS
3930
3954
  # service deployment, as specified in the
3931
3955
  # [DeploymentConfiguration][1].
3932
3956
  #
3957
+ # For more information about rolling deployments, see [Deploy Amazon
3958
+ # ECS services by replacing tasks][2] in the *Amazon Elastic
3959
+ # Container Service Developer Guide*.
3960
+ #
3933
3961
  # CODE\_DEPLOY
3934
3962
  #
3935
3963
  # : The blue/green (`CODE_DEPLOY`) deployment type uses the blue/green
@@ -3937,15 +3965,26 @@ module Aws::ECS
3937
3965
  # a new deployment of a service before sending production traffic to
3938
3966
  # it.
3939
3967
  #
3968
+ # For more information about blue/green deployments, see [Validate
3969
+ # the state of an Amazon ECS service before deployment ][3] in the
3970
+ # *Amazon Elastic Container Service Developer Guide*.
3971
+ #
3940
3972
  # EXTERNAL
3941
3973
  #
3942
3974
  # : The external (`EXTERNAL`) deployment type enables you to use any
3943
3975
  # third-party deployment controller for full control over the
3944
3976
  # deployment process for an Amazon ECS service.
3945
3977
  #
3978
+ # For more information about external deployments, see [Deploy
3979
+ # Amazon ECS services using a third-party controller ][4] in the
3980
+ # *Amazon Elastic Container Service Developer Guide*.
3981
+ #
3946
3982
  #
3947
3983
  #
3948
3984
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeploymentConfiguration.html
3985
+ # [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html
3986
+ # [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-bluegreen.html
3987
+ # [4]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-external.html
3949
3988
  # @return [String]
3950
3989
  #
3951
3990
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeploymentController AWS API Documentation
@@ -9487,6 +9526,19 @@ module Aws::ECS
9487
9526
  # turned on for all containers in tasks as part of the service.
9488
9527
  # @return [Boolean]
9489
9528
  #
9529
+ # @!attribute [rw] availability_zone_rebalancing
9530
+ # Indicates whether to use Availability Zone rebalancing for the
9531
+ # service.
9532
+ #
9533
+ # For more information, see [Balancing an Amazon ECS service across
9534
+ # Availability Zones][1] in the *Amazon Elastic Container Service
9535
+ # Developer Guide*.
9536
+ #
9537
+ #
9538
+ #
9539
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html
9540
+ # @return [String]
9541
+ #
9490
9542
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Service AWS API Documentation
9491
9543
  #
9492
9544
  class Service < Struct.new(
@@ -9520,7 +9572,8 @@ module Aws::ECS
9520
9572
  :created_by,
9521
9573
  :enable_ecs_managed_tags,
9522
9574
  :propagate_tags,
9523
- :enable_execute_command)
9575
+ :enable_execute_command,
9576
+ :availability_zone_rebalancing)
9524
9577
  SENSITIVE = []
9525
9578
  include Aws::Structure
9526
9579
  end
@@ -13133,6 +13186,19 @@ module Aws::ECS
13133
13186
  # tasks.
13134
13187
  # @return [Types::DeploymentConfiguration]
13135
13188
  #
13189
+ # @!attribute [rw] availability_zone_rebalancing
13190
+ # Indicates whether to use Availability Zone rebalancing for the
13191
+ # service.
13192
+ #
13193
+ # For more information, see [Balancing an Amazon ECS service across
13194
+ # Availability Zones][1] in the *Amazon Elastic Container Service
13195
+ # Developer Guide*.
13196
+ #
13197
+ #
13198
+ #
13199
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html
13200
+ # @return [String]
13201
+ #
13136
13202
  # @!attribute [rw] network_configuration
13137
13203
  # An object representing the network configuration for the service.
13138
13204
  # @return [Types::NetworkConfiguration]
@@ -13334,6 +13400,7 @@ module Aws::ECS
13334
13400
  :task_definition,
13335
13401
  :capacity_provider_strategy,
13336
13402
  :deployment_configuration,
13403
+ :availability_zone_rebalancing,
13337
13404
  :network_configuration,
13338
13405
  :placement_constraints,
13339
13406
  :placement_strategy,
data/lib/aws-sdk-ecs.rb CHANGED
@@ -55,7 +55,7 @@ module Aws::ECS
55
55
  autoload :EndpointProvider, 'aws-sdk-ecs/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-ecs/endpoints'
57
57
 
58
- GEM_VERSION = '1.168.0'
58
+ GEM_VERSION = '1.170.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -163,6 +163,7 @@ module Aws
163
163
  ?cluster: ::String,
164
164
  service_name: ::String,
165
165
  ?task_definition: ::String,
166
+ ?availability_zone_rebalancing: ("ENABLED" | "DISABLED"),
166
167
  ?load_balancers: Array[
167
168
  {
168
169
  target_group_arn: ::String?,
@@ -1008,6 +1009,7 @@ module Aws
1008
1009
  ]?,
1009
1010
  start_timeout: ::Integer?,
1010
1011
  stop_timeout: ::Integer?,
1012
+ version_consistency: ("enabled" | "disabled")?,
1011
1013
  hostname: ::String?,
1012
1014
  user: ::String?,
1013
1015
  working_directory: ::String?,
@@ -1634,6 +1636,7 @@ module Aws
1634
1636
  enable: bool
1635
1637
  }?
1636
1638
  },
1639
+ ?availability_zone_rebalancing: ("ENABLED" | "DISABLED"),
1637
1640
  ?network_configuration: {
1638
1641
  awsvpc_configuration: {
1639
1642
  subnets: Array[::String],
data/sig/types.rbs CHANGED
@@ -186,6 +186,7 @@ module Aws::ECS
186
186
  attr_accessor depends_on: ::Array[Types::ContainerDependency]
187
187
  attr_accessor start_timeout: ::Integer
188
188
  attr_accessor stop_timeout: ::Integer
189
+ attr_accessor version_consistency: ("enabled" | "disabled")
189
190
  attr_accessor hostname: ::String
190
191
  attr_accessor user: ::String
191
192
  attr_accessor working_directory: ::String
@@ -312,6 +313,7 @@ module Aws::ECS
312
313
  attr_accessor cluster: ::String
313
314
  attr_accessor service_name: ::String
314
315
  attr_accessor task_definition: ::String
316
+ attr_accessor availability_zone_rebalancing: ("ENABLED" | "DISABLED")
315
317
  attr_accessor load_balancers: ::Array[Types::LoadBalancer]
316
318
  attr_accessor service_registries: ::Array[Types::ServiceRegistry]
317
319
  attr_accessor desired_count: ::Integer
@@ -1346,6 +1348,7 @@ module Aws::ECS
1346
1348
  attr_accessor enable_ecs_managed_tags: bool
1347
1349
  attr_accessor propagate_tags: ("TASK_DEFINITION" | "SERVICE" | "NONE")
1348
1350
  attr_accessor enable_execute_command: bool
1351
+ attr_accessor availability_zone_rebalancing: ("ENABLED" | "DISABLED")
1349
1352
  SENSITIVE: []
1350
1353
  end
1351
1354
 
@@ -1896,6 +1899,7 @@ module Aws::ECS
1896
1899
  attr_accessor task_definition: ::String
1897
1900
  attr_accessor capacity_provider_strategy: ::Array[Types::CapacityProviderStrategyItem]
1898
1901
  attr_accessor deployment_configuration: Types::DeploymentConfiguration
1902
+ attr_accessor availability_zone_rebalancing: ("ENABLED" | "DISABLED")
1899
1903
  attr_accessor network_configuration: Types::NetworkConfiguration
1900
1904
  attr_accessor placement_constraints: ::Array[Types::PlacementConstraint]
1901
1905
  attr_accessor placement_strategy: ::Array[Types::PlacementStrategy]
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.168.0
4
+ version: 1.170.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: 2024-11-18 00:00:00.000000000 Z
11
+ date: 2024-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core