aws-sdk-ecs 1.173.0 → 1.182.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +45 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecs/client.rb +1671 -78
- data/lib/aws-sdk-ecs/endpoint_provider.rb +13 -17
- data/lib/aws-sdk-ecs/types.rb +124 -57
- data/lib/aws-sdk-ecs.rb +1 -1
- data/sig/client.rbs +2 -0
- data/sig/resource.rbs +2 -0
- metadata +4 -4
@@ -10,40 +10,36 @@
|
|
10
10
|
module Aws::ECS
|
11
11
|
class EndpointProvider
|
12
12
|
def resolve_endpoint(parameters)
|
13
|
-
|
14
|
-
|
15
|
-
use_fips = parameters.use_fips
|
16
|
-
endpoint = parameters.endpoint
|
17
|
-
if Aws::Endpoints::Matchers.set?(endpoint)
|
18
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
13
|
+
if Aws::Endpoints::Matchers.set?(parameters.endpoint)
|
14
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
19
15
|
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
20
16
|
end
|
21
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
17
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
22
18
|
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
19
|
end
|
24
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
20
|
+
return Aws::Endpoints::Endpoint.new(url: parameters.endpoint, headers: {}, properties: {})
|
25
21
|
end
|
26
|
-
if Aws::Endpoints::Matchers.set?(region)
|
27
|
-
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
22
|
+
if Aws::Endpoints::Matchers.set?(parameters.region)
|
23
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
|
24
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
29
25
|
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
-
return Aws::Endpoints::Endpoint.new(url: "https://ecs-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
26
|
+
return Aws::Endpoints::Endpoint.new(url: "https://ecs-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
31
27
|
end
|
32
28
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
29
|
end
|
34
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
30
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
35
31
|
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
|
-
return Aws::Endpoints::Endpoint.new(url: "https://ecs-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
32
|
+
return Aws::Endpoints::Endpoint.new(url: "https://ecs-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
33
|
end
|
38
34
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
39
35
|
end
|
40
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
36
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
41
37
|
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
42
|
-
return Aws::Endpoints::Endpoint.new(url: "https://ecs.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
38
|
+
return Aws::Endpoints::Endpoint.new(url: "https://ecs.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
43
39
|
end
|
44
40
|
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
45
41
|
end
|
46
|
-
return Aws::Endpoints::Endpoint.new(url: "https://ecs.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://ecs.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
47
43
|
end
|
48
44
|
end
|
49
45
|
raise ArgumentError, "Invalid Configuration: Missing Region"
|
data/lib/aws-sdk-ecs/types.rb
CHANGED
@@ -246,8 +246,7 @@ module Aws::ECS
|
|
246
246
|
#
|
247
247
|
# @!attribute [rw] subnets
|
248
248
|
# The IDs of the subnets associated with the task or service. There's
|
249
|
-
# a limit of 16 subnets that can be specified
|
250
|
-
# `awsvpcConfiguration`.
|
249
|
+
# a limit of 16 subnets that can be specified.
|
251
250
|
#
|
252
251
|
# <note markdown="1"> All specified subnets must be from the same VPC.
|
253
252
|
#
|
@@ -258,7 +257,7 @@ module Aws::ECS
|
|
258
257
|
# The IDs of the security groups associated with the task or service.
|
259
258
|
# If you don't specify a security group, the default security group
|
260
259
|
# for the VPC is used. There's a limit of 5 security groups that can
|
261
|
-
# be specified
|
260
|
+
# be specified.
|
262
261
|
#
|
263
262
|
# <note markdown="1"> All specified security groups must be from the same VPC.
|
264
263
|
#
|
@@ -267,7 +266,15 @@ module Aws::ECS
|
|
267
266
|
#
|
268
267
|
# @!attribute [rw] assign_public_ip
|
269
268
|
# Whether the task's elastic network interface receives a public IP
|
270
|
-
# address.
|
269
|
+
# address.
|
270
|
+
#
|
271
|
+
# Consider the following when you set this value:
|
272
|
+
#
|
273
|
+
# * When you use `create-service` or `update-service`, the default is
|
274
|
+
# `DISABLED`.
|
275
|
+
#
|
276
|
+
# * When the service `deploymentController` is `ECS`, the value must
|
277
|
+
# be `DISABLED`.
|
271
278
|
# @return [String]
|
272
279
|
#
|
273
280
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/AwsVpcConfiguration AWS API Documentation
|
@@ -281,7 +288,7 @@ module Aws::ECS
|
|
281
288
|
end
|
282
289
|
|
283
290
|
# Your Amazon Web Services account was blocked. For more information,
|
284
|
-
# contact [ Amazon Web
|
291
|
+
# contact [ Amazon Web ServicesSupport][1].
|
285
292
|
#
|
286
293
|
#
|
287
294
|
#
|
@@ -836,8 +843,8 @@ module Aws::ECS
|
|
836
843
|
# Map namespace that's used when you create a service and don't
|
837
844
|
# specify a Service Connect configuration. The namespace name can
|
838
845
|
# include up to 1024 characters. The name is case-sensitive. The name
|
839
|
-
# can't include
|
840
|
-
#
|
846
|
+
# can't include greater than (>), less than (<), double
|
847
|
+
# quotation marks ("), or slash (/).
|
841
848
|
#
|
842
849
|
# If you enter an existing namespace name or ARN, then that namespace
|
843
850
|
# will be used. Any namespace type is supported. The namespace must be
|
@@ -1378,9 +1385,9 @@ module Aws::ECS
|
|
1378
1385
|
# @return [Array<Types::VolumeFrom>]
|
1379
1386
|
#
|
1380
1387
|
# @!attribute [rw] linux_parameters
|
1381
|
-
# Linux-specific modifications that are applied to the
|
1382
|
-
# as Linux kernel capabilities. For more
|
1383
|
-
# [KernelCapabilities][1].
|
1388
|
+
# Linux-specific modifications that are applied to the default Docker
|
1389
|
+
# container configuration, such as Linux kernel capabilities. For more
|
1390
|
+
# information see [KernelCapabilities][1].
|
1384
1391
|
#
|
1385
1392
|
# <note markdown="1"> This parameter is not supported for Windows containers.
|
1386
1393
|
#
|
@@ -2651,8 +2658,8 @@ module Aws::ECS
|
|
2651
2658
|
# service.
|
2652
2659
|
#
|
2653
2660
|
# For more information, see [Balancing an Amazon ECS service across
|
2654
|
-
# Availability Zones][1] in the
|
2655
|
-
# Developer Guide
|
2661
|
+
# Availability Zones][1] in the <i> <i>Amazon Elastic Container
|
2662
|
+
# Service Developer Guide</i> </i>.
|
2656
2663
|
#
|
2657
2664
|
#
|
2658
2665
|
#
|
@@ -5416,10 +5423,16 @@ module Aws::ECS
|
|
5416
5423
|
# * Container health checks aren't supported for tasks that are part of
|
5417
5424
|
# a service that's configured to use a Classic Load Balancer.
|
5418
5425
|
#
|
5426
|
+
# For an example of how to specify a task definition with multiple
|
5427
|
+
# containers where container dependency is specified, see [Container
|
5428
|
+
# dependency][3] in the *Amazon Elastic Container Service Developer
|
5429
|
+
# Guide*.
|
5430
|
+
#
|
5419
5431
|
#
|
5420
5432
|
#
|
5421
5433
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html
|
5422
5434
|
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html
|
5435
|
+
# [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/example_task_definitions.html#example_task_definition-containerdependency
|
5423
5436
|
#
|
5424
5437
|
# @!attribute [rw] command
|
5425
5438
|
# A string array representing the command that the container runs to
|
@@ -5446,26 +5459,29 @@ module Aws::ECS
|
|
5446
5459
|
# @!attribute [rw] interval
|
5447
5460
|
# The time period in seconds between each health check execution. You
|
5448
5461
|
# may specify between 5 and 300 seconds. The default value is 30
|
5449
|
-
# seconds.
|
5462
|
+
# seconds. This value applies only when you specify a `command`.
|
5450
5463
|
# @return [Integer]
|
5451
5464
|
#
|
5452
5465
|
# @!attribute [rw] timeout
|
5453
5466
|
# The time period in seconds to wait for a health check to succeed
|
5454
5467
|
# before it is considered a failure. You may specify between 2 and 60
|
5455
|
-
# seconds. The default value is 5.
|
5468
|
+
# seconds. The default value is 5. This value applies only when you
|
5469
|
+
# specify a `command`.
|
5456
5470
|
# @return [Integer]
|
5457
5471
|
#
|
5458
5472
|
# @!attribute [rw] retries
|
5459
5473
|
# The number of times to retry a failed health check before the
|
5460
5474
|
# container is considered unhealthy. You may specify between 1 and 10
|
5461
|
-
# retries. The default value is 3.
|
5475
|
+
# retries. The default value is 3. This value applies only when you
|
5476
|
+
# specify a `command`.
|
5462
5477
|
# @return [Integer]
|
5463
5478
|
#
|
5464
5479
|
# @!attribute [rw] start_period
|
5465
5480
|
# The optional grace period to provide containers time to bootstrap
|
5466
5481
|
# before failed health checks count towards the maximum number of
|
5467
5482
|
# retries. You can specify between 0 and 300 seconds. By default, the
|
5468
|
-
# `startPeriod` is off.
|
5483
|
+
# `startPeriod` is off. This value applies only when you specify a
|
5484
|
+
# `command`.
|
5469
5485
|
#
|
5470
5486
|
# <note markdown="1"> If a health check succeeds within the `startPeriod`, then the
|
5471
5487
|
# container is considered healthy and any subsequent failures count
|
@@ -5631,6 +5647,13 @@ module Aws::ECS
|
|
5631
5647
|
# The specified parameter isn't valid. Review the available parameters
|
5632
5648
|
# for the API request.
|
5633
5649
|
#
|
5650
|
+
# For more information about service event errors, see [Amazon ECS
|
5651
|
+
# service event messages][1].
|
5652
|
+
#
|
5653
|
+
#
|
5654
|
+
#
|
5655
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-event-messages-list.html
|
5656
|
+
#
|
5634
5657
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/InvalidParameterException AWS API Documentation
|
5635
5658
|
#
|
5636
5659
|
class InvalidParameterException < Aws::EmptyStructure; end
|
@@ -5640,9 +5663,36 @@ module Aws::ECS
|
|
5640
5663
|
# detailed information about these Linux capabilities, see the
|
5641
5664
|
# [capabilities(7)][1] Linux manual page.
|
5642
5665
|
#
|
5666
|
+
# The following describes how Docker processes the Linux capabilities
|
5667
|
+
# specified in the `add` and `drop` request parameters. For information
|
5668
|
+
# about the latest behavior, see [Docker Compose: order of cap\_drop and
|
5669
|
+
# cap\_add][2] in the Docker Community Forum.
|
5670
|
+
#
|
5671
|
+
# * When the container is a privleged container, the container
|
5672
|
+
# capabilities are all of the default Docker capabilities. The
|
5673
|
+
# capabilities specified in the `add` request parameter, and the
|
5674
|
+
# `drop` request parameter are ignored.
|
5675
|
+
#
|
5676
|
+
# * When the `add` request parameter is set to ALL, the container
|
5677
|
+
# capabilities are all of the default Docker capabilities, excluding
|
5678
|
+
# those specified in the `drop` request parameter.
|
5679
|
+
#
|
5680
|
+
# * When the `drop` request parameter is set to ALL, the container
|
5681
|
+
# capabilities are the capabilities specified in the `add` request
|
5682
|
+
# parameter.
|
5683
|
+
#
|
5684
|
+
# * When the `add` request parameter and the `drop` request parameter
|
5685
|
+
# are both empty, the capabilities the container capabilities are all
|
5686
|
+
# of the default Docker capabilities.
|
5687
|
+
#
|
5688
|
+
# * The default is to first drop the capabilities specified in the
|
5689
|
+
# `drop` request parameter, and then add the capabilities specified in
|
5690
|
+
# the `add` request parameter.
|
5691
|
+
#
|
5643
5692
|
#
|
5644
5693
|
#
|
5645
5694
|
# [1]: http://man7.org/linux/man-pages/man7/capabilities.7.html
|
5695
|
+
# [2]: https://forums.docker.com/t/docker-compose-order-of-cap-drop-and-cap-add/97136/1
|
5646
5696
|
#
|
5647
5697
|
# @!attribute [rw] add
|
5648
5698
|
# The Linux capabilities for the container that have been added to the
|
@@ -7200,11 +7250,15 @@ module Aws::ECS
|
|
7200
7250
|
# @!attribute [rw] kms_key_id
|
7201
7251
|
# Specify a Key Management Service key ID to encrypt the managed
|
7202
7252
|
# storage.
|
7253
|
+
#
|
7254
|
+
# The key must be a single Region key.
|
7203
7255
|
# @return [String]
|
7204
7256
|
#
|
7205
7257
|
# @!attribute [rw] fargate_ephemeral_storage_kms_key_id
|
7206
7258
|
# Specify the Key Management Service key ID for the Fargate ephemeral
|
7207
7259
|
# storage.
|
7260
|
+
#
|
7261
|
+
# The key must be a single Region key.
|
7208
7262
|
# @return [String]
|
7209
7263
|
#
|
7210
7264
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ManagedStorageConfiguration AWS API Documentation
|
@@ -8014,11 +8068,6 @@ module Aws::ECS
|
|
8014
8068
|
# the resource. You must turn on this setting to use Amazon ECS
|
8015
8069
|
# features such as resource tagging.
|
8016
8070
|
#
|
8017
|
-
# * `fargateFIPSMode` - When turned on, you can run Fargate workloads
|
8018
|
-
# in a manner that is compliant with Federal Information Processing
|
8019
|
-
# Standard (FIPS-140). For more information, see [Fargate Federal
|
8020
|
-
# Information Processing Standard (FIPS-140)][1].
|
8021
|
-
#
|
8022
8071
|
# * `containerInstanceLongArnFormat` - When modified, the Amazon
|
8023
8072
|
# Resource Name (ARN) and resource ID format of the resource type
|
8024
8073
|
# for a specified user, role, or the root user for an account is
|
@@ -8033,7 +8082,7 @@ module Aws::ECS
|
|
8033
8082
|
# feature is changed. If `awsvpcTrunking` is turned on, any new
|
8034
8083
|
# container instances that support the feature are launched have the
|
8035
8084
|
# increased ENI limits available to them. For more information, see
|
8036
|
-
# [Elastic Network Interface Trunking][
|
8085
|
+
# [Elastic Network Interface Trunking][1] in the *Amazon Elastic
|
8037
8086
|
# Container Service Developer Guide*.
|
8038
8087
|
#
|
8039
8088
|
# * `containerInsights` - Container Insights with enhanced
|
@@ -8054,15 +8103,15 @@ module Aws::ECS
|
|
8054
8103
|
# setting to `enabled`.
|
8055
8104
|
#
|
8056
8105
|
# For more information, see [Monitor Amazon ECS containers using
|
8057
|
-
# Container Insights with enhanced observability][
|
8106
|
+
# Container Insights with enhanced observability][2] in the *Amazon
|
8058
8107
|
# Elastic Container Service Developer Guide*.
|
8059
8108
|
#
|
8060
8109
|
# * `dualStackIPv6` - When turned on, when using a VPC in dual stack
|
8061
8110
|
# mode, your tasks using the `awsvpc` network mode can have an IPv6
|
8062
8111
|
# address assigned. For more information on using IPv6 with tasks
|
8063
8112
|
# launched on Amazon EC2 instances, see [Using a VPC in dual-stack
|
8064
|
-
# mode][
|
8065
|
-
# on Fargate, see [Using a VPC in dual-stack mode][
|
8113
|
+
# mode][3]. For more information on using IPv6 with tasks launched
|
8114
|
+
# on Fargate, see [Using a VPC in dual-stack mode][4].
|
8066
8115
|
#
|
8067
8116
|
# * `fargateTaskRetirementWaitPeriod` - When Amazon Web Services
|
8068
8117
|
# determines that a security or infrastructure update is needed for
|
@@ -8070,7 +8119,7 @@ module Aws::ECS
|
|
8070
8119
|
# and new tasks launched to replace them. Use
|
8071
8120
|
# `fargateTaskRetirementWaitPeriod` to configure the wait time to
|
8072
8121
|
# retire a Fargate task. For information about the Fargate tasks
|
8073
|
-
# maintenance, see [Amazon Web Services Fargate task maintenance][
|
8122
|
+
# maintenance, see [Amazon Web Services Fargate task maintenance][5]
|
8074
8123
|
# in the *Amazon ECS Developer Guide*.
|
8075
8124
|
#
|
8076
8125
|
# * `tagResourceAuthorization` - Amazon ECS is introducing tagging
|
@@ -8081,25 +8130,24 @@ module Aws::ECS
|
|
8081
8130
|
# roles have permissions to create tags. Therefore, you must grant
|
8082
8131
|
# explicit permissions to use the `ecs:TagResource` action. For more
|
8083
8132
|
# information, see [Grant permission to tag resources on
|
8084
|
-
# creation][
|
8133
|
+
# creation][6] in the *Amazon ECS Developer Guide*.
|
8085
8134
|
#
|
8086
8135
|
# * `guardDutyActivate` - The `guardDutyActivate` parameter is
|
8087
8136
|
# read-only in Amazon ECS and indicates whether Amazon ECS Runtime
|
8088
8137
|
# Monitoring is enabled or disabled by your security administrator
|
8089
8138
|
# in your Amazon ECS account. Amazon GuardDuty controls this account
|
8090
8139
|
# setting on your behalf. For more information, see [Protecting
|
8091
|
-
# Amazon ECS workloads with Amazon ECS Runtime Monitoring][
|
8140
|
+
# Amazon ECS workloads with Amazon ECS Runtime Monitoring][7].
|
8092
8141
|
#
|
8093
8142
|
#
|
8094
8143
|
#
|
8095
|
-
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/
|
8096
|
-
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-
|
8097
|
-
# [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/
|
8098
|
-
# [4]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking
|
8099
|
-
# [5]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/
|
8100
|
-
# [6]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/
|
8101
|
-
# [7]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/
|
8102
|
-
# [8]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-guard-duty-integration.html
|
8144
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-instance-eni.html
|
8145
|
+
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cloudwatch-container-insights.html
|
8146
|
+
# [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking-awsvpc.html#task-networking-vpc-dual-stack
|
8147
|
+
# [4]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/fargate-task-networking.html#fargate-task-networking-vpc-dual-stack
|
8148
|
+
# [5]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-maintenance.html
|
8149
|
+
# [6]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/supported-iam-actions-tagging.html
|
8150
|
+
# [7]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-guard-duty-integration.html
|
8103
8151
|
# @return [String]
|
8104
8152
|
#
|
8105
8153
|
# @!attribute [rw] value
|
@@ -8481,10 +8529,10 @@ module Aws::ECS
|
|
8481
8529
|
#
|
8482
8530
|
# </note>
|
8483
8531
|
#
|
8484
|
-
# If you're using the EC2 launch type
|
8485
|
-
# Supported values are between `128` CPU units
|
8486
|
-
# `
|
8487
|
-
# parameter is ignored.
|
8532
|
+
# If you're using the EC2 launch type or external launch type, this
|
8533
|
+
# field is optional. Supported values are between `128` CPU units
|
8534
|
+
# (`0.125` vCPUs) and `196608` CPU units (`192` vCPUs). If you do not
|
8535
|
+
# specify a value, the parameter is ignored.
|
8488
8536
|
#
|
8489
8537
|
# If you're using the Fargate launch type, this field is required and
|
8490
8538
|
# you must use one of the following values, which determines your
|
@@ -9613,8 +9661,8 @@ module Aws::ECS
|
|
9613
9661
|
# service.
|
9614
9662
|
#
|
9615
9663
|
# For more information, see [Balancing an Amazon ECS service across
|
9616
|
-
# Availability Zones][1] in the
|
9617
|
-
# Developer Guide
|
9664
|
+
# Availability Zones][1] in the <i> <i>Amazon Elastic Container
|
9665
|
+
# Service Developer Guide</i> </i>.
|
9618
9666
|
#
|
9619
9667
|
#
|
9620
9668
|
#
|
@@ -10994,7 +11042,7 @@ module Aws::ECS
|
|
10994
11042
|
# @return [String]
|
10995
11043
|
#
|
10996
11044
|
# @!attribute [rw] task
|
10997
|
-
#
|
11045
|
+
# Thefull Amazon Resource Name (ARN) of the task.
|
10998
11046
|
# @return [String]
|
10999
11047
|
#
|
11000
11048
|
# @!attribute [rw] reason
|
@@ -11317,6 +11365,25 @@ module Aws::ECS
|
|
11317
11365
|
# Currently, the supported resources are Amazon ECS capacity
|
11318
11366
|
# providers, tasks, services, task definitions, clusters, and
|
11319
11367
|
# container instances.
|
11368
|
+
#
|
11369
|
+
# In order to tag a service that has the following ARN format, you
|
11370
|
+
# need to migrate the service to the long ARN. For more information,
|
11371
|
+
# see [Migrate an Amazon ECS short service ARN to a long ARN][1] in
|
11372
|
+
# the *Amazon Elastic Container Service Developer Guide*.
|
11373
|
+
#
|
11374
|
+
# `arn:aws:ecs:region:aws_account_id:service/service-name`
|
11375
|
+
#
|
11376
|
+
# After the migration is complete, the service has the long ARN
|
11377
|
+
# format, as shown below. Use this ARN to tag the service.
|
11378
|
+
#
|
11379
|
+
# `arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name`
|
11380
|
+
#
|
11381
|
+
# If you try to tag a service with a short ARN, you receive an
|
11382
|
+
# `InvalidParameterException` error.
|
11383
|
+
#
|
11384
|
+
#
|
11385
|
+
#
|
11386
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-arn-migration.html
|
11320
11387
|
# @return [String]
|
11321
11388
|
#
|
11322
11389
|
# @!attribute [rw] tags
|
@@ -11444,13 +11511,14 @@ module Aws::ECS
|
|
11444
11511
|
# an integer that indicates the CPU units when the task definition is
|
11445
11512
|
# registered.
|
11446
11513
|
#
|
11447
|
-
# If you
|
11448
|
-
# values are between `128` CPU units
|
11449
|
-
# units (`
|
11514
|
+
# If you're using the EC2 launch type or the external launch type,
|
11515
|
+
# this field is optional. Supported values are between `128` CPU units
|
11516
|
+
# (`0.125` vCPUs) and `196608` CPU units (`192` vCPUs). If you do not
|
11517
|
+
# specify a value, the parameter is ignored.
|
11450
11518
|
#
|
11451
|
-
# If you
|
11452
|
-
# use one of the following values. These values determine the
|
11453
|
-
# supported values for the `memory` parameter:
|
11519
|
+
# If you're using the Fargate launch type, this field is required.
|
11520
|
+
# You must use one of the following values. These values determine the
|
11521
|
+
# range of supported values for the `memory` parameter:
|
11454
11522
|
#
|
11455
11523
|
# The CPU units cannot be less than 1 vCPU when you use Windows
|
11456
11524
|
# containers on Fargate.
|
@@ -11961,12 +12029,11 @@ module Aws::ECS
|
|
11961
12029
|
# one of the following values. The value that you choose determines
|
11962
12030
|
# your range of valid values for the `memory` parameter.
|
11963
12031
|
#
|
11964
|
-
# If you
|
11965
|
-
# values are between `128` CPU units
|
11966
|
-
# units (`
|
11967
|
-
#
|
11968
|
-
#
|
11969
|
-
# containers on Fargate.
|
12032
|
+
# If you're using the EC2 launch type or the external launch type,
|
12033
|
+
# this field is optional. Supported values are between `128` CPU units
|
12034
|
+
# (`0.125` vCPUs) and `196608` CPU units (`192` vCPUs). The CPU units
|
12035
|
+
# cannot be less than 1 vCPU when you use Windows containers on
|
12036
|
+
# Fargate.
|
11970
12037
|
#
|
11971
12038
|
# * 256 (.25 vCPU) - Available `memory` values: 512 (0.5 GB), 1024 (1
|
11972
12039
|
# GB), 2048 (2 GB)
|
@@ -13280,8 +13347,8 @@ module Aws::ECS
|
|
13280
13347
|
# service.
|
13281
13348
|
#
|
13282
13349
|
# For more information, see [Balancing an Amazon ECS service across
|
13283
|
-
# Availability Zones][1] in the
|
13284
|
-
# Developer Guide
|
13350
|
+
# Availability Zones][1] in the <i> <i>Amazon Elastic Container
|
13351
|
+
# Service Developer Guide</i> </i>.
|
13285
13352
|
#
|
13286
13353
|
#
|
13287
13354
|
#
|
data/lib/aws-sdk-ecs.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -39,7 +39,9 @@ module Aws
|
|
39
39
|
?logger: untyped,
|
40
40
|
?max_attempts: Integer,
|
41
41
|
?profile: String,
|
42
|
+
?request_checksum_calculation: String,
|
42
43
|
?request_min_compression_size_bytes: Integer,
|
44
|
+
?response_checksum_validation: String,
|
43
45
|
?retry_backoff: Proc,
|
44
46
|
?retry_base_delay: Float,
|
45
47
|
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
data/sig/resource.rbs
CHANGED
@@ -39,7 +39,9 @@ module Aws
|
|
39
39
|
?logger: untyped,
|
40
40
|
?max_attempts: Integer,
|
41
41
|
?profile: String,
|
42
|
+
?request_checksum_calculation: String,
|
42
43
|
?request_min_compression_size_bytes: Integer,
|
44
|
+
?response_checksum_validation: String,
|
43
45
|
?retry_backoff: Proc,
|
44
46
|
?retry_base_delay: Float,
|
45
47
|
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
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.182.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:
|
11
|
+
date: 2025-03-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.216.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.216.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|