aws-sdk-ecs 1.171.0 → 1.173.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 +34 -18
- data/lib/aws-sdk-ecs/client_api.rb +2 -0
- data/lib/aws-sdk-ecs/types.rb +68 -24
- data/lib/aws-sdk-ecs.rb +1 -1
- data/sig/client.rbs +2 -1
- data/sig/types.rbs +2 -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: 0b7b5db14d446165f70a152e4c9589026089ddb9aacd8b5ca6c6471e09e28e8c
|
4
|
+
data.tar.gz: 1e7fc9d1c5809e152bf609aedca5cf57a438122c0c3f61ebb5d8c2249e0a620b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 23e8ef3d922f2283ae7e10ba1371856fc14122ca252182e31ed441cae3ea65ecf637f641b04b39aa081c56b339648214cb41c5514141d1c1b5259ec159c1dc20
|
7
|
+
data.tar.gz: c070dc46c15486aac753dca5730b271fa482c65aa7f08de836c835fefb6988c5018af286ae3e280a58e8d1bd9ca3e6464ac237cd481fc39eceee6fce6971ddb8
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.173.0 (2024-12-17)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Added support for enableFaultInjection task definition parameter which can be used to enable Fault Injection feature on ECS tasks.
|
8
|
+
|
9
|
+
1.172.0 (2024-12-09)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This is a documentation only update to address various tickets for Amazon ECS.
|
13
|
+
|
4
14
|
1.171.0 (2024-12-02)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.173.0
|
data/lib/aws-sdk-ecs/client.rb
CHANGED
@@ -1105,7 +1105,7 @@ module Aws::ECS
|
|
1105
1105
|
# `launchType` is specified, the `defaultCapacityProviderStrategy` for
|
1106
1106
|
# the cluster is used.
|
1107
1107
|
#
|
1108
|
-
# A capacity provider strategy
|
1108
|
+
# A capacity provider strategy can contain a maximum of 20 capacity
|
1109
1109
|
# providers.
|
1110
1110
|
#
|
1111
1111
|
# @option params [String] :platform_version
|
@@ -2820,6 +2820,7 @@ module Aws::ECS
|
|
2820
2820
|
# resp.task_definitions[0].deregistered_at #=> Time
|
2821
2821
|
# resp.task_definitions[0].registered_by #=> String
|
2822
2822
|
# resp.task_definitions[0].ephemeral_storage.size_in_gi_b #=> Integer
|
2823
|
+
# resp.task_definitions[0].enable_fault_injection #=> Boolean
|
2823
2824
|
# resp.failures #=> Array
|
2824
2825
|
# resp.failures[0].arn #=> String
|
2825
2826
|
# resp.failures[0].reason #=> String
|
@@ -3282,6 +3283,7 @@ module Aws::ECS
|
|
3282
3283
|
# resp.task_definition.deregistered_at #=> Time
|
3283
3284
|
# resp.task_definition.registered_by #=> String
|
3284
3285
|
# resp.task_definition.ephemeral_storage.size_in_gi_b #=> Integer
|
3286
|
+
# resp.task_definition.enable_fault_injection #=> Boolean
|
3285
3287
|
#
|
3286
3288
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeregisterTaskDefinition AWS API Documentation
|
3287
3289
|
#
|
@@ -4453,6 +4455,7 @@ module Aws::ECS
|
|
4453
4455
|
# resp.task_definition.deregistered_at #=> Time
|
4454
4456
|
# resp.task_definition.registered_by #=> String
|
4455
4457
|
# resp.task_definition.ephemeral_storage.size_in_gi_b #=> Integer
|
4458
|
+
# resp.task_definition.enable_fault_injection #=> Boolean
|
4456
4459
|
# resp.tags #=> Array
|
4457
4460
|
# resp.tags[0].key #=> String
|
4458
4461
|
# resp.tags[0].value #=> String
|
@@ -5396,7 +5399,7 @@ module Aws::ECS
|
|
5396
5399
|
# name or ARN. Starting April 15, 2023, Amazon Web Services will not
|
5397
5400
|
# onboard new customers to Amazon Elastic Inference (EI), and will help
|
5398
5401
|
# current customers migrate their workloads to options that offer better
|
5399
|
-
# price and
|
5402
|
+
# price and performance. If you don't specify a cluster, `default` is
|
5400
5403
|
# used.
|
5401
5404
|
#
|
5402
5405
|
# @option params [Array<String>] :status
|
@@ -6093,6 +6096,11 @@ module Aws::ECS
|
|
6093
6096
|
# You must turn on this setting to use Amazon ECS features such as
|
6094
6097
|
# resource tagging.
|
6095
6098
|
#
|
6099
|
+
# * `fargateFIPSMode` - When turned on, you can run Fargate workloads in
|
6100
|
+
# a manner that is compliant with Federal Information Processing
|
6101
|
+
# Standard (FIPS-140). For more information, see [Fargate Federal
|
6102
|
+
# Information Processing Standard (FIPS-140)][1].
|
6103
|
+
#
|
6096
6104
|
# * `containerInstanceLongArnFormat` - When modified, the Amazon
|
6097
6105
|
# Resource Name (ARN) and resource ID format of the resource type for
|
6098
6106
|
# a specified user, role, or the root user for an account is affected.
|
@@ -6107,7 +6115,7 @@ module Aws::ECS
|
|
6107
6115
|
# is changed. If `awsvpcTrunking` is turned on, any new container
|
6108
6116
|
# instances that support the feature are launched have the increased
|
6109
6117
|
# ENI limits available to them. For more information, see [Elastic
|
6110
|
-
# Network Interface Trunking][
|
6118
|
+
# Network Interface Trunking][2] in the *Amazon Elastic Container
|
6111
6119
|
# Service Developer Guide*.
|
6112
6120
|
#
|
6113
6121
|
# * `containerInsights` - Container Insights with enhanced observability
|
@@ -6128,15 +6136,15 @@ module Aws::ECS
|
|
6128
6136
|
# setting to `enabled`.
|
6129
6137
|
#
|
6130
6138
|
# For more information, see [Monitor Amazon ECS containers using
|
6131
|
-
# Container Insights with enhanced observability][
|
6139
|
+
# Container Insights with enhanced observability][3] in the *Amazon
|
6132
6140
|
# Elastic Container Service Developer Guide*.
|
6133
6141
|
#
|
6134
6142
|
# * `dualStackIPv6` - When turned on, when using a VPC in dual stack
|
6135
6143
|
# mode, your tasks using the `awsvpc` network mode can have an IPv6
|
6136
6144
|
# address assigned. For more information on using IPv6 with tasks
|
6137
6145
|
# launched on Amazon EC2 instances, see [Using a VPC in dual-stack
|
6138
|
-
# mode][
|
6139
|
-
# Fargate, see [Using a VPC in dual-stack mode][
|
6146
|
+
# mode][4]. For more information on using IPv6 with tasks launched on
|
6147
|
+
# Fargate, see [Using a VPC in dual-stack mode][5].
|
6140
6148
|
#
|
6141
6149
|
# * `fargateTaskRetirementWaitPeriod` - When Amazon Web Services
|
6142
6150
|
# determines that a security or infrastructure update is needed for an
|
@@ -6144,7 +6152,7 @@ module Aws::ECS
|
|
6144
6152
|
# new tasks launched to replace them. Use
|
6145
6153
|
# `fargateTaskRetirementWaitPeriod` to configure the wait time to
|
6146
6154
|
# retire a Fargate task. For information about the Fargate tasks
|
6147
|
-
# maintenance, see [Amazon Web Services Fargate task maintenance][
|
6155
|
+
# maintenance, see [Amazon Web Services Fargate task maintenance][6]
|
6148
6156
|
# in the *Amazon ECS Developer Guide*.
|
6149
6157
|
#
|
6150
6158
|
# * `tagResourceAuthorization` - Amazon ECS is introducing tagging
|
@@ -6154,7 +6162,7 @@ module Aws::ECS
|
|
6154
6162
|
# performs additional authorization to verify if users or roles have
|
6155
6163
|
# permissions to create tags. Therefore, you must grant explicit
|
6156
6164
|
# permissions to use the `ecs:TagResource` action. For more
|
6157
|
-
# information, see [Grant permission to tag resources on creation][
|
6165
|
+
# information, see [Grant permission to tag resources on creation][7]
|
6158
6166
|
# in the *Amazon ECS Developer Guide*.
|
6159
6167
|
#
|
6160
6168
|
# * `guardDutyActivate` - The `guardDutyActivate` parameter is read-only
|
@@ -6162,17 +6170,18 @@ module Aws::ECS
|
|
6162
6170
|
# enabled or disabled by your security administrator in your Amazon
|
6163
6171
|
# ECS account. Amazon GuardDuty controls this account setting on your
|
6164
6172
|
# behalf. For more information, see [Protecting Amazon ECS workloads
|
6165
|
-
# with Amazon ECS Runtime Monitoring][
|
6173
|
+
# with Amazon ECS Runtime Monitoring][8].
|
6166
6174
|
#
|
6167
6175
|
#
|
6168
6176
|
#
|
6169
|
-
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/
|
6170
|
-
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/
|
6171
|
-
# [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/
|
6172
|
-
# [4]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/
|
6173
|
-
# [5]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-
|
6174
|
-
# [6]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/
|
6175
|
-
# [7]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/
|
6177
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-fips-compliance.html
|
6178
|
+
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-instance-eni.html
|
6179
|
+
# [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cloudwatch-container-insights.html
|
6180
|
+
# [4]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking-awsvpc.html#task-networking-vpc-dual-stack
|
6181
|
+
# [5]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/fargate-task-networking.html#fargate-task-networking-vpc-dual-stack
|
6182
|
+
# [6]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-maintenance.html
|
6183
|
+
# [7]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/supported-iam-actions-tagging.html
|
6184
|
+
# [8]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-guard-duty-integration.html
|
6176
6185
|
#
|
6177
6186
|
# @option params [required, String] :value
|
6178
6187
|
# The account setting value for the specified principal ARN. Accepted
|
@@ -7187,6 +7196,11 @@ module Aws::ECS
|
|
7187
7196
|
# The operating system that your tasks definitions run on. A platform
|
7188
7197
|
# family is specified only for tasks using the Fargate launch type.
|
7189
7198
|
#
|
7199
|
+
# @option params [Boolean] :enable_fault_injection
|
7200
|
+
# Enables fault injection when you register your task definition and
|
7201
|
+
# allows for fault injection requests to be accepted from the task's
|
7202
|
+
# containers. The default value is `false`.
|
7203
|
+
#
|
7190
7204
|
# @return [Types::RegisterTaskDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7191
7205
|
#
|
7192
7206
|
# * {Types::RegisterTaskDefinitionResponse#task_definition #task_definition} => Types::TaskDefinition
|
@@ -7494,6 +7508,7 @@ module Aws::ECS
|
|
7494
7508
|
# cpu_architecture: "X86_64", # accepts X86_64, ARM64
|
7495
7509
|
# operating_system_family: "WINDOWS_SERVER_2019_FULL", # accepts WINDOWS_SERVER_2019_FULL, WINDOWS_SERVER_2019_CORE, WINDOWS_SERVER_2016_FULL, WINDOWS_SERVER_2004_CORE, WINDOWS_SERVER_2022_CORE, WINDOWS_SERVER_2022_FULL, WINDOWS_SERVER_20H2_CORE, LINUX
|
7496
7510
|
# },
|
7511
|
+
# enable_fault_injection: false,
|
7497
7512
|
# })
|
7498
7513
|
#
|
7499
7514
|
# @example Response structure
|
@@ -7667,6 +7682,7 @@ module Aws::ECS
|
|
7667
7682
|
# resp.task_definition.deregistered_at #=> Time
|
7668
7683
|
# resp.task_definition.registered_by #=> String
|
7669
7684
|
# resp.task_definition.ephemeral_storage.size_in_gi_b #=> Integer
|
7685
|
+
# resp.task_definition.enable_fault_injection #=> Boolean
|
7670
7686
|
# resp.tags #=> Array
|
7671
7687
|
# resp.tags[0].key #=> String
|
7672
7688
|
# resp.tags[0].value #=> String
|
@@ -7744,7 +7760,7 @@ module Aws::ECS
|
|
7744
7760
|
# When you use cluster auto scaling, you must specify
|
7745
7761
|
# `capacityProviderStrategy` and not `launchType`.
|
7746
7762
|
#
|
7747
|
-
# A capacity provider strategy
|
7763
|
+
# A capacity provider strategy can contain a maximum of 20 capacity
|
7748
7764
|
# providers.
|
7749
7765
|
#
|
7750
7766
|
# @option params [String] :cluster
|
@@ -10833,7 +10849,7 @@ module Aws::ECS
|
|
10833
10849
|
tracer: tracer
|
10834
10850
|
)
|
10835
10851
|
context[:gem_name] = 'aws-sdk-ecs'
|
10836
|
-
context[:gem_version] = '1.
|
10852
|
+
context[:gem_version] = '1.173.0'
|
10837
10853
|
Seahorse::Client::Request.new(handlers, context)
|
10838
10854
|
end
|
10839
10855
|
|
@@ -1437,6 +1437,7 @@ module Aws::ECS
|
|
1437
1437
|
RegisterTaskDefinitionRequest.add_member(:inference_accelerators, Shapes::ShapeRef.new(shape: InferenceAccelerators, location_name: "inferenceAccelerators"))
|
1438
1438
|
RegisterTaskDefinitionRequest.add_member(:ephemeral_storage, Shapes::ShapeRef.new(shape: EphemeralStorage, location_name: "ephemeralStorage"))
|
1439
1439
|
RegisterTaskDefinitionRequest.add_member(:runtime_platform, Shapes::ShapeRef.new(shape: RuntimePlatform, location_name: "runtimePlatform"))
|
1440
|
+
RegisterTaskDefinitionRequest.add_member(:enable_fault_injection, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "enableFaultInjection"))
|
1440
1441
|
RegisterTaskDefinitionRequest.struct_class = Types::RegisterTaskDefinitionRequest
|
1441
1442
|
|
1442
1443
|
RegisterTaskDefinitionResponse.add_member(:task_definition, Shapes::ShapeRef.new(shape: TaskDefinition, location_name: "taskDefinition"))
|
@@ -1872,6 +1873,7 @@ module Aws::ECS
|
|
1872
1873
|
TaskDefinition.add_member(:deregistered_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "deregisteredAt"))
|
1873
1874
|
TaskDefinition.add_member(:registered_by, Shapes::ShapeRef.new(shape: String, location_name: "registeredBy"))
|
1874
1875
|
TaskDefinition.add_member(:ephemeral_storage, Shapes::ShapeRef.new(shape: EphemeralStorage, location_name: "ephemeralStorage"))
|
1876
|
+
TaskDefinition.add_member(:enable_fault_injection, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "enableFaultInjection"))
|
1875
1877
|
TaskDefinition.struct_class = Types::TaskDefinition
|
1876
1878
|
|
1877
1879
|
TaskDefinitionFieldList.member = Shapes::ShapeRef.new(shape: TaskDefinitionField)
|
data/lib/aws-sdk-ecs/types.rb
CHANGED
@@ -410,7 +410,7 @@ module Aws::ECS
|
|
410
410
|
# supports Linux tasks with the ARM64 architecture on platform version
|
411
411
|
# 1.4.0 or later.
|
412
412
|
#
|
413
|
-
# A capacity provider strategy
|
413
|
+
# A capacity provider strategy can contain a maximum of 20 capacity
|
414
414
|
# providers.
|
415
415
|
#
|
416
416
|
#
|
@@ -2786,7 +2786,7 @@ module Aws::ECS
|
|
2786
2786
|
# `launchType` is specified, the `defaultCapacityProviderStrategy` for
|
2787
2787
|
# the cluster is used.
|
2788
2788
|
#
|
2789
|
-
# A capacity provider strategy
|
2789
|
+
# A capacity provider strategy can contain a maximum of 20 capacity
|
2790
2790
|
# providers.
|
2791
2791
|
# @return [Array<Types::CapacityProviderStrategyItem>]
|
2792
2792
|
#
|
@@ -3849,6 +3849,12 @@ module Aws::ECS
|
|
3849
3849
|
# are available). The default `maximumPercent` value for a service
|
3850
3850
|
# using the `REPLICA` service scheduler is 200%.
|
3851
3851
|
#
|
3852
|
+
# The Amazon ECS scheduler uses this parameter to replace unhealthy
|
3853
|
+
# tasks by starting replacement tasks first and then stopping the
|
3854
|
+
# unhealthy tasks, as long as cluster resources for starting
|
3855
|
+
# replacement tasks are available. For more information about how the
|
3856
|
+
# scheduler replaces unhealthy tasks, see [Amazon ECS services][1].
|
3857
|
+
#
|
3852
3858
|
# If a service is using either the blue/green (`CODE_DEPLOY`) or
|
3853
3859
|
# `EXTERNAL` deployment types, and tasks in the service use the EC2
|
3854
3860
|
# launch type, the **maximum percent** value is set to the default
|
@@ -3863,9 +3869,14 @@ module Aws::ECS
|
|
3863
3869
|
#
|
3864
3870
|
# </note>
|
3865
3871
|
#
|
3866
|
-
# If the
|
3867
|
-
#
|
3868
|
-
#
|
3872
|
+
# If the service uses either the blue/green (`CODE_DEPLOY`) or
|
3873
|
+
# `EXTERNAL` deployment types, and the tasks in the service use the
|
3874
|
+
# Fargate launch type, the maximum percent value is not used. The
|
3875
|
+
# value is still returned when describing your service.
|
3876
|
+
#
|
3877
|
+
#
|
3878
|
+
#
|
3879
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html
|
3869
3880
|
# @return [Integer]
|
3870
3881
|
#
|
3871
3882
|
# @!attribute [rw] minimum_healthy_percent
|
@@ -3880,6 +3891,13 @@ module Aws::ECS
|
|
3880
3891
|
# existing tasks to free up cluster capacity before starting two new
|
3881
3892
|
# tasks.
|
3882
3893
|
#
|
3894
|
+
# If any tasks are unhealthy and if `maximumPercent` doesn't allow
|
3895
|
+
# the Amazon ECS scheduler to start replacement tasks, the scheduler
|
3896
|
+
# stops the unhealthy tasks one-by-one — using the
|
3897
|
+
# `minimumHealthyPercent` as a constraint — to clear up capacity to
|
3898
|
+
# launch replacement tasks. For more information about how the
|
3899
|
+
# scheduler replaces unhealthy tasks, see [Amazon ECS services][1] .
|
3900
|
+
#
|
3883
3901
|
# For services that *do not* use a load balancer, the following should
|
3884
3902
|
# be noted:
|
3885
3903
|
#
|
@@ -3942,6 +3960,10 @@ module Aws::ECS
|
|
3942
3960
|
# `EXTERNAL` deployment types and is running tasks that use the
|
3943
3961
|
# Fargate launch type, the minimum healthy percent value is not used,
|
3944
3962
|
# although it is returned when describing your service.
|
3963
|
+
#
|
3964
|
+
#
|
3965
|
+
#
|
3966
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html
|
3945
3967
|
# @return [Integer]
|
3946
3968
|
#
|
3947
3969
|
# @!attribute [rw] alarms
|
@@ -6127,7 +6149,7 @@ module Aws::ECS
|
|
6127
6149
|
# name or ARN. Starting April 15, 2023, Amazon Web Services will not
|
6128
6150
|
# onboard new customers to Amazon Elastic Inference (EI), and will
|
6129
6151
|
# help current customers migrate their workloads to options that offer
|
6130
|
-
# better price and
|
6152
|
+
# better price and performance. If you don't specify a cluster,
|
6131
6153
|
# `default` is used.
|
6132
6154
|
# @return [String]
|
6133
6155
|
#
|
@@ -6998,7 +7020,8 @@ module Aws::ECS
|
|
6998
7020
|
# When you export logs to Amazon OpenSearch Service, you can specify
|
6999
7021
|
# options like `Name`, `Host` (OpenSearch Service endpoint without
|
7000
7022
|
# protocol), `Port`, `Index`, `Type`, `Aws_auth`, `Aws_region`,
|
7001
|
-
# `Suppress_Type_Name`, and `tls`.
|
7023
|
+
# `Suppress_Type_Name`, and `tls`. For more information, see [Under
|
7024
|
+
# the hood: FireLens for Amazon ECS Tasks][4].
|
7002
7025
|
#
|
7003
7026
|
# When you export logs to Amazon S3, you can specify the bucket using
|
7004
7027
|
# the `bucket` option. You can also specify `region`,
|
@@ -7016,6 +7039,7 @@ module Aws::ECS
|
|
7016
7039
|
# [1]: https://docs.docker.com/config/containers/logging/awslogs/#awslogs-datetime-format
|
7017
7040
|
# [2]: https://docs.docker.com/config/containers/logging/awslogs/#awslogs-multiline-pattern
|
7018
7041
|
# [3]: http://aws.amazon.com/blogs/containers/preventing-log-loss-with-non-blocking-mode-in-the-awslogs-container-log-driver/
|
7042
|
+
# [4]: http://aws.amazon.com/blogs/containers/under-the-hood-firelens-for-amazon-ecs-tasks/
|
7019
7043
|
# @return [Hash<String,String>]
|
7020
7044
|
#
|
7021
7045
|
# @!attribute [rw] secret_options
|
@@ -7990,6 +8014,11 @@ module Aws::ECS
|
|
7990
8014
|
# the resource. You must turn on this setting to use Amazon ECS
|
7991
8015
|
# features such as resource tagging.
|
7992
8016
|
#
|
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
|
+
#
|
7993
8022
|
# * `containerInstanceLongArnFormat` - When modified, the Amazon
|
7994
8023
|
# Resource Name (ARN) and resource ID format of the resource type
|
7995
8024
|
# for a specified user, role, or the root user for an account is
|
@@ -8004,7 +8033,7 @@ module Aws::ECS
|
|
8004
8033
|
# feature is changed. If `awsvpcTrunking` is turned on, any new
|
8005
8034
|
# container instances that support the feature are launched have the
|
8006
8035
|
# increased ENI limits available to them. For more information, see
|
8007
|
-
# [Elastic Network Interface Trunking][
|
8036
|
+
# [Elastic Network Interface Trunking][2] in the *Amazon Elastic
|
8008
8037
|
# Container Service Developer Guide*.
|
8009
8038
|
#
|
8010
8039
|
# * `containerInsights` - Container Insights with enhanced
|
@@ -8025,15 +8054,15 @@ module Aws::ECS
|
|
8025
8054
|
# setting to `enabled`.
|
8026
8055
|
#
|
8027
8056
|
# For more information, see [Monitor Amazon ECS containers using
|
8028
|
-
# Container Insights with enhanced observability][
|
8057
|
+
# Container Insights with enhanced observability][3] in the *Amazon
|
8029
8058
|
# Elastic Container Service Developer Guide*.
|
8030
8059
|
#
|
8031
8060
|
# * `dualStackIPv6` - When turned on, when using a VPC in dual stack
|
8032
8061
|
# mode, your tasks using the `awsvpc` network mode can have an IPv6
|
8033
8062
|
# address assigned. For more information on using IPv6 with tasks
|
8034
8063
|
# launched on Amazon EC2 instances, see [Using a VPC in dual-stack
|
8035
|
-
# mode][
|
8036
|
-
# on Fargate, see [Using a VPC in dual-stack mode][
|
8064
|
+
# mode][4]. For more information on using IPv6 with tasks launched
|
8065
|
+
# on Fargate, see [Using a VPC in dual-stack mode][5].
|
8037
8066
|
#
|
8038
8067
|
# * `fargateTaskRetirementWaitPeriod` - When Amazon Web Services
|
8039
8068
|
# determines that a security or infrastructure update is needed for
|
@@ -8041,7 +8070,7 @@ module Aws::ECS
|
|
8041
8070
|
# and new tasks launched to replace them. Use
|
8042
8071
|
# `fargateTaskRetirementWaitPeriod` to configure the wait time to
|
8043
8072
|
# retire a Fargate task. For information about the Fargate tasks
|
8044
|
-
# maintenance, see [Amazon Web Services Fargate task maintenance][
|
8073
|
+
# maintenance, see [Amazon Web Services Fargate task maintenance][6]
|
8045
8074
|
# in the *Amazon ECS Developer Guide*.
|
8046
8075
|
#
|
8047
8076
|
# * `tagResourceAuthorization` - Amazon ECS is introducing tagging
|
@@ -8052,24 +8081,25 @@ module Aws::ECS
|
|
8052
8081
|
# roles have permissions to create tags. Therefore, you must grant
|
8053
8082
|
# explicit permissions to use the `ecs:TagResource` action. For more
|
8054
8083
|
# information, see [Grant permission to tag resources on
|
8055
|
-
# creation][
|
8084
|
+
# creation][7] in the *Amazon ECS Developer Guide*.
|
8056
8085
|
#
|
8057
8086
|
# * `guardDutyActivate` - The `guardDutyActivate` parameter is
|
8058
8087
|
# read-only in Amazon ECS and indicates whether Amazon ECS Runtime
|
8059
8088
|
# Monitoring is enabled or disabled by your security administrator
|
8060
8089
|
# in your Amazon ECS account. Amazon GuardDuty controls this account
|
8061
8090
|
# setting on your behalf. For more information, see [Protecting
|
8062
|
-
# Amazon ECS workloads with Amazon ECS Runtime Monitoring][
|
8091
|
+
# Amazon ECS workloads with Amazon ECS Runtime Monitoring][8].
|
8063
8092
|
#
|
8064
8093
|
#
|
8065
8094
|
#
|
8066
|
-
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/
|
8067
|
-
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/
|
8068
|
-
# [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/
|
8069
|
-
# [4]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/
|
8070
|
-
# [5]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-
|
8071
|
-
# [6]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/
|
8072
|
-
# [7]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/
|
8095
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-fips-compliance.html
|
8096
|
+
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-instance-eni.html
|
8097
|
+
# [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cloudwatch-container-insights.html
|
8098
|
+
# [4]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking-awsvpc.html#task-networking-vpc-dual-stack
|
8099
|
+
# [5]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/fargate-task-networking.html#fargate-task-networking-vpc-dual-stack
|
8100
|
+
# [6]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-maintenance.html
|
8101
|
+
# [7]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/supported-iam-actions-tagging.html
|
8102
|
+
# [8]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-guard-duty-integration.html
|
8073
8103
|
# @return [String]
|
8074
8104
|
#
|
8075
8105
|
# @!attribute [rw] value
|
@@ -8686,6 +8716,12 @@ module Aws::ECS
|
|
8686
8716
|
# family is specified only for tasks using the Fargate launch type.
|
8687
8717
|
# @return [Types::RuntimePlatform]
|
8688
8718
|
#
|
8719
|
+
# @!attribute [rw] enable_fault_injection
|
8720
|
+
# Enables fault injection when you register your task definition and
|
8721
|
+
# allows for fault injection requests to be accepted from the task's
|
8722
|
+
# containers. The default value is `false`.
|
8723
|
+
# @return [Boolean]
|
8724
|
+
#
|
8689
8725
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RegisterTaskDefinitionRequest AWS API Documentation
|
8690
8726
|
#
|
8691
8727
|
class RegisterTaskDefinitionRequest < Struct.new(
|
@@ -8705,7 +8741,8 @@ module Aws::ECS
|
|
8705
8741
|
:proxy_configuration,
|
8706
8742
|
:inference_accelerators,
|
8707
8743
|
:ephemeral_storage,
|
8708
|
-
:runtime_platform
|
8744
|
+
:runtime_platform,
|
8745
|
+
:enable_fault_injection)
|
8709
8746
|
SENSITIVE = []
|
8710
8747
|
include Aws::Structure
|
8711
8748
|
end
|
@@ -8900,7 +8937,7 @@ module Aws::ECS
|
|
8900
8937
|
# When you use cluster auto scaling, you must specify
|
8901
8938
|
# `capacityProviderStrategy` and not `launchType`.
|
8902
8939
|
#
|
8903
|
-
# A capacity provider strategy
|
8940
|
+
# A capacity provider strategy can contain a maximum of 20 capacity
|
8904
8941
|
# providers.
|
8905
8942
|
# @return [Array<Types::CapacityProviderStrategyItem>]
|
8906
8943
|
#
|
@@ -12111,6 +12148,12 @@ module Aws::ECS
|
|
12111
12148
|
# definition.
|
12112
12149
|
# @return [Types::EphemeralStorage]
|
12113
12150
|
#
|
12151
|
+
# @!attribute [rw] enable_fault_injection
|
12152
|
+
# Enables fault injection and allows for fault injection requests to
|
12153
|
+
# be accepted from the task's containers. The default value is
|
12154
|
+
# `false`.
|
12155
|
+
# @return [Boolean]
|
12156
|
+
#
|
12114
12157
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/TaskDefinition AWS API Documentation
|
12115
12158
|
#
|
12116
12159
|
class TaskDefinition < Struct.new(
|
@@ -12137,7 +12180,8 @@ module Aws::ECS
|
|
12137
12180
|
:registered_at,
|
12138
12181
|
:deregistered_at,
|
12139
12182
|
:registered_by,
|
12140
|
-
:ephemeral_storage
|
12183
|
+
:ephemeral_storage,
|
12184
|
+
:enable_fault_injection)
|
12141
12185
|
SENSITIVE = []
|
12142
12186
|
include Aws::Structure
|
12143
12187
|
end
|
data/lib/aws-sdk-ecs.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -1144,7 +1144,8 @@ module Aws
|
|
1144
1144
|
?runtime_platform: {
|
1145
1145
|
cpu_architecture: ("X86_64" | "ARM64")?,
|
1146
1146
|
operating_system_family: ("WINDOWS_SERVER_2019_FULL" | "WINDOWS_SERVER_2019_CORE" | "WINDOWS_SERVER_2016_FULL" | "WINDOWS_SERVER_2004_CORE" | "WINDOWS_SERVER_2022_CORE" | "WINDOWS_SERVER_2022_FULL" | "WINDOWS_SERVER_20H2_CORE" | "LINUX")?
|
1147
|
-
}
|
1147
|
+
},
|
1148
|
+
?enable_fault_injection: bool
|
1148
1149
|
) -> _RegisterTaskDefinitionResponseSuccess
|
1149
1150
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RegisterTaskDefinitionResponseSuccess
|
1150
1151
|
|
data/sig/types.rbs
CHANGED
@@ -1221,6 +1221,7 @@ module Aws::ECS
|
|
1221
1221
|
attr_accessor inference_accelerators: ::Array[Types::InferenceAccelerator]
|
1222
1222
|
attr_accessor ephemeral_storage: Types::EphemeralStorage
|
1223
1223
|
attr_accessor runtime_platform: Types::RuntimePlatform
|
1224
|
+
attr_accessor enable_fault_injection: bool
|
1224
1225
|
SENSITIVE: []
|
1225
1226
|
end
|
1226
1227
|
|
@@ -1702,6 +1703,7 @@ module Aws::ECS
|
|
1702
1703
|
attr_accessor deregistered_at: ::Time
|
1703
1704
|
attr_accessor registered_by: ::String
|
1704
1705
|
attr_accessor ephemeral_storage: Types::EphemeralStorage
|
1706
|
+
attr_accessor enable_fault_injection: bool
|
1705
1707
|
SENSITIVE: []
|
1706
1708
|
end
|
1707
1709
|
|
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.173.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-12-
|
11
|
+
date: 2024-12-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|