aws-sdk-ecs 1.169.0 → 1.171.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecs/client.rb +83 -22
- data/lib/aws-sdk-ecs/client_api.rb +4 -0
- data/lib/aws-sdk-ecs/types.rb +134 -38
- data/lib/aws-sdk-ecs.rb +1 -1
- data/sig/client.rbs +2 -0
- data/sig/types.rbs +3 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 88ccea68f205a92d9da5e2b856a4231d9de923ad3547e10bc7609b9922b9d7e1
|
4
|
+
data.tar.gz: aca1bda31828f6721925f74a48383fc4395f8e2505d8f1151fbd1a1eb678ed36
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c897395e2379e1f7fac7f3915e957060709cfb9ee502429367241f2625eff539c91bfcf3b790531b2373375a7219328981d0e86cf5049119c53be3aa0ee90a6e
|
7
|
+
data.tar.gz: d9d8525ac28e0061fb07942493d1dcd03fa71642ac8246d080820dcbb9523256e33bdb0f308b3848da67c6e97d3e9dfb4f1c279c6ef66456c1671ff3ba4f3924
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.171.0 (2024-12-02)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds support for Container Insights with Enhanced Observability for Amazon ECS.
|
8
|
+
|
9
|
+
1.170.0 (2024-11-20)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds support for the Availability Zone rebalancing feature on Amazon ECS.
|
13
|
+
|
4
14
|
1.169.0 (2024-11-19)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.171.0
|
data/lib/aws-sdk-ecs/client.rb
CHANGED
@@ -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
|
#
|
@@ -2162,7 +2176,7 @@ module Aws::ECS
|
|
2162
2176
|
#
|
2163
2177
|
# <note markdown="1"> The `FARGATE` and `FARGATE_SPOT` capacity providers are reserved and
|
2164
2178
|
# can't be deleted. You can disassociate them from a cluster using
|
2165
|
-
# either [
|
2179
|
+
# either [PutClusterCapacityProviders][1] or by deleting the cluster.
|
2166
2180
|
#
|
2167
2181
|
# </note>
|
2168
2182
|
#
|
@@ -2175,12 +2189,12 @@ 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 [
|
2192
|
+
# you can either use [PutClusterCapacityProviders][1] or delete the
|
2179
2193
|
# cluster.
|
2180
2194
|
#
|
2181
2195
|
#
|
2182
2196
|
#
|
2183
|
-
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/
|
2197
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutClusterCapacityProviders.html
|
2184
2198
|
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_UpdateService.html
|
2185
2199
|
#
|
2186
2200
|
# @option params [required, String] :capacity_provider
|
@@ -2573,6 +2587,7 @@ module Aws::ECS
|
|
2573
2587
|
# resp.service.enable_ecs_managed_tags #=> Boolean
|
2574
2588
|
# resp.service.propagate_tags #=> String, one of "TASK_DEFINITION", "SERVICE", "NONE"
|
2575
2589
|
# resp.service.enable_execute_command #=> Boolean
|
2590
|
+
# resp.service.availability_zone_rebalancing #=> String, one of "ENABLED", "DISABLED"
|
2576
2591
|
#
|
2577
2592
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteService AWS API Documentation
|
2578
2593
|
#
|
@@ -3365,6 +3380,12 @@ module Aws::ECS
|
|
3365
3380
|
|
3366
3381
|
# Describes one or more of your clusters.
|
3367
3382
|
#
|
3383
|
+
# For CLI examples, see [describe-clusters.rst][1] on GitHub.
|
3384
|
+
#
|
3385
|
+
#
|
3386
|
+
#
|
3387
|
+
# [1]: https://github.com/aws/aws-cli/blob/develop/awscli/examples/ecs/describe-clusters.rst
|
3388
|
+
#
|
3368
3389
|
# @option params [Array<String>] :clusters
|
3369
3390
|
# A list of up to 100 cluster names or full cluster Amazon Resource Name
|
3370
3391
|
# (ARN) entries. If you do not specify a cluster, the default cluster is
|
@@ -4145,6 +4166,7 @@ module Aws::ECS
|
|
4145
4166
|
# resp.services[0].enable_ecs_managed_tags #=> Boolean
|
4146
4167
|
# resp.services[0].propagate_tags #=> String, one of "TASK_DEFINITION", "SERVICE", "NONE"
|
4147
4168
|
# resp.services[0].enable_execute_command #=> Boolean
|
4169
|
+
# resp.services[0].availability_zone_rebalancing #=> String, one of "ENABLED", "DISABLED"
|
4148
4170
|
# resp.failures #=> Array
|
4149
4171
|
# resp.failures[0].arn #=> String
|
4150
4172
|
# resp.failures[0].reason #=> String
|
@@ -4556,9 +4578,8 @@ module Aws::ECS
|
|
4556
4578
|
# @option params [String] :cluster
|
4557
4579
|
# The short name or full Amazon Resource Name (ARN) of the cluster that
|
4558
4580
|
# hosts the task or tasks to describe. If you do not specify a cluster,
|
4559
|
-
# the default cluster is assumed. This parameter is required
|
4560
|
-
#
|
4561
|
-
# the default cluster.
|
4581
|
+
# the default cluster is assumed. This parameter is required. If you do
|
4582
|
+
# not specify a value, the `default` cluster is used.
|
4562
4583
|
#
|
4563
4584
|
# @option params [required, Array<String>] :tasks
|
4564
4585
|
# A list of up to 100 task IDs or full ARN entries.
|
@@ -5375,7 +5396,7 @@ module Aws::ECS
|
|
5375
5396
|
# name or ARN. Starting April 15, 2023, Amazon Web Services will not
|
5376
5397
|
# onboard new customers to Amazon Elastic Inference (EI), and will help
|
5377
5398
|
# current customers migrate their workloads to options that offer better
|
5378
|
-
# price and performanceIf you don't specify a cluster, `
|
5399
|
+
# price and performanceIf you don't specify a cluster, `default` is
|
5379
5400
|
# used.
|
5380
5401
|
#
|
5381
5402
|
# @option params [Array<String>] :status
|
@@ -6089,12 +6110,25 @@ module Aws::ECS
|
|
6089
6110
|
# Network Interface Trunking][1] in the *Amazon Elastic Container
|
6090
6111
|
# Service Developer Guide*.
|
6091
6112
|
#
|
6092
|
-
# * `containerInsights` -
|
6093
|
-
#
|
6094
|
-
#
|
6095
|
-
#
|
6096
|
-
#
|
6097
|
-
#
|
6113
|
+
# * `containerInsights` - Container Insights with enhanced observability
|
6114
|
+
# provides all the Container Insights metrics, plus additional task
|
6115
|
+
# and container metrics. This version supports enhanced observability
|
6116
|
+
# for Amazon ECS clusters using the Amazon EC2 and Fargate launch
|
6117
|
+
# types. After you configure Container Insights with enhanced
|
6118
|
+
# observability on Amazon ECS, Container Insights auto-collects
|
6119
|
+
# detailed infrastructure telemetry from the cluster level down to the
|
6120
|
+
# container level in your environment and displays these critical
|
6121
|
+
# performance data in curated dashboards removing the heavy lifting in
|
6122
|
+
# observability set-up.
|
6123
|
+
#
|
6124
|
+
# To use Container Insights with enhanced observability, set the
|
6125
|
+
# `containerInsights` account setting to `enhanced`.
|
6126
|
+
#
|
6127
|
+
# To use Container Insights, set the `containerInsights` account
|
6128
|
+
# setting to `enabled`.
|
6129
|
+
#
|
6130
|
+
# For more information, see [Monitor Amazon ECS containers using
|
6131
|
+
# Container Insights with enhanced observability][2] in the *Amazon
|
6098
6132
|
# Elastic Container Service Developer Guide*.
|
6099
6133
|
#
|
6100
6134
|
# * `dualStackIPv6` - When turned on, when using a VPC in dual stack
|
@@ -6142,7 +6176,7 @@ module Aws::ECS
|
|
6142
6176
|
#
|
6143
6177
|
# @option params [required, String] :value
|
6144
6178
|
# The account setting value for the specified principal ARN. Accepted
|
6145
|
-
# values are `enabled`, `disabled`, `on`, and `off`.
|
6179
|
+
# values are `enabled`, `disabled`, `enhanced`, `on`, and `off`.
|
6146
6180
|
#
|
6147
6181
|
# When you specify `fargateTaskRetirementWaitPeriod` for the `name`, the
|
6148
6182
|
# following are the valid values:
|
@@ -6285,12 +6319,25 @@ module Aws::ECS
|
|
6285
6319
|
# Network Interface Trunking][1] in the *Amazon Elastic Container
|
6286
6320
|
# Service Developer Guide*.
|
6287
6321
|
#
|
6288
|
-
# * `containerInsights` -
|
6289
|
-
#
|
6290
|
-
#
|
6291
|
-
#
|
6292
|
-
#
|
6293
|
-
#
|
6322
|
+
# * `containerInsights` - Container Insights with enhanced observability
|
6323
|
+
# provides all the Container Insights metrics, plus additional task
|
6324
|
+
# and container metrics. This version supports enhanced observability
|
6325
|
+
# for Amazon ECS clusters using the Amazon EC2 and Fargate launch
|
6326
|
+
# types. After you configure Container Insights with enhanced
|
6327
|
+
# observability on Amazon ECS, Container Insights auto-collects
|
6328
|
+
# detailed infrastructure telemetry from the cluster level down to the
|
6329
|
+
# container level in your environment and displays these critical
|
6330
|
+
# performance data in curated dashboards removing the heavy lifting in
|
6331
|
+
# observability set-up.
|
6332
|
+
#
|
6333
|
+
# To use Container Insights with enhanced observability, set the
|
6334
|
+
# `containerInsights` account setting to `enhanced`.
|
6335
|
+
#
|
6336
|
+
# To use Container Insights, set the `containerInsights` account
|
6337
|
+
# setting to `enabled`.
|
6338
|
+
#
|
6339
|
+
# For more information, see [Monitor Amazon ECS containers using
|
6340
|
+
# Container Insights with enhanced observability][2] in the *Amazon
|
6294
6341
|
# Elastic Container Service Developer Guide*.
|
6295
6342
|
#
|
6296
6343
|
# * `dualStackIPv6` - When turned on, when using a VPC in dual stack
|
@@ -6341,7 +6388,7 @@ module Aws::ECS
|
|
6341
6388
|
#
|
6342
6389
|
# @option params [required, String] :value
|
6343
6390
|
# The account setting value for the specified principal ARN. Accepted
|
6344
|
-
# values are `enabled`, `disabled`, `on`, and `off`.
|
6391
|
+
# values are `enabled`, `disabled`, `on`, `enhanced`, and `off`.
|
6345
6392
|
#
|
6346
6393
|
# When you specify `fargateTaskRetirementWaitPeriod` for the `name`, the
|
6347
6394
|
# following are the valid values:
|
@@ -9863,6 +9910,18 @@ module Aws::ECS
|
|
9863
9910
|
# Optional deployment parameters that control how many tasks run during
|
9864
9911
|
# the deployment and the ordering of stopping and starting tasks.
|
9865
9912
|
#
|
9913
|
+
# @option params [String] :availability_zone_rebalancing
|
9914
|
+
# Indicates whether to use Availability Zone rebalancing for the
|
9915
|
+
# service.
|
9916
|
+
#
|
9917
|
+
# For more information, see [Balancing an Amazon ECS service across
|
9918
|
+
# Availability Zones][1] in the *Amazon Elastic Container Service
|
9919
|
+
# Developer Guide*.
|
9920
|
+
#
|
9921
|
+
#
|
9922
|
+
#
|
9923
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html
|
9924
|
+
#
|
9866
9925
|
# @option params [Types::NetworkConfiguration] :network_configuration
|
9867
9926
|
# An object representing the network configuration for the service.
|
9868
9927
|
#
|
@@ -10093,6 +10152,7 @@ module Aws::ECS
|
|
10093
10152
|
# enable: false, # required
|
10094
10153
|
# },
|
10095
10154
|
# },
|
10155
|
+
# availability_zone_rebalancing: "ENABLED", # accepts ENABLED, DISABLED
|
10096
10156
|
# network_configuration: {
|
10097
10157
|
# awsvpc_configuration: {
|
10098
10158
|
# subnets: ["String"], # required
|
@@ -10386,6 +10446,7 @@ module Aws::ECS
|
|
10386
10446
|
# resp.service.enable_ecs_managed_tags #=> Boolean
|
10387
10447
|
# resp.service.propagate_tags #=> String, one of "TASK_DEFINITION", "SERVICE", "NONE"
|
10388
10448
|
# resp.service.enable_execute_command #=> Boolean
|
10449
|
+
# resp.service.availability_zone_rebalancing #=> String, one of "ENABLED", "DISABLED"
|
10389
10450
|
#
|
10390
10451
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateService AWS API Documentation
|
10391
10452
|
#
|
@@ -10772,7 +10833,7 @@ module Aws::ECS
|
|
10772
10833
|
tracer: tracer
|
10773
10834
|
)
|
10774
10835
|
context[:gem_name] = 'aws-sdk-ecs'
|
10775
|
-
context[:gem_version] = '1.
|
10836
|
+
context[:gem_version] = '1.171.0'
|
10776
10837
|
Seahorse::Client::Request.new(handlers, context)
|
10777
10838
|
end
|
10778
10839
|
|
@@ -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')
|
@@ -722,6 +723,7 @@ module Aws::ECS
|
|
722
723
|
CreateServiceRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
|
723
724
|
CreateServiceRequest.add_member(:service_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "serviceName"))
|
724
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"))
|
725
727
|
CreateServiceRequest.add_member(:load_balancers, Shapes::ShapeRef.new(shape: LoadBalancers, location_name: "loadBalancers"))
|
726
728
|
CreateServiceRequest.add_member(:service_registries, Shapes::ShapeRef.new(shape: ServiceRegistries, location_name: "serviceRegistries"))
|
727
729
|
CreateServiceRequest.add_member(:desired_count, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "desiredCount"))
|
@@ -1546,6 +1548,7 @@ module Aws::ECS
|
|
1546
1548
|
Service.add_member(:enable_ecs_managed_tags, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableECSManagedTags"))
|
1547
1549
|
Service.add_member(:propagate_tags, Shapes::ShapeRef.new(shape: PropagateTags, location_name: "propagateTags"))
|
1548
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"))
|
1549
1552
|
Service.struct_class = Types::Service
|
1550
1553
|
|
1551
1554
|
ServiceConnectClientAlias.add_member(:port, Shapes::ShapeRef.new(shape: PortNumber, required: true, location_name: "port"))
|
@@ -2034,6 +2037,7 @@ module Aws::ECS
|
|
2034
2037
|
UpdateServiceRequest.add_member(:task_definition, Shapes::ShapeRef.new(shape: String, location_name: "taskDefinition"))
|
2035
2038
|
UpdateServiceRequest.add_member(:capacity_provider_strategy, Shapes::ShapeRef.new(shape: CapacityProviderStrategy, location_name: "capacityProviderStrategy"))
|
2036
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"))
|
2037
2041
|
UpdateServiceRequest.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration"))
|
2038
2042
|
UpdateServiceRequest.add_member(:placement_constraints, Shapes::ShapeRef.new(shape: PlacementConstraints, location_name: "placementConstraints"))
|
2039
2043
|
UpdateServiceRequest.add_member(:placement_strategy, Shapes::ShapeRef.new(shape: PlacementStrategies, location_name: "placementStrategy"))
|
data/lib/aws-sdk-ecs/types.rb
CHANGED
@@ -267,7 +267,7 @@ module Aws::ECS
|
|
267
267
|
#
|
268
268
|
# @!attribute [rw] assign_public_ip
|
269
269
|
# Whether the task's elastic network interface receives a public IP
|
270
|
-
# address. The default value is `
|
270
|
+
# address. The default value is `ENABLED`.
|
271
271
|
# @return [String]
|
272
272
|
#
|
273
273
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/AwsVpcConfiguration AWS API Documentation
|
@@ -871,7 +871,26 @@ module Aws::ECS
|
|
871
871
|
end
|
872
872
|
|
873
873
|
# The settings to use when creating a cluster. This parameter is used to
|
874
|
-
# turn on CloudWatch Container Insights
|
874
|
+
# turn on CloudWatch Container Insights with enhanced observability or
|
875
|
+
# CloudWatch Container Insights for a cluster.
|
876
|
+
#
|
877
|
+
# Container Insights with enhanced observability provides all the
|
878
|
+
# Container Insights metrics, plus additional task and container
|
879
|
+
# metrics. This version supports enhanced observability for Amazon ECS
|
880
|
+
# clusters using the Amazon EC2 and Fargate launch types. After you
|
881
|
+
# configure Container Insights with enhanced observability on Amazon
|
882
|
+
# ECS, Container Insights auto-collects detailed infrastructure
|
883
|
+
# telemetry from the cluster level down to the container level in your
|
884
|
+
# environment and displays these critical performance data in curated
|
885
|
+
# dashboards removing the heavy lifting in observability set-up.
|
886
|
+
#
|
887
|
+
# For more information, see [Monitor Amazon ECS containers using
|
888
|
+
# Container Insights with enhanced observability][1] in the *Amazon
|
889
|
+
# Elastic Container Service Developer Guide*.
|
890
|
+
#
|
891
|
+
#
|
892
|
+
#
|
893
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cloudwatch-container-insights.html
|
875
894
|
#
|
876
895
|
# @!attribute [rw] name
|
877
896
|
# The name of the cluster setting. The value is `containerInsights` .
|
@@ -879,12 +898,15 @@ module Aws::ECS
|
|
879
898
|
#
|
880
899
|
# @!attribute [rw] value
|
881
900
|
# The value to set for the cluster setting. The supported values are
|
882
|
-
# `enabled
|
901
|
+
# `enhanced`, `enabled`, and `disabled`.
|
902
|
+
#
|
903
|
+
# To use Container Insights with enhanced observability, set the
|
904
|
+
# `containerInsights` account setting to `enhanced`.
|
905
|
+
#
|
906
|
+
# To use Container Insights, set the `containerInsights` account
|
907
|
+
# setting to `enabled`.
|
883
908
|
#
|
884
|
-
# If
|
885
|
-
# CloudWatch Container Insights will be on for the cluster, otherwise
|
886
|
-
# it will be off unless the `containerInsights` account setting is
|
887
|
-
# turned on. If a cluster value is specified, it will override the
|
909
|
+
# If a cluster value is specified, it will override the
|
888
910
|
# `containerInsights` value set with [PutAccountSetting][1] or
|
889
911
|
# [PutAccountSettingDefault][2].
|
890
912
|
#
|
@@ -2624,6 +2646,19 @@ module Aws::ECS
|
|
2624
2646
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html
|
2625
2647
|
# @return [String]
|
2626
2648
|
#
|
2649
|
+
# @!attribute [rw] availability_zone_rebalancing
|
2650
|
+
# Indicates whether to use Availability Zone rebalancing for the
|
2651
|
+
# service.
|
2652
|
+
#
|
2653
|
+
# For more information, see [Balancing an Amazon ECS service across
|
2654
|
+
# Availability Zones][1] in the *Amazon Elastic Container Service
|
2655
|
+
# Developer Guide*.
|
2656
|
+
#
|
2657
|
+
#
|
2658
|
+
#
|
2659
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html
|
2660
|
+
# @return [String]
|
2661
|
+
#
|
2627
2662
|
# @!attribute [rw] load_balancers
|
2628
2663
|
# A load balancer object representing the load balancers to use with
|
2629
2664
|
# your service. For more information, see [Service load balancing][1]
|
@@ -2991,6 +3026,7 @@ module Aws::ECS
|
|
2991
3026
|
:cluster,
|
2992
3027
|
:service_name,
|
2993
3028
|
:task_definition,
|
3029
|
+
:availability_zone_rebalancing,
|
2994
3030
|
:load_balancers,
|
2995
3031
|
:service_registries,
|
2996
3032
|
:desired_count,
|
@@ -3923,13 +3959,7 @@ module Aws::ECS
|
|
3923
3959
|
include Aws::Structure
|
3924
3960
|
end
|
3925
3961
|
|
3926
|
-
# The deployment controller to use for the service.
|
3927
|
-
# information, see [Amazon ECS deployment types][1] in the *Amazon
|
3928
|
-
# Elastic Container Service Developer Guide*.
|
3929
|
-
#
|
3930
|
-
#
|
3931
|
-
#
|
3932
|
-
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html
|
3962
|
+
# The deployment controller to use for the service.
|
3933
3963
|
#
|
3934
3964
|
# @!attribute [rw] type
|
3935
3965
|
# The deployment controller type to use.
|
@@ -3946,6 +3976,10 @@ module Aws::ECS
|
|
3946
3976
|
# service deployment, as specified in the
|
3947
3977
|
# [DeploymentConfiguration][1].
|
3948
3978
|
#
|
3979
|
+
# For more information about rolling deployments, see [Deploy Amazon
|
3980
|
+
# ECS services by replacing tasks][2] in the *Amazon Elastic
|
3981
|
+
# Container Service Developer Guide*.
|
3982
|
+
#
|
3949
3983
|
# CODE\_DEPLOY
|
3950
3984
|
#
|
3951
3985
|
# : The blue/green (`CODE_DEPLOY`) deployment type uses the blue/green
|
@@ -3953,15 +3987,26 @@ module Aws::ECS
|
|
3953
3987
|
# a new deployment of a service before sending production traffic to
|
3954
3988
|
# it.
|
3955
3989
|
#
|
3990
|
+
# For more information about blue/green deployments, see [Validate
|
3991
|
+
# the state of an Amazon ECS service before deployment ][3] in the
|
3992
|
+
# *Amazon Elastic Container Service Developer Guide*.
|
3993
|
+
#
|
3956
3994
|
# EXTERNAL
|
3957
3995
|
#
|
3958
3996
|
# : The external (`EXTERNAL`) deployment type enables you to use any
|
3959
3997
|
# third-party deployment controller for full control over the
|
3960
3998
|
# deployment process for an Amazon ECS service.
|
3961
3999
|
#
|
4000
|
+
# For more information about external deployments, see [Deploy
|
4001
|
+
# Amazon ECS services using a third-party controller ][4] in the
|
4002
|
+
# *Amazon Elastic Container Service Developer Guide*.
|
4003
|
+
#
|
3962
4004
|
#
|
3963
4005
|
#
|
3964
4006
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeploymentConfiguration.html
|
4007
|
+
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html
|
4008
|
+
# [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-bluegreen.html
|
4009
|
+
# [4]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-external.html
|
3965
4010
|
# @return [String]
|
3966
4011
|
#
|
3967
4012
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeploymentController AWS API Documentation
|
@@ -4483,9 +4528,8 @@ module Aws::ECS
|
|
4483
4528
|
# @!attribute [rw] cluster
|
4484
4529
|
# The short name or full Amazon Resource Name (ARN) of the cluster
|
4485
4530
|
# that hosts the task or tasks to describe. If you do not specify a
|
4486
|
-
# cluster, the default cluster is assumed. This parameter is required
|
4487
|
-
#
|
4488
|
-
# other than the default cluster.
|
4531
|
+
# cluster, the default cluster is assumed. This parameter is required.
|
4532
|
+
# If you do not specify a value, the `default` cluster is used.
|
4489
4533
|
# @return [String]
|
4490
4534
|
#
|
4491
4535
|
# @!attribute [rw] tasks
|
@@ -4871,7 +4915,7 @@ module Aws::ECS
|
|
4871
4915
|
#
|
4872
4916
|
# @!attribute [rw] size_in_gi_b
|
4873
4917
|
# The total amount, in GiB, of ephemeral storage to set for the task.
|
4874
|
-
# The minimum supported value is `
|
4918
|
+
# The minimum supported value is `21` GiB and the maximum supported
|
4875
4919
|
# value is `200` GiB.
|
4876
4920
|
# @return [Integer]
|
4877
4921
|
#
|
@@ -6084,7 +6128,7 @@ module Aws::ECS
|
|
6084
6128
|
# onboard new customers to Amazon Elastic Inference (EI), and will
|
6085
6129
|
# help current customers migrate their workloads to options that offer
|
6086
6130
|
# better price and performanceIf you don't specify a cluster,
|
6087
|
-
# `
|
6131
|
+
# `default` is used.
|
6088
6132
|
# @return [String]
|
6089
6133
|
#
|
6090
6134
|
# @!attribute [rw] status
|
@@ -7817,14 +7861,26 @@ module Aws::ECS
|
|
7817
7861
|
# [Elastic Network Interface Trunking][1] in the *Amazon Elastic
|
7818
7862
|
# Container Service Developer Guide*.
|
7819
7863
|
#
|
7820
|
-
# * `containerInsights` -
|
7821
|
-
#
|
7822
|
-
#
|
7823
|
-
#
|
7824
|
-
#
|
7825
|
-
#
|
7826
|
-
#
|
7827
|
-
#
|
7864
|
+
# * `containerInsights` - Container Insights with enhanced
|
7865
|
+
# observability provides all the Container Insights metrics, plus
|
7866
|
+
# additional task and container metrics. This version supports
|
7867
|
+
# enhanced observability for Amazon ECS clusters using the Amazon
|
7868
|
+
# EC2 and Fargate launch types. After you configure Container
|
7869
|
+
# Insights with enhanced observability on Amazon ECS, Container
|
7870
|
+
# Insights auto-collects detailed infrastructure telemetry from the
|
7871
|
+
# cluster level down to the container level in your environment and
|
7872
|
+
# displays these critical performance data in curated dashboards
|
7873
|
+
# removing the heavy lifting in observability set-up.
|
7874
|
+
#
|
7875
|
+
# To use Container Insights with enhanced observability, set the
|
7876
|
+
# `containerInsights` account setting to `enhanced`.
|
7877
|
+
#
|
7878
|
+
# To use Container Insights, set the `containerInsights` account
|
7879
|
+
# setting to `enabled`.
|
7880
|
+
#
|
7881
|
+
# For more information, see [Monitor Amazon ECS containers using
|
7882
|
+
# Container Insights with enhanced observability][2] in the *Amazon
|
7883
|
+
# Elastic Container Service Developer Guide*.
|
7828
7884
|
#
|
7829
7885
|
# * `dualStackIPv6` - When turned on, when using a VPC in dual stack
|
7830
7886
|
# mode, your tasks using the `awsvpc` network mode can have an IPv6
|
@@ -7875,7 +7931,7 @@ module Aws::ECS
|
|
7875
7931
|
#
|
7876
7932
|
# @!attribute [rw] value
|
7877
7933
|
# The account setting value for the specified principal ARN. Accepted
|
7878
|
-
# values are `enabled`, `disabled`, `on`, and `off`.
|
7934
|
+
# values are `enabled`, `disabled`, `on`, `enhanced`, and `off`.
|
7879
7935
|
#
|
7880
7936
|
# When you specify `fargateTaskRetirementWaitPeriod` for the `name`,
|
7881
7937
|
# the following are the valid values:
|
@@ -7951,14 +8007,26 @@ module Aws::ECS
|
|
7951
8007
|
# [Elastic Network Interface Trunking][1] in the *Amazon Elastic
|
7952
8008
|
# Container Service Developer Guide*.
|
7953
8009
|
#
|
7954
|
-
# * `containerInsights` -
|
7955
|
-
#
|
7956
|
-
#
|
7957
|
-
#
|
7958
|
-
#
|
7959
|
-
#
|
7960
|
-
#
|
7961
|
-
#
|
8010
|
+
# * `containerInsights` - Container Insights with enhanced
|
8011
|
+
# observability provides all the Container Insights metrics, plus
|
8012
|
+
# additional task and container metrics. This version supports
|
8013
|
+
# enhanced observability for Amazon ECS clusters using the Amazon
|
8014
|
+
# EC2 and Fargate launch types. After you configure Container
|
8015
|
+
# Insights with enhanced observability on Amazon ECS, Container
|
8016
|
+
# Insights auto-collects detailed infrastructure telemetry from the
|
8017
|
+
# cluster level down to the container level in your environment and
|
8018
|
+
# displays these critical performance data in curated dashboards
|
8019
|
+
# removing the heavy lifting in observability set-up.
|
8020
|
+
#
|
8021
|
+
# To use Container Insights with enhanced observability, set the
|
8022
|
+
# `containerInsights` account setting to `enhanced`.
|
8023
|
+
#
|
8024
|
+
# To use Container Insights, set the `containerInsights` account
|
8025
|
+
# setting to `enabled`.
|
8026
|
+
#
|
8027
|
+
# For more information, see [Monitor Amazon ECS containers using
|
8028
|
+
# Container Insights with enhanced observability][2] in the *Amazon
|
8029
|
+
# Elastic Container Service Developer Guide*.
|
7962
8030
|
#
|
7963
8031
|
# * `dualStackIPv6` - When turned on, when using a VPC in dual stack
|
7964
8032
|
# mode, your tasks using the `awsvpc` network mode can have an IPv6
|
@@ -8006,7 +8074,7 @@ module Aws::ECS
|
|
8006
8074
|
#
|
8007
8075
|
# @!attribute [rw] value
|
8008
8076
|
# The account setting value for the specified principal ARN. Accepted
|
8009
|
-
# values are `enabled`, `disabled`, `on`, and `off`.
|
8077
|
+
# values are `enabled`, `disabled`, `enhanced`, `on`, and `off`.
|
8010
8078
|
#
|
8011
8079
|
# When you specify `fargateTaskRetirementWaitPeriod` for the `name`,
|
8012
8080
|
# the following are the valid values:
|
@@ -9503,6 +9571,19 @@ module Aws::ECS
|
|
9503
9571
|
# turned on for all containers in tasks as part of the service.
|
9504
9572
|
# @return [Boolean]
|
9505
9573
|
#
|
9574
|
+
# @!attribute [rw] availability_zone_rebalancing
|
9575
|
+
# Indicates whether to use Availability Zone rebalancing for the
|
9576
|
+
# service.
|
9577
|
+
#
|
9578
|
+
# For more information, see [Balancing an Amazon ECS service across
|
9579
|
+
# Availability Zones][1] in the *Amazon Elastic Container Service
|
9580
|
+
# Developer Guide*.
|
9581
|
+
#
|
9582
|
+
#
|
9583
|
+
#
|
9584
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html
|
9585
|
+
# @return [String]
|
9586
|
+
#
|
9506
9587
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Service AWS API Documentation
|
9507
9588
|
#
|
9508
9589
|
class Service < Struct.new(
|
@@ -9536,7 +9617,8 @@ module Aws::ECS
|
|
9536
9617
|
:created_by,
|
9537
9618
|
:enable_ecs_managed_tags,
|
9538
9619
|
:propagate_tags,
|
9539
|
-
:enable_execute_command
|
9620
|
+
:enable_execute_command,
|
9621
|
+
:availability_zone_rebalancing)
|
9540
9622
|
SENSITIVE = []
|
9541
9623
|
include Aws::Structure
|
9542
9624
|
end
|
@@ -13149,6 +13231,19 @@ module Aws::ECS
|
|
13149
13231
|
# tasks.
|
13150
13232
|
# @return [Types::DeploymentConfiguration]
|
13151
13233
|
#
|
13234
|
+
# @!attribute [rw] availability_zone_rebalancing
|
13235
|
+
# Indicates whether to use Availability Zone rebalancing for the
|
13236
|
+
# service.
|
13237
|
+
#
|
13238
|
+
# For more information, see [Balancing an Amazon ECS service across
|
13239
|
+
# Availability Zones][1] in the *Amazon Elastic Container Service
|
13240
|
+
# Developer Guide*.
|
13241
|
+
#
|
13242
|
+
#
|
13243
|
+
#
|
13244
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html
|
13245
|
+
# @return [String]
|
13246
|
+
#
|
13152
13247
|
# @!attribute [rw] network_configuration
|
13153
13248
|
# An object representing the network configuration for the service.
|
13154
13249
|
# @return [Types::NetworkConfiguration]
|
@@ -13350,6 +13445,7 @@ module Aws::ECS
|
|
13350
13445
|
:task_definition,
|
13351
13446
|
:capacity_provider_strategy,
|
13352
13447
|
:deployment_configuration,
|
13448
|
+
:availability_zone_rebalancing,
|
13353
13449
|
:network_configuration,
|
13354
13450
|
:placement_constraints,
|
13355
13451
|
:placement_strategy,
|
data/lib/aws-sdk-ecs.rb
CHANGED
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?,
|
@@ -1635,6 +1636,7 @@ module Aws
|
|
1635
1636
|
enable: bool
|
1636
1637
|
}?
|
1637
1638
|
},
|
1639
|
+
?availability_zone_rebalancing: ("ENABLED" | "DISABLED"),
|
1638
1640
|
?network_configuration: {
|
1639
1641
|
awsvpc_configuration: {
|
1640
1642
|
subnets: Array[::String],
|
data/sig/types.rbs
CHANGED
@@ -313,6 +313,7 @@ module Aws::ECS
|
|
313
313
|
attr_accessor cluster: ::String
|
314
314
|
attr_accessor service_name: ::String
|
315
315
|
attr_accessor task_definition: ::String
|
316
|
+
attr_accessor availability_zone_rebalancing: ("ENABLED" | "DISABLED")
|
316
317
|
attr_accessor load_balancers: ::Array[Types::LoadBalancer]
|
317
318
|
attr_accessor service_registries: ::Array[Types::ServiceRegistry]
|
318
319
|
attr_accessor desired_count: ::Integer
|
@@ -1347,6 +1348,7 @@ module Aws::ECS
|
|
1347
1348
|
attr_accessor enable_ecs_managed_tags: bool
|
1348
1349
|
attr_accessor propagate_tags: ("TASK_DEFINITION" | "SERVICE" | "NONE")
|
1349
1350
|
attr_accessor enable_execute_command: bool
|
1351
|
+
attr_accessor availability_zone_rebalancing: ("ENABLED" | "DISABLED")
|
1350
1352
|
SENSITIVE: []
|
1351
1353
|
end
|
1352
1354
|
|
@@ -1897,6 +1899,7 @@ module Aws::ECS
|
|
1897
1899
|
attr_accessor task_definition: ::String
|
1898
1900
|
attr_accessor capacity_provider_strategy: ::Array[Types::CapacityProviderStrategyItem]
|
1899
1901
|
attr_accessor deployment_configuration: Types::DeploymentConfiguration
|
1902
|
+
attr_accessor availability_zone_rebalancing: ("ENABLED" | "DISABLED")
|
1900
1903
|
attr_accessor network_configuration: Types::NetworkConfiguration
|
1901
1904
|
attr_accessor placement_constraints: ::Array[Types::PlacementConstraint]
|
1902
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.
|
4
|
+
version: 1.171.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
|
+
date: 2024-12-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|