aws-sdk-ecs 1.167.0 → 1.168.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecs/client.rb +100 -77
- data/lib/aws-sdk-ecs/client_api.rb +13 -0
- data/lib/aws-sdk-ecs/types.rb +147 -144
- data/lib/aws-sdk-ecs.rb +1 -1
- data/sig/client.rbs +14 -0
- data/sig/types.rbs +11 -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: 07443fff18cd165b8dcb9e81f7c8f9164ad50ba27aec5bca8a030d773146313c
|
4
|
+
data.tar.gz: 207e30eb645f8ede7155295129fa87d130c894c1833cf5c5748bdb58b23ccf00
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84c6c9bfa89749d652ccee47d719f7a646398034b09b2d464e861c626f44b94a42fdfcb74fa14654df874b161cebf8cdc9481c4e418ca7f2e18593b95e89137c
|
7
|
+
data.tar.gz: 10144105ede09bf2085b6b24dd818a65ff52fc7084733d04b92055b46974103afe2b37f3d36ffc101209836bf735bcb955802a102a1e34444c2ffcf9eca8822e
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.168.0 (2024-11-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds support for adding VPC Lattice configurations in ECS CreateService/UpdateService APIs. The configuration allows for associating VPC Lattice target groups with ECS Services.
|
8
|
+
|
4
9
|
1.167.0 (2024-11-06)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.168.0
|
data/lib/aws-sdk-ecs/client.rb
CHANGED
@@ -562,20 +562,21 @@ module Aws::ECS
|
|
562
562
|
# `default` cluster when you launch your first container instance.
|
563
563
|
# However, you can create your own cluster with a unique name.
|
564
564
|
#
|
565
|
-
# <note markdown="1"> When you call the CreateCluster API operation, Amazon ECS
|
566
|
-
# create the Amazon ECS service-linked role for your
|
567
|
-
# that it can manage required resources in other
|
568
|
-
# services on your behalf. However, if the user that
|
569
|
-
# doesn't have permissions to create the service-linked
|
570
|
-
# created. For more information, see [Using
|
571
|
-
# Amazon ECS][
|
572
|
-
# Guide*.
|
565
|
+
# <note markdown="1"> When you call the [CreateCluster][1] API operation, Amazon ECS
|
566
|
+
# attempts to create the Amazon ECS service-linked role for your
|
567
|
+
# account. This is so that it can manage required resources in other
|
568
|
+
# Amazon Web Services services on your behalf. However, if the user that
|
569
|
+
# makes the call doesn't have permissions to create the service-linked
|
570
|
+
# role, it isn't created. For more information, see [Using
|
571
|
+
# service-linked roles for Amazon ECS][2] in the *Amazon Elastic
|
572
|
+
# Container Service Developer Guide*.
|
573
573
|
#
|
574
574
|
# </note>
|
575
575
|
#
|
576
576
|
#
|
577
577
|
#
|
578
|
-
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/
|
578
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateCluster.html
|
579
|
+
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html
|
579
580
|
#
|
580
581
|
# @option params [String] :cluster_name
|
581
582
|
# The name of your cluster. If you don't specify a name for your
|
@@ -821,8 +822,8 @@ module Aws::ECS
|
|
821
822
|
# Runs and maintains your desired number of tasks from a specified task
|
822
823
|
# definition. If the number of tasks running in a service drops below
|
823
824
|
# the `desiredCount`, Amazon ECS runs another copy of the task in the
|
824
|
-
# specified cluster. To update an existing service,
|
825
|
-
# UpdateService
|
825
|
+
# specified cluster. To update an existing service, use
|
826
|
+
# [UpdateService][1].
|
826
827
|
#
|
827
828
|
# <note markdown="1"> On March 21, 2024, a change was made to resolve the task definition
|
828
829
|
# revision before authorization. When a task definition revision is not
|
@@ -839,13 +840,13 @@ module Aws::ECS
|
|
839
840
|
# you can optionally run your service behind one or more load balancers.
|
840
841
|
# The load balancers distribute traffic across the tasks that are
|
841
842
|
# associated with the service. For more information, see [Service load
|
842
|
-
# balancing][
|
843
|
+
# balancing][2] in the *Amazon Elastic Container Service Developer
|
843
844
|
# Guide*.
|
844
845
|
#
|
845
846
|
# You can attach Amazon EBS volumes to Amazon ECS tasks by configuring
|
846
847
|
# the volume when creating or updating a service. `volumeConfigurations`
|
847
848
|
# is only supported for REPLICA service and not DAEMON service. For more
|
848
|
-
# infomation, see [Amazon EBS volumes][
|
849
|
+
# infomation, see [Amazon EBS volumes][3] in the *Amazon Elastic
|
849
850
|
# Container Service Developer Guide*.
|
850
851
|
#
|
851
852
|
# Tasks for services that don't use a load balancer are considered
|
@@ -860,7 +861,7 @@ module Aws::ECS
|
|
860
861
|
# service scheduler spreads tasks across Availability Zones. You can
|
861
862
|
# use task placement strategies and constraints to customize task
|
862
863
|
# placement decisions. For more information, see [Service scheduler
|
863
|
-
# concepts][
|
864
|
+
# concepts][4] in the *Amazon Elastic Container Service Developer
|
864
865
|
# Guide*.
|
865
866
|
#
|
866
867
|
# * `DAEMON` - The daemon scheduling strategy deploys exactly one task
|
@@ -871,13 +872,13 @@ module Aws::ECS
|
|
871
872
|
# constraints. When using this strategy, you don't need to specify a
|
872
873
|
# desired number of tasks, a task placement strategy, or use Service
|
873
874
|
# Auto Scaling policies. For more information, see [Service scheduler
|
874
|
-
# concepts][
|
875
|
+
# concepts][4] in the *Amazon Elastic Container Service Developer
|
875
876
|
# Guide*.
|
876
877
|
#
|
877
878
|
# You can optionally specify a deployment configuration for your
|
878
879
|
# service. The deployment is initiated by changing properties. For
|
879
880
|
# example, the deployment might be initiated by the task definition or
|
880
|
-
# by your desired count of a service. You can use [UpdateService][
|
881
|
+
# by your desired count of a service. You can use [UpdateService][1].
|
881
882
|
# The default value for a replica service for `minimumHealthyPercent` is
|
882
883
|
# 100%. The default value for a daemon service for
|
883
884
|
# `minimumHealthyPercent` is 0%.
|
@@ -937,10 +938,10 @@ module Aws::ECS
|
|
937
938
|
#
|
938
939
|
#
|
939
940
|
#
|
940
|
-
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/
|
941
|
-
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/
|
942
|
-
# [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/
|
943
|
-
# [4]: https://docs.aws.amazon.com/AmazonECS/latest/
|
941
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_UpdateService.html
|
942
|
+
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-load-balancing.html
|
943
|
+
# [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types
|
944
|
+
# [4]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html
|
944
945
|
# [5]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateTaskSet.html
|
945
946
|
# [6]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html
|
946
947
|
# [7]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement.html
|
@@ -1138,7 +1139,7 @@ module Aws::ECS
|
|
1138
1139
|
#
|
1139
1140
|
# @option params [Types::DeploymentConfiguration] :deployment_configuration
|
1140
1141
|
# Optional deployment parameters that control how many tasks run during
|
1141
|
-
# the deployment and the
|
1142
|
+
# the deployment and the ordering of stopping and starting tasks.
|
1142
1143
|
#
|
1143
1144
|
# @option params [Array<Types::PlacementConstraint>] :placement_constraints
|
1144
1145
|
# An array of placement constraint objects to use for tasks in your
|
@@ -1163,26 +1164,18 @@ module Aws::ECS
|
|
1163
1164
|
#
|
1164
1165
|
# @option params [Integer] :health_check_grace_period_seconds
|
1165
1166
|
# The period of time, in seconds, that the Amazon ECS service scheduler
|
1166
|
-
# ignores unhealthy Elastic Load Balancing
|
1167
|
-
# task has first started.
|
1168
|
-
#
|
1169
|
-
#
|
1170
|
-
#
|
1171
|
-
#
|
1172
|
-
# If
|
1173
|
-
#
|
1174
|
-
#
|
1175
|
-
#
|
1176
|
-
#
|
1177
|
-
#
|
1178
|
-
# period of up to 2,147,483,647 seconds (about 69 years). During that
|
1179
|
-
# time, the Amazon ECS service scheduler ignores health check status.
|
1180
|
-
# This grace period can prevent the service scheduler from marking tasks
|
1181
|
-
# as unhealthy and stopping them before they have time to come up.
|
1182
|
-
#
|
1183
|
-
#
|
1184
|
-
#
|
1185
|
-
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_HealthCheck.html
|
1167
|
+
# ignores unhealthy Elastic Load Balancing, VPC Lattice, and container
|
1168
|
+
# health checks after a task has first started. If you don't specify a
|
1169
|
+
# health check grace period value, the default value of `0` is used. If
|
1170
|
+
# you don't use any of the health checks, then
|
1171
|
+
# `healthCheckGracePeriodSeconds` is unused.
|
1172
|
+
#
|
1173
|
+
# If your service's tasks take a while to start and respond to health
|
1174
|
+
# checks, you can specify a health check grace period of up to
|
1175
|
+
# 2,147,483,647 seconds (about 69 years). During that time, the Amazon
|
1176
|
+
# ECS service scheduler ignores health check status. This grace period
|
1177
|
+
# can prevent the service scheduler from marking tasks as unhealthy and
|
1178
|
+
# stopping them before they have time to come up.
|
1186
1179
|
#
|
1187
1180
|
# @option params [String] :scheduling_strategy
|
1188
1181
|
# The scheduling strategy to use for the service. For more information,
|
@@ -1308,6 +1301,9 @@ module Aws::ECS
|
|
1308
1301
|
# volume that is configured at launch time. Currently, the only
|
1309
1302
|
# supported volume type is an Amazon EBS volume.
|
1310
1303
|
#
|
1304
|
+
# @option params [Array<Types::VpcLatticeConfiguration>] :vpc_lattice_configurations
|
1305
|
+
# The VPC Lattice configuration for the service being created.
|
1306
|
+
#
|
1311
1307
|
# @return [Types::CreateServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1312
1308
|
#
|
1313
1309
|
# * {Types::CreateServiceResponse#service #service} => Types::Service
|
@@ -1578,6 +1574,13 @@ module Aws::ECS
|
|
1578
1574
|
# },
|
1579
1575
|
# },
|
1580
1576
|
# ],
|
1577
|
+
# vpc_lattice_configurations: [
|
1578
|
+
# {
|
1579
|
+
# role_arn: "IAMRoleArn", # required
|
1580
|
+
# target_group_arn: "String", # required
|
1581
|
+
# port_name: "String", # required
|
1582
|
+
# },
|
1583
|
+
# ],
|
1581
1584
|
# })
|
1582
1585
|
#
|
1583
1586
|
# @example Response structure
|
@@ -1724,6 +1727,10 @@ module Aws::ECS
|
|
1724
1727
|
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.role_arn #=> String
|
1725
1728
|
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.filesystem_type #=> String, one of "ext3", "ext4", "xfs", "ntfs"
|
1726
1729
|
# resp.service.deployments[0].fargate_ephemeral_storage.kms_key_id #=> String
|
1730
|
+
# resp.service.deployments[0].vpc_lattice_configurations #=> Array
|
1731
|
+
# resp.service.deployments[0].vpc_lattice_configurations[0].role_arn #=> String
|
1732
|
+
# resp.service.deployments[0].vpc_lattice_configurations[0].target_group_arn #=> String
|
1733
|
+
# resp.service.deployments[0].vpc_lattice_configurations[0].port_name #=> String
|
1727
1734
|
# resp.service.role_arn #=> String
|
1728
1735
|
# resp.service.events #=> Array
|
1729
1736
|
# resp.service.events[0].id #=> String
|
@@ -2535,6 +2542,10 @@ module Aws::ECS
|
|
2535
2542
|
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.role_arn #=> String
|
2536
2543
|
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.filesystem_type #=> String, one of "ext3", "ext4", "xfs", "ntfs"
|
2537
2544
|
# resp.service.deployments[0].fargate_ephemeral_storage.kms_key_id #=> String
|
2545
|
+
# resp.service.deployments[0].vpc_lattice_configurations #=> Array
|
2546
|
+
# resp.service.deployments[0].vpc_lattice_configurations[0].role_arn #=> String
|
2547
|
+
# resp.service.deployments[0].vpc_lattice_configurations[0].target_group_arn #=> String
|
2548
|
+
# resp.service.deployments[0].vpc_lattice_configurations[0].port_name #=> String
|
2538
2549
|
# resp.service.role_arn #=> String
|
2539
2550
|
# resp.service.events #=> Array
|
2540
2551
|
# resp.service.events[0].id #=> String
|
@@ -3852,6 +3863,10 @@ module Aws::ECS
|
|
3852
3863
|
# resp.service_revisions[0].volume_configurations[0].managed_ebs_volume.filesystem_type #=> String, one of "ext3", "ext4", "xfs", "ntfs"
|
3853
3864
|
# resp.service_revisions[0].fargate_ephemeral_storage.kms_key_id #=> String
|
3854
3865
|
# resp.service_revisions[0].created_at #=> Time
|
3866
|
+
# resp.service_revisions[0].vpc_lattice_configurations #=> Array
|
3867
|
+
# resp.service_revisions[0].vpc_lattice_configurations[0].role_arn #=> String
|
3868
|
+
# resp.service_revisions[0].vpc_lattice_configurations[0].target_group_arn #=> String
|
3869
|
+
# resp.service_revisions[0].vpc_lattice_configurations[0].port_name #=> String
|
3855
3870
|
# resp.failures #=> Array
|
3856
3871
|
# resp.failures[0].arn #=> String
|
3857
3872
|
# resp.failures[0].reason #=> String
|
@@ -4097,6 +4112,10 @@ module Aws::ECS
|
|
4097
4112
|
# resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.role_arn #=> String
|
4098
4113
|
# resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.filesystem_type #=> String, one of "ext3", "ext4", "xfs", "ntfs"
|
4099
4114
|
# resp.services[0].deployments[0].fargate_ephemeral_storage.kms_key_id #=> String
|
4115
|
+
# resp.services[0].deployments[0].vpc_lattice_configurations #=> Array
|
4116
|
+
# resp.services[0].deployments[0].vpc_lattice_configurations[0].role_arn #=> String
|
4117
|
+
# resp.services[0].deployments[0].vpc_lattice_configurations[0].target_group_arn #=> String
|
4118
|
+
# resp.services[0].deployments[0].vpc_lattice_configurations[0].port_name #=> String
|
4100
4119
|
# resp.services[0].role_arn #=> String
|
4101
4120
|
# resp.services[0].events #=> Array
|
4102
4121
|
# resp.services[0].events[0].id #=> String
|
@@ -6848,22 +6867,19 @@ module Aws::ECS
|
|
6848
6867
|
# non-root user.
|
6849
6868
|
#
|
6850
6869
|
# If the network mode is `awsvpc`, the task is allocated an elastic
|
6851
|
-
# network interface, and you must specify a NetworkConfiguration
|
6852
|
-
# when you create a service or run a task with the task
|
6853
|
-
# more information, see [Task Networking][
|
6854
|
-
# Container Service Developer Guide*.
|
6870
|
+
# network interface, and you must specify a [NetworkConfiguration][1]
|
6871
|
+
# value when you create a service or run a task with the task
|
6872
|
+
# definition. For more information, see [Task Networking][2] in the
|
6873
|
+
# *Amazon Elastic Container Service Developer Guide*.
|
6855
6874
|
#
|
6856
6875
|
# If the network mode is `host`, you cannot run multiple instantiations
|
6857
6876
|
# of the same task on a single container instance when port mappings are
|
6858
6877
|
# used.
|
6859
6878
|
#
|
6860
|
-
# For more information, see [Network settings][2] in the *Docker run
|
6861
|
-
# reference*.
|
6862
6879
|
#
|
6863
6880
|
#
|
6864
|
-
#
|
6865
|
-
# [
|
6866
|
-
# [2]: https://docs.docker.com/engine/reference/run/#network-settings
|
6881
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_NetworkConfiguration.html
|
6882
|
+
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html
|
6867
6883
|
#
|
6868
6884
|
# @option params [required, Array<Types::ContainerDefinition>] :container_definitions
|
6869
6885
|
# A list of container definitions in JSON format that describe the
|
@@ -7026,12 +7042,10 @@ module Aws::ECS
|
|
7026
7042
|
# the same process namespace.
|
7027
7043
|
#
|
7028
7044
|
# If no value is specified, the default is a private namespace for each
|
7029
|
-
# container.
|
7030
|
-
# run reference*.
|
7045
|
+
# container.
|
7031
7046
|
#
|
7032
7047
|
# If the `host` PID mode is used, there's a heightened risk of
|
7033
|
-
# undesired process namespace exposure.
|
7034
|
-
# [Docker security][2].
|
7048
|
+
# undesired process namespace exposure.
|
7035
7049
|
#
|
7036
7050
|
# <note markdown="1"> This parameter is not supported for Windows containers.
|
7037
7051
|
#
|
@@ -7043,11 +7057,6 @@ module Aws::ECS
|
|
7043
7057
|
#
|
7044
7058
|
# </note>
|
7045
7059
|
#
|
7046
|
-
#
|
7047
|
-
#
|
7048
|
-
# [1]: https://docs.docker.com/engine/reference/run/#pid-settings---pid
|
7049
|
-
# [2]: https://docs.docker.com/engine/security/security/
|
7050
|
-
#
|
7051
7060
|
# @option params [String] :ipc_mode
|
7052
7061
|
# The IPC resource namespace to use for the containers in the task. The
|
7053
7062
|
# valid values are `host`, `task`, or `none`. If `host` is specified,
|
@@ -7059,16 +7068,14 @@ module Aws::ECS
|
|
7059
7068
|
# private and not shared with other containers in a task or on the
|
7060
7069
|
# container instance. If no value is specified, then the IPC resource
|
7061
7070
|
# namespace sharing depends on the Docker daemon setting on the
|
7062
|
-
# container instance.
|
7063
|
-
# *Docker run reference*.
|
7071
|
+
# container instance.
|
7064
7072
|
#
|
7065
7073
|
# If the `host` IPC mode is used, be aware that there is a heightened
|
7066
|
-
# risk of undesired IPC namespace expose.
|
7067
|
-
# [Docker security][2].
|
7074
|
+
# risk of undesired IPC namespace expose.
|
7068
7075
|
#
|
7069
7076
|
# If you are setting namespaced kernel parameters using `systemControls`
|
7070
7077
|
# for the containers in the task, the following will apply to your IPC
|
7071
|
-
# resource namespace. For more information, see [System Controls][
|
7078
|
+
# resource namespace. For more information, see [System Controls][1] in
|
7072
7079
|
# the *Amazon Elastic Container Service Developer Guide*.
|
7073
7080
|
#
|
7074
7081
|
# * For tasks that use the `host` IPC mode, IPC namespace related
|
@@ -7084,9 +7091,7 @@ module Aws::ECS
|
|
7084
7091
|
#
|
7085
7092
|
#
|
7086
7093
|
#
|
7087
|
-
# [1]: https://docs.
|
7088
|
-
# [2]: https://docs.docker.com/engine/security/security/
|
7089
|
-
# [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html
|
7094
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html
|
7090
7095
|
#
|
7091
7096
|
# @option params [Types::ProxyConfiguration] :proxy_configuration
|
7092
7097
|
# The configuration details for the App Mesh proxy.
|
@@ -9851,7 +9856,7 @@ module Aws::ECS
|
|
9851
9856
|
#
|
9852
9857
|
# @option params [Types::DeploymentConfiguration] :deployment_configuration
|
9853
9858
|
# Optional deployment parameters that control how many tasks run during
|
9854
|
-
# the deployment and the
|
9859
|
+
# the deployment and the ordering of stopping and starting tasks.
|
9855
9860
|
#
|
9856
9861
|
# @option params [Types::NetworkConfiguration] :network_configuration
|
9857
9862
|
# An object representing the network configuration for the service.
|
@@ -9897,14 +9902,17 @@ module Aws::ECS
|
|
9897
9902
|
#
|
9898
9903
|
# @option params [Integer] :health_check_grace_period_seconds
|
9899
9904
|
# The period of time, in seconds, that the Amazon ECS service scheduler
|
9900
|
-
# ignores unhealthy Elastic Load Balancing
|
9901
|
-
# task has first started.
|
9902
|
-
#
|
9903
|
-
#
|
9904
|
-
#
|
9905
|
-
#
|
9906
|
-
#
|
9907
|
-
#
|
9905
|
+
# ignores unhealthy Elastic Load Balancing, VPC Lattice, and container
|
9906
|
+
# health checks after a task has first started. If you don't specify a
|
9907
|
+
# health check grace period value, the default value of `0` is used. If
|
9908
|
+
# you don't use any of the health checks, then
|
9909
|
+
# `healthCheckGracePeriodSeconds` is unused.
|
9910
|
+
#
|
9911
|
+
# If your service's tasks take a while to start and respond to health
|
9912
|
+
# checks, you can specify a health check grace period of up to
|
9913
|
+
# 2,147,483,647 seconds (about 69 years). During that time, the Amazon
|
9914
|
+
# ECS service scheduler ignores health check status. This grace period
|
9915
|
+
# can prevent the service scheduler from marking tasks as unhealthy and
|
9908
9916
|
# stopping them before they have time to come up.
|
9909
9917
|
#
|
9910
9918
|
# @option params [Boolean] :enable_execute_command
|
@@ -10018,6 +10026,10 @@ module Aws::ECS
|
|
10018
10026
|
#
|
10019
10027
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ServiceManagedEBSVolumeConfiguration.html
|
10020
10028
|
#
|
10029
|
+
# @option params [Array<Types::VpcLatticeConfiguration>] :vpc_lattice_configurations
|
10030
|
+
# An object representing the VPC Lattice configuration for the service
|
10031
|
+
# being updated.
|
10032
|
+
#
|
10021
10033
|
# @return [Types::UpdateServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
10022
10034
|
#
|
10023
10035
|
# * {Types::UpdateServiceResponse#service #service} => Types::Service
|
@@ -10185,6 +10197,13 @@ module Aws::ECS
|
|
10185
10197
|
# },
|
10186
10198
|
# },
|
10187
10199
|
# ],
|
10200
|
+
# vpc_lattice_configurations: [
|
10201
|
+
# {
|
10202
|
+
# role_arn: "IAMRoleArn", # required
|
10203
|
+
# target_group_arn: "String", # required
|
10204
|
+
# port_name: "String", # required
|
10205
|
+
# },
|
10206
|
+
# ],
|
10188
10207
|
# })
|
10189
10208
|
#
|
10190
10209
|
# @example Response structure
|
@@ -10331,6 +10350,10 @@ module Aws::ECS
|
|
10331
10350
|
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.role_arn #=> String
|
10332
10351
|
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.filesystem_type #=> String, one of "ext3", "ext4", "xfs", "ntfs"
|
10333
10352
|
# resp.service.deployments[0].fargate_ephemeral_storage.kms_key_id #=> String
|
10353
|
+
# resp.service.deployments[0].vpc_lattice_configurations #=> Array
|
10354
|
+
# resp.service.deployments[0].vpc_lattice_configurations[0].role_arn #=> String
|
10355
|
+
# resp.service.deployments[0].vpc_lattice_configurations[0].target_group_arn #=> String
|
10356
|
+
# resp.service.deployments[0].vpc_lattice_configurations[0].port_name #=> String
|
10334
10357
|
# resp.service.role_arn #=> String
|
10335
10358
|
# resp.service.events #=> Array
|
10336
10359
|
# resp.service.events[0].id #=> String
|
@@ -10744,7 +10767,7 @@ module Aws::ECS
|
|
10744
10767
|
tracer: tracer
|
10745
10768
|
)
|
10746
10769
|
context[:gem_name] = 'aws-sdk-ecs'
|
10747
|
-
context[:gem_version] = '1.
|
10770
|
+
context[:gem_version] = '1.168.0'
|
10748
10771
|
Seahorse::Client::Request.new(handlers, context)
|
10749
10772
|
end
|
10750
10773
|
|
@@ -439,6 +439,8 @@ module Aws::ECS
|
|
439
439
|
VolumeFrom = Shapes::StructureShape.new(name: 'VolumeFrom')
|
440
440
|
VolumeFromList = Shapes::ListShape.new(name: 'VolumeFromList')
|
441
441
|
VolumeList = Shapes::ListShape.new(name: 'VolumeList')
|
442
|
+
VpcLatticeConfiguration = Shapes::StructureShape.new(name: 'VpcLatticeConfiguration')
|
443
|
+
VpcLatticeConfigurations = Shapes::ListShape.new(name: 'VpcLatticeConfigurations')
|
442
444
|
|
443
445
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
444
446
|
|
@@ -739,6 +741,7 @@ module Aws::ECS
|
|
739
741
|
CreateServiceRequest.add_member(:enable_execute_command, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableExecuteCommand"))
|
740
742
|
CreateServiceRequest.add_member(:service_connect_configuration, Shapes::ShapeRef.new(shape: ServiceConnectConfiguration, location_name: "serviceConnectConfiguration"))
|
741
743
|
CreateServiceRequest.add_member(:volume_configurations, Shapes::ShapeRef.new(shape: ServiceVolumeConfigurations, location_name: "volumeConfigurations"))
|
744
|
+
CreateServiceRequest.add_member(:vpc_lattice_configurations, Shapes::ShapeRef.new(shape: VpcLatticeConfigurations, location_name: "vpcLatticeConfigurations"))
|
742
745
|
CreateServiceRequest.struct_class = Types::CreateServiceRequest
|
743
746
|
|
744
747
|
CreateServiceResponse.add_member(:service, Shapes::ShapeRef.new(shape: Service, location_name: "service"))
|
@@ -836,6 +839,7 @@ module Aws::ECS
|
|
836
839
|
Deployment.add_member(:service_connect_resources, Shapes::ShapeRef.new(shape: ServiceConnectServiceResourceList, location_name: "serviceConnectResources"))
|
837
840
|
Deployment.add_member(:volume_configurations, Shapes::ShapeRef.new(shape: ServiceVolumeConfigurations, location_name: "volumeConfigurations"))
|
838
841
|
Deployment.add_member(:fargate_ephemeral_storage, Shapes::ShapeRef.new(shape: DeploymentEphemeralStorage, location_name: "fargateEphemeralStorage"))
|
842
|
+
Deployment.add_member(:vpc_lattice_configurations, Shapes::ShapeRef.new(shape: VpcLatticeConfigurations, location_name: "vpcLatticeConfigurations"))
|
839
843
|
Deployment.struct_class = Types::Deployment
|
840
844
|
|
841
845
|
DeploymentAlarms.add_member(:alarm_names, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "alarmNames"))
|
@@ -1673,6 +1677,7 @@ module Aws::ECS
|
|
1673
1677
|
ServiceRevision.add_member(:volume_configurations, Shapes::ShapeRef.new(shape: ServiceVolumeConfigurations, location_name: "volumeConfigurations"))
|
1674
1678
|
ServiceRevision.add_member(:fargate_ephemeral_storage, Shapes::ShapeRef.new(shape: DeploymentEphemeralStorage, location_name: "fargateEphemeralStorage"))
|
1675
1679
|
ServiceRevision.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
|
1680
|
+
ServiceRevision.add_member(:vpc_lattice_configurations, Shapes::ShapeRef.new(shape: VpcLatticeConfigurations, location_name: "vpcLatticeConfigurations"))
|
1676
1681
|
ServiceRevision.struct_class = Types::ServiceRevision
|
1677
1682
|
|
1678
1683
|
ServiceRevisionSummary.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
|
@@ -2040,6 +2045,7 @@ module Aws::ECS
|
|
2040
2045
|
UpdateServiceRequest.add_member(:service_registries, Shapes::ShapeRef.new(shape: ServiceRegistries, location_name: "serviceRegistries"))
|
2041
2046
|
UpdateServiceRequest.add_member(:service_connect_configuration, Shapes::ShapeRef.new(shape: ServiceConnectConfiguration, location_name: "serviceConnectConfiguration"))
|
2042
2047
|
UpdateServiceRequest.add_member(:volume_configurations, Shapes::ShapeRef.new(shape: ServiceVolumeConfigurations, location_name: "volumeConfigurations"))
|
2048
|
+
UpdateServiceRequest.add_member(:vpc_lattice_configurations, Shapes::ShapeRef.new(shape: VpcLatticeConfigurations, location_name: "vpcLatticeConfigurations"))
|
2043
2049
|
UpdateServiceRequest.struct_class = Types::UpdateServiceRequest
|
2044
2050
|
|
2045
2051
|
UpdateServiceResponse.add_member(:service, Shapes::ShapeRef.new(shape: Service, location_name: "service"))
|
@@ -2085,6 +2091,13 @@ module Aws::ECS
|
|
2085
2091
|
|
2086
2092
|
VolumeList.member = Shapes::ShapeRef.new(shape: Volume)
|
2087
2093
|
|
2094
|
+
VpcLatticeConfiguration.add_member(:role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, required: true, location_name: "roleArn"))
|
2095
|
+
VpcLatticeConfiguration.add_member(:target_group_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "targetGroupArn"))
|
2096
|
+
VpcLatticeConfiguration.add_member(:port_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "portName"))
|
2097
|
+
VpcLatticeConfiguration.struct_class = Types::VpcLatticeConfiguration
|
2098
|
+
|
2099
|
+
VpcLatticeConfigurations.member = Shapes::ShapeRef.new(shape: VpcLatticeConfiguration)
|
2100
|
+
|
2088
2101
|
|
2089
2102
|
# @api private
|
2090
2103
|
API = Seahorse::Model::Api.new.tap do |api|
|
data/lib/aws-sdk-ecs/types.rb
CHANGED
@@ -2785,7 +2785,8 @@ module Aws::ECS
|
|
2785
2785
|
#
|
2786
2786
|
# @!attribute [rw] deployment_configuration
|
2787
2787
|
# Optional deployment parameters that control how many tasks run
|
2788
|
-
# during the deployment and the
|
2788
|
+
# during the deployment and the ordering of stopping and starting
|
2789
|
+
# tasks.
|
2789
2790
|
# @return [Types::DeploymentConfiguration]
|
2790
2791
|
#
|
2791
2792
|
# @!attribute [rw] placement_constraints
|
@@ -2815,27 +2816,18 @@ module Aws::ECS
|
|
2815
2816
|
#
|
2816
2817
|
# @!attribute [rw] health_check_grace_period_seconds
|
2817
2818
|
# The period of time, in seconds, that the Amazon ECS service
|
2818
|
-
# scheduler ignores unhealthy Elastic Load Balancing
|
2819
|
-
# checks after a task has first started.
|
2820
|
-
#
|
2821
|
-
#
|
2822
|
-
#
|
2823
|
-
#
|
2824
|
-
# If
|
2825
|
-
#
|
2826
|
-
#
|
2827
|
-
#
|
2828
|
-
#
|
2829
|
-
#
|
2830
|
-
# grace period of up to 2,147,483,647 seconds (about 69 years). During
|
2831
|
-
# that time, the Amazon ECS service scheduler ignores health check
|
2832
|
-
# status. This grace period can prevent the service scheduler from
|
2833
|
-
# marking tasks as unhealthy and stopping them before they have time
|
2834
|
-
# to come up.
|
2835
|
-
#
|
2836
|
-
#
|
2837
|
-
#
|
2838
|
-
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_HealthCheck.html
|
2819
|
+
# scheduler ignores unhealthy Elastic Load Balancing, VPC Lattice, and
|
2820
|
+
# container health checks after a task has first started. If you
|
2821
|
+
# don't specify a health check grace period value, the default value
|
2822
|
+
# of `0` is used. If you don't use any of the health checks, then
|
2823
|
+
# `healthCheckGracePeriodSeconds` is unused.
|
2824
|
+
#
|
2825
|
+
# If your service's tasks take a while to start and respond to health
|
2826
|
+
# checks, you can specify a health check grace period of up to
|
2827
|
+
# 2,147,483,647 seconds (about 69 years). During that time, the Amazon
|
2828
|
+
# ECS service scheduler ignores health check status. This grace period
|
2829
|
+
# can prevent the service scheduler from marking tasks as unhealthy
|
2830
|
+
# and stopping them before they have time to come up.
|
2839
2831
|
# @return [Integer]
|
2840
2832
|
#
|
2841
2833
|
# @!attribute [rw] scheduling_strategy
|
@@ -2973,6 +2965,10 @@ module Aws::ECS
|
|
2973
2965
|
# supported volume type is an Amazon EBS volume.
|
2974
2966
|
# @return [Array<Types::ServiceVolumeConfiguration>]
|
2975
2967
|
#
|
2968
|
+
# @!attribute [rw] vpc_lattice_configurations
|
2969
|
+
# The VPC Lattice configuration for the service being created.
|
2970
|
+
# @return [Array<Types::VpcLatticeConfiguration>]
|
2971
|
+
#
|
2976
2972
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateServiceRequest AWS API Documentation
|
2977
2973
|
#
|
2978
2974
|
class CreateServiceRequest < Struct.new(
|
@@ -2999,7 +2995,8 @@ module Aws::ECS
|
|
2999
2995
|
:propagate_tags,
|
3000
2996
|
:enable_execute_command,
|
3001
2997
|
:service_connect_configuration,
|
3002
|
-
:volume_configurations
|
2998
|
+
:volume_configurations,
|
2999
|
+
:vpc_lattice_configurations)
|
3003
3000
|
SENSITIVE = []
|
3004
3001
|
include Aws::Structure
|
3005
3002
|
end
|
@@ -3644,6 +3641,10 @@ module Aws::ECS
|
|
3644
3641
|
# The Fargate ephemeral storage settings for the deployment.
|
3645
3642
|
# @return [Types::DeploymentEphemeralStorage]
|
3646
3643
|
#
|
3644
|
+
# @!attribute [rw] vpc_lattice_configurations
|
3645
|
+
# The VPC Lattice configuration for the service deployment.
|
3646
|
+
# @return [Array<Types::VpcLatticeConfiguration>]
|
3647
|
+
#
|
3647
3648
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Deployment AWS API Documentation
|
3648
3649
|
#
|
3649
3650
|
class Deployment < Struct.new(
|
@@ -3666,7 +3667,8 @@ module Aws::ECS
|
|
3666
3667
|
:service_connect_configuration,
|
3667
3668
|
:service_connect_resources,
|
3668
3669
|
:volume_configurations,
|
3669
|
-
:fargate_ephemeral_storage
|
3670
|
+
:fargate_ephemeral_storage,
|
3671
|
+
:vpc_lattice_configurations)
|
3670
3672
|
SENSITIVE = []
|
3671
3673
|
include Aws::Structure
|
3672
3674
|
end
|
@@ -3759,7 +3761,7 @@ module Aws::ECS
|
|
3759
3761
|
end
|
3760
3762
|
|
3761
3763
|
# Optional deployment parameters that control how many tasks run during
|
3762
|
-
#
|
3764
|
+
# a deployment and the ordering of stopping and starting tasks.
|
3763
3765
|
#
|
3764
3766
|
# @!attribute [rw] deployment_circuit_breaker
|
3765
3767
|
# <note markdown="1"> The deployment circuit breaker can only be used for services using
|
@@ -3957,8 +3959,8 @@ module Aws::ECS
|
|
3957
3959
|
# The amount of ephemeral storage to allocate for the deployment.
|
3958
3960
|
#
|
3959
3961
|
# @!attribute [rw] kms_key_id
|
3960
|
-
# Specify an
|
3961
|
-
#
|
3962
|
+
# Specify an Key Management Service key ID to encrypt the ephemeral
|
3963
|
+
# storage for deployment.
|
3962
3964
|
# @return [String]
|
3963
3965
|
#
|
3964
3966
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeploymentEphemeralStorage AWS API Documentation
|
@@ -6648,8 +6650,8 @@ module Aws::ECS
|
|
6648
6650
|
# @return [String]
|
6649
6651
|
#
|
6650
6652
|
# @!attribute [rw] load_balancer_name
|
6651
|
-
# The name of the load balancer to associate with the
|
6652
|
-
# set.
|
6653
|
+
# The name of the load balancer to associate with the Amazon ECS
|
6654
|
+
# service or task set.
|
6653
6655
|
#
|
6654
6656
|
# If you are using an Application Load Balancer or a Network Load
|
6655
6657
|
# Balancer the load balancer name parameter should be omitted.
|
@@ -7069,8 +7071,9 @@ module Aws::ECS
|
|
7069
7071
|
#
|
7070
7072
|
# @!attribute [rw] minimum_scaling_step_size
|
7071
7073
|
# The minimum number of Amazon EC2 instances that Amazon ECS will
|
7072
|
-
# scale out at one time.
|
7073
|
-
# value of `1` is
|
7074
|
+
# scale out at one time. The scale in process is not affected by this
|
7075
|
+
# parameter If this parameter is omitted, the default value of `1` is
|
7076
|
+
# used.
|
7074
7077
|
#
|
7075
7078
|
# When additional capacity is required, Amazon ECS will scale up the
|
7076
7079
|
# minimum scaling step size even if the actual demand is less than the
|
@@ -7111,8 +7114,8 @@ module Aws::ECS
|
|
7111
7114
|
# The managed storage configuration for the cluster.
|
7112
7115
|
#
|
7113
7116
|
# @!attribute [rw] kms_key_id
|
7114
|
-
# Specify a
|
7115
|
-
#
|
7117
|
+
# Specify a Key Management Service key ID to encrypt the managed
|
7118
|
+
# storage.
|
7116
7119
|
# @return [String]
|
7117
7120
|
#
|
7118
7121
|
# @!attribute [rw] fargate_ephemeral_storage_kms_key_id
|
@@ -7232,7 +7235,6 @@ module Aws::ECS
|
|
7232
7235
|
# Amazon ECS agent finds open host ports from the default
|
7233
7236
|
# ephemeral range and passes it to docker to bind them to the
|
7234
7237
|
# container ports.
|
7235
|
-
#
|
7236
7238
|
# * The `containerPortRange` valid values are between 1 and 65535.
|
7237
7239
|
#
|
7238
7240
|
# * A port can only be included in one port mapping per container.
|
@@ -7449,14 +7451,13 @@ module Aws::ECS
|
|
7449
7451
|
#
|
7450
7452
|
class PlatformUnknownException < Aws::EmptyStructure; end
|
7451
7453
|
|
7452
|
-
# Port mappings
|
7453
|
-
#
|
7454
|
-
#
|
7454
|
+
# Port mappings allow containers to access ports on the host container
|
7455
|
+
# instance to send or receive traffic. Port mappings are specified as
|
7456
|
+
# part of the container definition.
|
7455
7457
|
#
|
7456
|
-
#
|
7457
|
-
#
|
7458
|
-
#
|
7459
|
-
# mapped to a random high-numbered port on the host.
|
7458
|
+
# If you use containers in a task with the `awsvpc` or `host` network
|
7459
|
+
# mode, specify the exposed ports using `containerPort`. The `hostPort`
|
7460
|
+
# can be left blank or it must be the same value as the `containerPort`.
|
7460
7461
|
#
|
7461
7462
|
# Most fields of this parameter (`containerPort`, `hostPort`,
|
7462
7463
|
# `protocol`) maps to `PortBindings` in the docker container create
|
@@ -7481,19 +7482,15 @@ module Aws::ECS
|
|
7481
7482
|
# The port number on the container that's bound to the user-specified
|
7482
7483
|
# or automatically assigned host port.
|
7483
7484
|
#
|
7484
|
-
#
|
7485
|
-
#
|
7486
|
-
#
|
7487
|
-
#
|
7488
|
-
#
|
7489
|
-
#
|
7490
|
-
#
|
7491
|
-
#
|
7492
|
-
#
|
7493
|
-
# your container automatically receives a host port in the ephemeral
|
7494
|
-
# port range. For more information, see `hostPort`. Port mappings that
|
7495
|
-
# are automatically assigned in this way don't count toward the 100
|
7496
|
-
# reserved ports quota of a container instance.
|
7485
|
+
# If you use containers in a task with the `awsvpc` or `host` network
|
7486
|
+
# mode, specify the exposed ports using `containerPort`.
|
7487
|
+
#
|
7488
|
+
# If you use containers in a task with the `bridge` network mode and
|
7489
|
+
# you specify a container port and not a host port, your container
|
7490
|
+
# automatically receives a host port in the ephemeral port range. For
|
7491
|
+
# more information, see `hostPort`. Port mappings that are
|
7492
|
+
# automatically assigned in this way do not count toward the 100
|
7493
|
+
# reserved ports limit of a container instance.
|
7497
7494
|
# @return [Integer]
|
7498
7495
|
#
|
7499
7496
|
# @!attribute [rw] host_port
|
@@ -7555,19 +7552,12 @@ module Aws::ECS
|
|
7555
7552
|
# @return [String]
|
7556
7553
|
#
|
7557
7554
|
# @!attribute [rw] name
|
7558
|
-
# The name that's used for the port mapping. This parameter
|
7559
|
-
#
|
7560
|
-
#
|
7561
|
-
#
|
7562
|
-
#
|
7563
|
-
#
|
7564
|
-
#
|
7565
|
-
# For more information, see [Service Connect][1] in the *Amazon
|
7566
|
-
# Elastic Container Service Developer Guide*.
|
7567
|
-
#
|
7568
|
-
#
|
7569
|
-
#
|
7570
|
-
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html
|
7555
|
+
# The name that's used for the port mapping. This parameter is the
|
7556
|
+
# name that you use in the `serviceConnectConfiguration` and the
|
7557
|
+
# `vpcLatticeConfigurations` of a service. The name can include up to
|
7558
|
+
# 64 characters. The characters can include lowercase letters,
|
7559
|
+
# numbers, underscores (\_), and hyphens (-). The name can't start
|
7560
|
+
# with a hyphen.
|
7571
7561
|
# @return [String]
|
7572
7562
|
#
|
7573
7563
|
# @!attribute [rw] app_protocol
|
@@ -7632,7 +7622,6 @@ module Aws::ECS
|
|
7632
7622
|
# Amazon ECS agent finds open host ports from the default
|
7633
7623
|
# ephemeral range and passes it to docker to bind them to the
|
7634
7624
|
# container ports.
|
7635
|
-
#
|
7636
7625
|
# * The `containerPortRange` valid values are between 1 and 65535.
|
7637
7626
|
#
|
7638
7627
|
# * A port can only be included in one port mapping per container.
|
@@ -8326,22 +8315,19 @@ module Aws::ECS
|
|
8326
8315
|
# non-root user.
|
8327
8316
|
#
|
8328
8317
|
# If the network mode is `awsvpc`, the task is allocated an elastic
|
8329
|
-
# network interface, and you must specify a NetworkConfiguration
|
8330
|
-
# when you create a service or run a task with the task
|
8331
|
-
# For more information, see [Task Networking][
|
8332
|
-
# Elastic Container Service Developer Guide*.
|
8318
|
+
# network interface, and you must specify a [NetworkConfiguration][1]
|
8319
|
+
# value when you create a service or run a task with the task
|
8320
|
+
# definition. For more information, see [Task Networking][2] in the
|
8321
|
+
# *Amazon Elastic Container Service Developer Guide*.
|
8333
8322
|
#
|
8334
8323
|
# If the network mode is `host`, you cannot run multiple
|
8335
8324
|
# instantiations of the same task on a single container instance when
|
8336
8325
|
# port mappings are used.
|
8337
8326
|
#
|
8338
|
-
# For more information, see [Network settings][2] in the *Docker run
|
8339
|
-
# reference*.
|
8340
|
-
#
|
8341
8327
|
#
|
8342
8328
|
#
|
8343
|
-
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/
|
8344
|
-
# [2]: https://docs.
|
8329
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_NetworkConfiguration.html
|
8330
|
+
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html
|
8345
8331
|
# @return [String]
|
8346
8332
|
#
|
8347
8333
|
# @!attribute [rw] container_definitions
|
@@ -8514,12 +8500,10 @@ module Aws::ECS
|
|
8514
8500
|
# share the same process namespace.
|
8515
8501
|
#
|
8516
8502
|
# If no value is specified, the default is a private namespace for
|
8517
|
-
# each container.
|
8518
|
-
# *Docker run reference*.
|
8503
|
+
# each container.
|
8519
8504
|
#
|
8520
8505
|
# If the `host` PID mode is used, there's a heightened risk of
|
8521
|
-
# undesired process namespace exposure.
|
8522
|
-
# [Docker security][2].
|
8506
|
+
# undesired process namespace exposure.
|
8523
8507
|
#
|
8524
8508
|
# <note markdown="1"> This parameter is not supported for Windows containers.
|
8525
8509
|
#
|
@@ -8530,11 +8514,6 @@ module Aws::ECS
|
|
8530
8514
|
# (Linux). This isn't supported for Windows containers on Fargate.
|
8531
8515
|
#
|
8532
8516
|
# </note>
|
8533
|
-
#
|
8534
|
-
#
|
8535
|
-
#
|
8536
|
-
# [1]: https://docs.docker.com/engine/reference/run/#pid-settings---pid
|
8537
|
-
# [2]: https://docs.docker.com/engine/security/security/
|
8538
8517
|
# @return [String]
|
8539
8518
|
#
|
8540
8519
|
# @!attribute [rw] ipc_mode
|
@@ -8548,17 +8527,15 @@ module Aws::ECS
|
|
8548
8527
|
# containers of a task are private and not shared with other
|
8549
8528
|
# containers in a task or on the container instance. If no value is
|
8550
8529
|
# specified, then the IPC resource namespace sharing depends on the
|
8551
|
-
# Docker daemon setting on the container instance.
|
8552
|
-
# information, see [IPC settings][1] in the *Docker run reference*.
|
8530
|
+
# Docker daemon setting on the container instance.
|
8553
8531
|
#
|
8554
8532
|
# If the `host` IPC mode is used, be aware that there is a heightened
|
8555
|
-
# risk of undesired IPC namespace expose.
|
8556
|
-
# [Docker security][2].
|
8533
|
+
# risk of undesired IPC namespace expose.
|
8557
8534
|
#
|
8558
8535
|
# If you are setting namespaced kernel parameters using
|
8559
8536
|
# `systemControls` for the containers in the task, the following will
|
8560
8537
|
# apply to your IPC resource namespace. For more information, see
|
8561
|
-
# [System Controls][
|
8538
|
+
# [System Controls][1] in the *Amazon Elastic Container Service
|
8562
8539
|
# Developer Guide*.
|
8563
8540
|
#
|
8564
8541
|
# * For tasks that use the `host` IPC mode, IPC namespace related
|
@@ -8574,9 +8551,7 @@ module Aws::ECS
|
|
8574
8551
|
#
|
8575
8552
|
#
|
8576
8553
|
#
|
8577
|
-
# [1]: https://docs.
|
8578
|
-
# [2]: https://docs.docker.com/engine/security/security/
|
8579
|
-
# [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html
|
8554
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html
|
8580
8555
|
# @return [String]
|
8581
8556
|
#
|
8582
8557
|
# @!attribute [rw] proxy_configuration
|
@@ -9155,14 +9130,10 @@ module Aws::ECS
|
|
9155
9130
|
# You can run your Linux tasks on an ARM-based platform by setting the
|
9156
9131
|
# value to `ARM64`. This option is available for tasks that run on
|
9157
9132
|
# Linux Amazon EC2 instance or Linux containers on Fargate.
|
9158
|
-
#
|
9159
|
-
# The default is `X86_64`.
|
9160
9133
|
# @return [String]
|
9161
9134
|
#
|
9162
9135
|
# @!attribute [rw] operating_system_family
|
9163
9136
|
# The operating system.
|
9164
|
-
#
|
9165
|
-
# The default is `Linux`.
|
9166
9137
|
# @return [String]
|
9167
9138
|
#
|
9168
9139
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RuntimePlatform AWS API Documentation
|
@@ -9336,9 +9307,9 @@ module Aws::ECS
|
|
9336
9307
|
# @return [String]
|
9337
9308
|
#
|
9338
9309
|
# @!attribute [rw] capacity_provider_strategy
|
9339
|
-
# The capacity provider strategy the service uses. When using
|
9340
|
-
#
|
9341
|
-
# using a launch type.
|
9310
|
+
# The capacity provider strategy the service uses. When using the
|
9311
|
+
# DescribeServices API, this field is omitted if the service was
|
9312
|
+
# created using a launch type.
|
9342
9313
|
# @return [Array<Types::CapacityProviderStrategyItem>]
|
9343
9314
|
#
|
9344
9315
|
# @!attribute [rw] platform_version
|
@@ -9461,7 +9432,7 @@ module Aws::ECS
|
|
9461
9432
|
# @!attribute [rw] tags
|
9462
9433
|
# The metadata that you apply to the service to help you categorize
|
9463
9434
|
# and organize them. Each tag consists of a key and an optional value.
|
9464
|
-
# You define
|
9435
|
+
# You define bot the key and value.
|
9465
9436
|
#
|
9466
9437
|
# The following basic restrictions apply to tags:
|
9467
9438
|
#
|
@@ -9963,7 +9934,7 @@ module Aws::ECS
|
|
9963
9934
|
#
|
9964
9935
|
# @!attribute [rw] deployment_configuration
|
9965
9936
|
# Optional deployment parameters that control how many tasks run
|
9966
|
-
# during
|
9937
|
+
# during a deployment and the ordering of stopping and starting tasks.
|
9967
9938
|
# @return [Types::DeploymentConfiguration]
|
9968
9939
|
#
|
9969
9940
|
# @!attribute [rw] rollback
|
@@ -10561,6 +10532,10 @@ module Aws::ECS
|
|
10561
10532
|
# yyyy-mm-dd HH:mm:ss.SSSSS.
|
10562
10533
|
# @return [Time]
|
10563
10534
|
#
|
10535
|
+
# @!attribute [rw] vpc_lattice_configurations
|
10536
|
+
# The VPC Lattice configuration for the service revision.
|
10537
|
+
# @return [Array<Types::VpcLatticeConfiguration>]
|
10538
|
+
#
|
10564
10539
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ServiceRevision AWS API Documentation
|
10565
10540
|
#
|
10566
10541
|
class ServiceRevision < Struct.new(
|
@@ -10580,7 +10555,8 @@ module Aws::ECS
|
|
10580
10555
|
:service_connect_configuration,
|
10581
10556
|
:volume_configurations,
|
10582
10557
|
:fargate_ephemeral_storage,
|
10583
|
-
:created_at
|
10558
|
+
:created_at,
|
10559
|
+
:vpc_lattice_configurations)
|
10584
10560
|
SENSITIVE = []
|
10585
10561
|
include Aws::Structure
|
10586
10562
|
end
|
@@ -11740,22 +11716,19 @@ module Aws::ECS
|
|
11740
11716
|
# non-root user.
|
11741
11717
|
#
|
11742
11718
|
# If the network mode is `awsvpc`, the task is allocated an elastic
|
11743
|
-
# network interface, and you must specify a NetworkConfiguration
|
11744
|
-
# when you create a service or run a task with the task
|
11745
|
-
# For more information, see [Task Networking][
|
11746
|
-
# Elastic Container Service Developer Guide*.
|
11719
|
+
# network interface, and you must specify a [NetworkConfiguration][1]
|
11720
|
+
# value when you create a service or run a task with the task
|
11721
|
+
# definition. For more information, see [Task Networking][2] in the
|
11722
|
+
# *Amazon Elastic Container Service Developer Guide*.
|
11747
11723
|
#
|
11748
11724
|
# If the network mode is `host`, you cannot run multiple
|
11749
11725
|
# instantiations of the same task on a single container instance when
|
11750
11726
|
# port mappings are used.
|
11751
11727
|
#
|
11752
|
-
# For more information, see [Network settings][2] in the *Docker run
|
11753
|
-
# reference*.
|
11754
|
-
#
|
11755
11728
|
#
|
11756
11729
|
#
|
11757
|
-
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/
|
11758
|
-
# [2]: https://docs.
|
11730
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_NetworkConfiguration.html
|
11731
|
+
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html
|
11759
11732
|
# @return [String]
|
11760
11733
|
#
|
11761
11734
|
# @!attribute [rw] revision
|
@@ -11950,12 +11923,10 @@ module Aws::ECS
|
|
11950
11923
|
# share the same process namespace.
|
11951
11924
|
#
|
11952
11925
|
# If no value is specified, the default is a private namespace for
|
11953
|
-
# each container.
|
11954
|
-
# *Docker run reference*.
|
11926
|
+
# each container.
|
11955
11927
|
#
|
11956
11928
|
# If the `host` PID mode is used, there's a heightened risk of
|
11957
|
-
# undesired process namespace exposure.
|
11958
|
-
# [Docker security][2].
|
11929
|
+
# undesired process namespace exposure.
|
11959
11930
|
#
|
11960
11931
|
# <note markdown="1"> This parameter is not supported for Windows containers.
|
11961
11932
|
#
|
@@ -11966,11 +11937,6 @@ module Aws::ECS
|
|
11966
11937
|
# (Linux). This isn't supported for Windows containers on Fargate.
|
11967
11938
|
#
|
11968
11939
|
# </note>
|
11969
|
-
#
|
11970
|
-
#
|
11971
|
-
#
|
11972
|
-
# [1]: https://docs.docker.com/engine/reference/run/#pid-settings---pid
|
11973
|
-
# [2]: https://docs.docker.com/engine/security/security/
|
11974
11940
|
# @return [String]
|
11975
11941
|
#
|
11976
11942
|
# @!attribute [rw] ipc_mode
|
@@ -11984,17 +11950,15 @@ module Aws::ECS
|
|
11984
11950
|
# containers of a task are private and not shared with other
|
11985
11951
|
# containers in a task or on the container instance. If no value is
|
11986
11952
|
# specified, then the IPC resource namespace sharing depends on the
|
11987
|
-
# Docker daemon setting on the container instance.
|
11988
|
-
# information, see [IPC settings][1] in the *Docker run reference*.
|
11953
|
+
# Docker daemon setting on the container instance.
|
11989
11954
|
#
|
11990
11955
|
# If the `host` IPC mode is used, be aware that there is a heightened
|
11991
|
-
# risk of undesired IPC namespace expose.
|
11992
|
-
# [Docker security][2].
|
11956
|
+
# risk of undesired IPC namespace expose.
|
11993
11957
|
#
|
11994
11958
|
# If you are setting namespaced kernel parameters using
|
11995
11959
|
# `systemControls` for the containers in the task, the following will
|
11996
11960
|
# apply to your IPC resource namespace. For more information, see
|
11997
|
-
# [System Controls][
|
11961
|
+
# [System Controls][1] in the *Amazon Elastic Container Service
|
11998
11962
|
# Developer Guide*.
|
11999
11963
|
#
|
12000
11964
|
# * For tasks that use the `host` IPC mode, IPC namespace related
|
@@ -12010,9 +11974,7 @@ module Aws::ECS
|
|
12010
11974
|
#
|
12011
11975
|
#
|
12012
11976
|
#
|
12013
|
-
# [1]: https://docs.
|
12014
|
-
# [2]: https://docs.docker.com/engine/security/security/
|
12015
|
-
# [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html
|
11977
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html
|
12016
11978
|
# @return [String]
|
12017
11979
|
#
|
12018
11980
|
# @!attribute [rw] proxy_configuration
|
@@ -12127,8 +12089,8 @@ module Aws::ECS
|
|
12127
12089
|
# @return [Integer]
|
12128
12090
|
#
|
12129
12091
|
# @!attribute [rw] kms_key_id
|
12130
|
-
# Specify an
|
12131
|
-
#
|
12092
|
+
# Specify an Key Management Service key ID to encrypt the ephemeral
|
12093
|
+
# storage for the task.
|
12132
12094
|
# @return [String]
|
12133
12095
|
#
|
12134
12096
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/TaskEphemeralStorage AWS API Documentation
|
@@ -13167,7 +13129,8 @@ module Aws::ECS
|
|
13167
13129
|
#
|
13168
13130
|
# @!attribute [rw] deployment_configuration
|
13169
13131
|
# Optional deployment parameters that control how many tasks run
|
13170
|
-
# during the deployment and the
|
13132
|
+
# during the deployment and the ordering of stopping and starting
|
13133
|
+
# tasks.
|
13171
13134
|
# @return [Types::DeploymentConfiguration]
|
13172
13135
|
#
|
13173
13136
|
# @!attribute [rw] network_configuration
|
@@ -13221,16 +13184,18 @@ module Aws::ECS
|
|
13221
13184
|
#
|
13222
13185
|
# @!attribute [rw] health_check_grace_period_seconds
|
13223
13186
|
# The period of time, in seconds, that the Amazon ECS service
|
13224
|
-
# scheduler ignores unhealthy Elastic Load Balancing
|
13225
|
-
# checks after a task has first started.
|
13226
|
-
#
|
13227
|
-
#
|
13228
|
-
#
|
13229
|
-
#
|
13230
|
-
#
|
13231
|
-
#
|
13232
|
-
#
|
13233
|
-
#
|
13187
|
+
# scheduler ignores unhealthy Elastic Load Balancing, VPC Lattice, and
|
13188
|
+
# container health checks after a task has first started. If you
|
13189
|
+
# don't specify a health check grace period value, the default value
|
13190
|
+
# of `0` is used. If you don't use any of the health checks, then
|
13191
|
+
# `healthCheckGracePeriodSeconds` is unused.
|
13192
|
+
#
|
13193
|
+
# If your service's tasks take a while to start and respond to health
|
13194
|
+
# checks, you can specify a health check grace period of up to
|
13195
|
+
# 2,147,483,647 seconds (about 69 years). During that time, the Amazon
|
13196
|
+
# ECS service scheduler ignores health check status. This grace period
|
13197
|
+
# can prevent the service scheduler from marking tasks as unhealthy
|
13198
|
+
# and stopping them before they have time to come up.
|
13234
13199
|
# @return [Integer]
|
13235
13200
|
#
|
13236
13201
|
# @!attribute [rw] enable_execute_command
|
@@ -13355,6 +13320,11 @@ module Aws::ECS
|
|
13355
13320
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ServiceManagedEBSVolumeConfiguration.html
|
13356
13321
|
# @return [Array<Types::ServiceVolumeConfiguration>]
|
13357
13322
|
#
|
13323
|
+
# @!attribute [rw] vpc_lattice_configurations
|
13324
|
+
# An object representing the VPC Lattice configuration for the service
|
13325
|
+
# being updated.
|
13326
|
+
# @return [Array<Types::VpcLatticeConfiguration>]
|
13327
|
+
#
|
13358
13328
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateServiceRequest AWS API Documentation
|
13359
13329
|
#
|
13360
13330
|
class UpdateServiceRequest < Struct.new(
|
@@ -13376,7 +13346,8 @@ module Aws::ECS
|
|
13376
13346
|
:propagate_tags,
|
13377
13347
|
:service_registries,
|
13378
13348
|
:service_connect_configuration,
|
13379
|
-
:volume_configurations
|
13349
|
+
:volume_configurations,
|
13350
|
+
:vpc_lattice_configurations)
|
13380
13351
|
SENSITIVE = []
|
13381
13352
|
include Aws::Structure
|
13382
13353
|
end
|
@@ -13646,6 +13617,38 @@ module Aws::ECS
|
|
13646
13617
|
include Aws::Structure
|
13647
13618
|
end
|
13648
13619
|
|
13620
|
+
# The VPC Lattice configuration for your service that holds the
|
13621
|
+
# information for the target group(s) Amazon ECS tasks will be
|
13622
|
+
# registered to.
|
13623
|
+
#
|
13624
|
+
# @!attribute [rw] role_arn
|
13625
|
+
# The ARN of the IAM role to associate with this VPC Lattice
|
13626
|
+
# configuration. This is the Amazon ECS
infrastructure IAM role that
|
13627
|
+
# is used to manage your VPC Lattice infrastructure.
|
13628
|
+
# @return [String]
|
13629
|
+
#
|
13630
|
+
# @!attribute [rw] target_group_arn
|
13631
|
+
# The full Amazon Resource Name (ARN) of the target group or groups
|
13632
|
+
# associated with the VPC Lattice configuration that the Amazon ECS
|
13633
|
+
# tasks will be registered to.
|
13634
|
+
# @return [String]
|
13635
|
+
#
|
13636
|
+
# @!attribute [rw] port_name
|
13637
|
+
# The name of the port mapping to register in the VPC Lattice target
|
13638
|
+
# group. This is the name of the `portMapping` you defined in your
|
13639
|
+
# task definition.
|
13640
|
+
# @return [String]
|
13641
|
+
#
|
13642
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/VpcLatticeConfiguration AWS API Documentation
|
13643
|
+
#
|
13644
|
+
class VpcLatticeConfiguration < Struct.new(
|
13645
|
+
:role_arn,
|
13646
|
+
:target_group_arn,
|
13647
|
+
:port_name)
|
13648
|
+
SENSITIVE = []
|
13649
|
+
include Aws::Structure
|
13650
|
+
end
|
13651
|
+
|
13649
13652
|
end
|
13650
13653
|
end
|
13651
13654
|
|
data/lib/aws-sdk-ecs.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -302,6 +302,13 @@ module Aws
|
|
302
302
|
filesystem_type: ("ext3" | "ext4" | "xfs" | "ntfs")?
|
303
303
|
}?
|
304
304
|
},
|
305
|
+
],
|
306
|
+
?vpc_lattice_configurations: Array[
|
307
|
+
{
|
308
|
+
role_arn: ::String,
|
309
|
+
target_group_arn: ::String,
|
310
|
+
port_name: ::String
|
311
|
+
},
|
305
312
|
]
|
306
313
|
) -> _CreateServiceResponseSuccess
|
307
314
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateServiceResponseSuccess
|
@@ -1733,6 +1740,13 @@ module Aws
|
|
1733
1740
|
filesystem_type: ("ext3" | "ext4" | "xfs" | "ntfs")?
|
1734
1741
|
}?
|
1735
1742
|
},
|
1743
|
+
],
|
1744
|
+
?vpc_lattice_configurations: Array[
|
1745
|
+
{
|
1746
|
+
role_arn: ::String,
|
1747
|
+
target_group_arn: ::String,
|
1748
|
+
port_name: ::String
|
1749
|
+
},
|
1736
1750
|
]
|
1737
1751
|
) -> _UpdateServiceResponseSuccess
|
1738
1752
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateServiceResponseSuccess
|
data/sig/types.rbs
CHANGED
@@ -333,6 +333,7 @@ module Aws::ECS
|
|
333
333
|
attr_accessor enable_execute_command: bool
|
334
334
|
attr_accessor service_connect_configuration: Types::ServiceConnectConfiguration
|
335
335
|
attr_accessor volume_configurations: ::Array[Types::ServiceVolumeConfiguration]
|
336
|
+
attr_accessor vpc_lattice_configurations: ::Array[Types::VpcLatticeConfiguration]
|
336
337
|
SENSITIVE: []
|
337
338
|
end
|
338
339
|
|
@@ -468,6 +469,7 @@ module Aws::ECS
|
|
468
469
|
attr_accessor service_connect_resources: ::Array[Types::ServiceConnectServiceResource]
|
469
470
|
attr_accessor volume_configurations: ::Array[Types::ServiceVolumeConfiguration]
|
470
471
|
attr_accessor fargate_ephemeral_storage: Types::DeploymentEphemeralStorage
|
472
|
+
attr_accessor vpc_lattice_configurations: ::Array[Types::VpcLatticeConfiguration]
|
471
473
|
SENSITIVE: []
|
472
474
|
end
|
473
475
|
|
@@ -1489,6 +1491,7 @@ module Aws::ECS
|
|
1489
1491
|
attr_accessor volume_configurations: ::Array[Types::ServiceVolumeConfiguration]
|
1490
1492
|
attr_accessor fargate_ephemeral_storage: Types::DeploymentEphemeralStorage
|
1491
1493
|
attr_accessor created_at: ::Time
|
1494
|
+
attr_accessor vpc_lattice_configurations: ::Array[Types::VpcLatticeConfiguration]
|
1492
1495
|
SENSITIVE: []
|
1493
1496
|
end
|
1494
1497
|
|
@@ -1906,6 +1909,7 @@ module Aws::ECS
|
|
1906
1909
|
attr_accessor service_registries: ::Array[Types::ServiceRegistry]
|
1907
1910
|
attr_accessor service_connect_configuration: Types::ServiceConnectConfiguration
|
1908
1911
|
attr_accessor volume_configurations: ::Array[Types::ServiceVolumeConfiguration]
|
1912
|
+
attr_accessor vpc_lattice_configurations: ::Array[Types::VpcLatticeConfiguration]
|
1909
1913
|
SENSITIVE: []
|
1910
1914
|
end
|
1911
1915
|
|
@@ -1963,5 +1967,12 @@ module Aws::ECS
|
|
1963
1967
|
attr_accessor read_only: bool
|
1964
1968
|
SENSITIVE: []
|
1965
1969
|
end
|
1970
|
+
|
1971
|
+
class VpcLatticeConfiguration
|
1972
|
+
attr_accessor role_arn: ::String
|
1973
|
+
attr_accessor target_group_arn: ::String
|
1974
|
+
attr_accessor port_name: ::String
|
1975
|
+
SENSITIVE: []
|
1976
|
+
end
|
1966
1977
|
end
|
1967
1978
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ecs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.168.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-
|
11
|
+
date: 2024-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|