aws-sdk-ecs 1.209.0 → 1.211.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecs/client.rb +26 -9
- data/lib/aws-sdk-ecs/client_api.rb +8 -0
- data/lib/aws-sdk-ecs/types.rb +78 -14
- data/lib/aws-sdk-ecs.rb +1 -1
- data/sig/client.rbs +8 -0
- data/sig/types.rbs +7 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6332378626df5ab73fa3c610243478d3a98505debbbd2c919caa90b9a73efbb5
|
|
4
|
+
data.tar.gz: 1c9728a78aa78129629d7d19f2154f463c327238ef941518d9134f8e579c163b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4315c4ea33bb5db6e612662a56fee7baf17372e37ca656da3817e2e49d9ebaa31048d71d7312aaf2a509c806dfbc82383e48b9d1aa914b5a55fad42387d7e7a9
|
|
7
|
+
data.tar.gz: 7a9b217d2d16479ac475345343f1f510ef2b17722d62e2dfb01803688fa6547125f15e735e1c9a103583abd02ffafcda8e2353d04ecd64dbbe4598536cee8742
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.211.0 (2025-11-03)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Documentation-only update for LINEAR and CANARY deployment strategies.
|
|
8
|
+
|
|
9
|
+
1.210.0 (2025-10-30)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Amazon ECS Service Connect now supports Envoy access logs, providing deeper observability into request-level traffic patterns and service interactions.
|
|
13
|
+
|
|
4
14
|
1.209.0 (2025-10-28)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.211.0
|
data/lib/aws-sdk-ecs/client.rb
CHANGED
|
@@ -1153,10 +1153,10 @@ module Aws::ECS
|
|
|
1153
1153
|
# Load Balancer, Network Load Balancer, or Service Connect
|
|
1154
1154
|
# * `LINEAR`: A *linear* deployment strategy (`LINEAR`) gradually
|
|
1155
1155
|
# shifts traffic from the current production environment to a new
|
|
1156
|
-
# environment in equal percentage increments
|
|
1157
|
-
#
|
|
1158
|
-
#
|
|
1159
|
-
#
|
|
1156
|
+
# environment in equal percentage increments. With Amazon ECS linear
|
|
1157
|
+
# deployments, you can control the pace of traffic shifting and
|
|
1158
|
+
# validate new service revisions with increasing amounts of
|
|
1159
|
+
# production traffic.
|
|
1160
1160
|
#
|
|
1161
1161
|
# Linear deployments are best suited for the following scenarios:
|
|
1162
1162
|
#
|
|
@@ -1170,7 +1170,7 @@ module Aws::ECS
|
|
|
1170
1170
|
# the new version to production traffic incrementally
|
|
1171
1171
|
#
|
|
1172
1172
|
# * Load balancer requirement: When your service uses Application
|
|
1173
|
-
# Load Balancer
|
|
1173
|
+
# Load Balancer or Service Connect
|
|
1174
1174
|
# * `CANARY`: A *canary* deployment strategy (`CANARY`) shifts a small
|
|
1175
1175
|
# percentage of traffic to the new service revision first, then
|
|
1176
1176
|
# shifts the remaining traffic all at once after a specified time
|
|
@@ -1189,7 +1189,7 @@ module Aws::ECS
|
|
|
1189
1189
|
# issues are discovered in the new version
|
|
1190
1190
|
#
|
|
1191
1191
|
# * Load balancer requirement: When your service uses Application
|
|
1192
|
-
# Load Balancer
|
|
1192
|
+
# Load Balancer or Service Connect
|
|
1193
1193
|
# * External
|
|
1194
1194
|
#
|
|
1195
1195
|
# Use a third-party deployment controller.
|
|
@@ -1893,6 +1893,10 @@ module Aws::ECS
|
|
|
1893
1893
|
# },
|
|
1894
1894
|
# ],
|
|
1895
1895
|
# },
|
|
1896
|
+
# access_log_configuration: {
|
|
1897
|
+
# format: "TEXT", # required, accepts TEXT, JSON
|
|
1898
|
+
# include_query_parameters: "DISABLED", # accepts DISABLED, ENABLED
|
|
1899
|
+
# },
|
|
1896
1900
|
# },
|
|
1897
1901
|
# volume_configurations: [
|
|
1898
1902
|
# {
|
|
@@ -2076,6 +2080,8 @@ module Aws::ECS
|
|
|
2076
2080
|
# resp.service.deployments[0].service_connect_configuration.log_configuration.secret_options #=> Array
|
|
2077
2081
|
# resp.service.deployments[0].service_connect_configuration.log_configuration.secret_options[0].name #=> String
|
|
2078
2082
|
# resp.service.deployments[0].service_connect_configuration.log_configuration.secret_options[0].value_from #=> String
|
|
2083
|
+
# resp.service.deployments[0].service_connect_configuration.access_log_configuration.format #=> String, one of "TEXT", "JSON"
|
|
2084
|
+
# resp.service.deployments[0].service_connect_configuration.access_log_configuration.include_query_parameters #=> String, one of "DISABLED", "ENABLED"
|
|
2079
2085
|
# resp.service.deployments[0].service_connect_resources #=> Array
|
|
2080
2086
|
# resp.service.deployments[0].service_connect_resources[0].discovery_name #=> String
|
|
2081
2087
|
# resp.service.deployments[0].service_connect_resources[0].discovery_arn #=> String
|
|
@@ -3099,6 +3105,8 @@ module Aws::ECS
|
|
|
3099
3105
|
# resp.service.deployments[0].service_connect_configuration.log_configuration.secret_options #=> Array
|
|
3100
3106
|
# resp.service.deployments[0].service_connect_configuration.log_configuration.secret_options[0].name #=> String
|
|
3101
3107
|
# resp.service.deployments[0].service_connect_configuration.log_configuration.secret_options[0].value_from #=> String
|
|
3108
|
+
# resp.service.deployments[0].service_connect_configuration.access_log_configuration.format #=> String, one of "TEXT", "JSON"
|
|
3109
|
+
# resp.service.deployments[0].service_connect_configuration.access_log_configuration.include_query_parameters #=> String, one of "DISABLED", "ENABLED"
|
|
3102
3110
|
# resp.service.deployments[0].service_connect_resources #=> Array
|
|
3103
3111
|
# resp.service.deployments[0].service_connect_resources[0].discovery_name #=> String
|
|
3104
3112
|
# resp.service.deployments[0].service_connect_resources[0].discovery_arn #=> String
|
|
@@ -4819,6 +4827,8 @@ module Aws::ECS
|
|
|
4819
4827
|
# resp.service_revisions[0].service_connect_configuration.log_configuration.secret_options #=> Array
|
|
4820
4828
|
# resp.service_revisions[0].service_connect_configuration.log_configuration.secret_options[0].name #=> String
|
|
4821
4829
|
# resp.service_revisions[0].service_connect_configuration.log_configuration.secret_options[0].value_from #=> String
|
|
4830
|
+
# resp.service_revisions[0].service_connect_configuration.access_log_configuration.format #=> String, one of "TEXT", "JSON"
|
|
4831
|
+
# resp.service_revisions[0].service_connect_configuration.access_log_configuration.include_query_parameters #=> String, one of "DISABLED", "ENABLED"
|
|
4822
4832
|
# resp.service_revisions[0].volume_configurations #=> Array
|
|
4823
4833
|
# resp.service_revisions[0].volume_configurations[0].name #=> String
|
|
4824
4834
|
# resp.service_revisions[0].volume_configurations[0].managed_ebs_volume.encrypted #=> Boolean
|
|
@@ -5091,6 +5101,8 @@ module Aws::ECS
|
|
|
5091
5101
|
# resp.services[0].deployments[0].service_connect_configuration.log_configuration.secret_options #=> Array
|
|
5092
5102
|
# resp.services[0].deployments[0].service_connect_configuration.log_configuration.secret_options[0].name #=> String
|
|
5093
5103
|
# resp.services[0].deployments[0].service_connect_configuration.log_configuration.secret_options[0].value_from #=> String
|
|
5104
|
+
# resp.services[0].deployments[0].service_connect_configuration.access_log_configuration.format #=> String, one of "TEXT", "JSON"
|
|
5105
|
+
# resp.services[0].deployments[0].service_connect_configuration.access_log_configuration.include_query_parameters #=> String, one of "DISABLED", "ENABLED"
|
|
5094
5106
|
# resp.services[0].deployments[0].service_connect_resources #=> Array
|
|
5095
5107
|
# resp.services[0].deployments[0].service_connect_resources[0].discovery_name #=> String
|
|
5096
5108
|
# resp.services[0].deployments[0].service_connect_resources[0].discovery_arn #=> String
|
|
@@ -8611,8 +8623,7 @@ module Aws::ECS
|
|
|
8611
8623
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_data_volumes.html
|
|
8612
8624
|
#
|
|
8613
8625
|
# @option params [Types::RuntimePlatform] :runtime_platform
|
|
8614
|
-
# The operating system that your tasks definitions run on.
|
|
8615
|
-
# family is specified only for tasks using the Fargate launch type.
|
|
8626
|
+
# The operating system that your tasks definitions run on.
|
|
8616
8627
|
#
|
|
8617
8628
|
# @option params [Boolean] :enable_fault_injection
|
|
8618
8629
|
# Enables fault injection when you register your task definition and
|
|
@@ -12604,6 +12615,10 @@ module Aws::ECS
|
|
|
12604
12615
|
# },
|
|
12605
12616
|
# ],
|
|
12606
12617
|
# },
|
|
12618
|
+
# access_log_configuration: {
|
|
12619
|
+
# format: "TEXT", # required, accepts TEXT, JSON
|
|
12620
|
+
# include_query_parameters: "DISABLED", # accepts DISABLED, ENABLED
|
|
12621
|
+
# },
|
|
12607
12622
|
# },
|
|
12608
12623
|
# volume_configurations: [
|
|
12609
12624
|
# {
|
|
@@ -12787,6 +12802,8 @@ module Aws::ECS
|
|
|
12787
12802
|
# resp.service.deployments[0].service_connect_configuration.log_configuration.secret_options #=> Array
|
|
12788
12803
|
# resp.service.deployments[0].service_connect_configuration.log_configuration.secret_options[0].name #=> String
|
|
12789
12804
|
# resp.service.deployments[0].service_connect_configuration.log_configuration.secret_options[0].value_from #=> String
|
|
12805
|
+
# resp.service.deployments[0].service_connect_configuration.access_log_configuration.format #=> String, one of "TEXT", "JSON"
|
|
12806
|
+
# resp.service.deployments[0].service_connect_configuration.access_log_configuration.include_query_parameters #=> String, one of "DISABLED", "ENABLED"
|
|
12790
12807
|
# resp.service.deployments[0].service_connect_resources #=> Array
|
|
12791
12808
|
# resp.service.deployments[0].service_connect_resources[0].discovery_name #=> String
|
|
12792
12809
|
# resp.service.deployments[0].service_connect_resources[0].discovery_arn #=> String
|
|
@@ -13335,7 +13352,7 @@ module Aws::ECS
|
|
|
13335
13352
|
tracer: tracer
|
|
13336
13353
|
)
|
|
13337
13354
|
context[:gem_name] = 'aws-sdk-ecs'
|
|
13338
|
-
context[:gem_version] = '1.
|
|
13355
|
+
context[:gem_version] = '1.211.0'
|
|
13339
13356
|
Seahorse::Client::Request.new(handlers, context)
|
|
13340
13357
|
end
|
|
13341
13358
|
|
|
@@ -360,9 +360,12 @@ module Aws::ECS
|
|
|
360
360
|
SensitiveString = Shapes::StringShape.new(name: 'SensitiveString')
|
|
361
361
|
ServerException = Shapes::StructureShape.new(name: 'ServerException')
|
|
362
362
|
Service = Shapes::StructureShape.new(name: 'Service')
|
|
363
|
+
ServiceConnectAccessLogConfiguration = Shapes::StructureShape.new(name: 'ServiceConnectAccessLogConfiguration')
|
|
364
|
+
ServiceConnectAccessLoggingFormat = Shapes::StringShape.new(name: 'ServiceConnectAccessLoggingFormat')
|
|
363
365
|
ServiceConnectClientAlias = Shapes::StructureShape.new(name: 'ServiceConnectClientAlias')
|
|
364
366
|
ServiceConnectClientAliasList = Shapes::ListShape.new(name: 'ServiceConnectClientAliasList')
|
|
365
367
|
ServiceConnectConfiguration = Shapes::StructureShape.new(name: 'ServiceConnectConfiguration')
|
|
368
|
+
ServiceConnectIncludeQueryParameters = Shapes::StringShape.new(name: 'ServiceConnectIncludeQueryParameters')
|
|
366
369
|
ServiceConnectService = Shapes::StructureShape.new(name: 'ServiceConnectService')
|
|
367
370
|
ServiceConnectServiceList = Shapes::ListShape.new(name: 'ServiceConnectServiceList')
|
|
368
371
|
ServiceConnectServiceResource = Shapes::StructureShape.new(name: 'ServiceConnectServiceResource')
|
|
@@ -1757,6 +1760,10 @@ module Aws::ECS
|
|
|
1757
1760
|
Service.add_member(:availability_zone_rebalancing, Shapes::ShapeRef.new(shape: AvailabilityZoneRebalancing, location_name: "availabilityZoneRebalancing"))
|
|
1758
1761
|
Service.struct_class = Types::Service
|
|
1759
1762
|
|
|
1763
|
+
ServiceConnectAccessLogConfiguration.add_member(:format, Shapes::ShapeRef.new(shape: ServiceConnectAccessLoggingFormat, required: true, location_name: "format"))
|
|
1764
|
+
ServiceConnectAccessLogConfiguration.add_member(:include_query_parameters, Shapes::ShapeRef.new(shape: ServiceConnectIncludeQueryParameters, location_name: "includeQueryParameters"))
|
|
1765
|
+
ServiceConnectAccessLogConfiguration.struct_class = Types::ServiceConnectAccessLogConfiguration
|
|
1766
|
+
|
|
1760
1767
|
ServiceConnectClientAlias.add_member(:port, Shapes::ShapeRef.new(shape: PortNumber, required: true, location_name: "port"))
|
|
1761
1768
|
ServiceConnectClientAlias.add_member(:dns_name, Shapes::ShapeRef.new(shape: String, location_name: "dnsName"))
|
|
1762
1769
|
ServiceConnectClientAlias.add_member(:test_traffic_rules, Shapes::ShapeRef.new(shape: ServiceConnectTestTrafficRules, location_name: "testTrafficRules"))
|
|
@@ -1768,6 +1775,7 @@ module Aws::ECS
|
|
|
1768
1775
|
ServiceConnectConfiguration.add_member(:namespace, Shapes::ShapeRef.new(shape: String, location_name: "namespace"))
|
|
1769
1776
|
ServiceConnectConfiguration.add_member(:services, Shapes::ShapeRef.new(shape: ServiceConnectServiceList, location_name: "services"))
|
|
1770
1777
|
ServiceConnectConfiguration.add_member(:log_configuration, Shapes::ShapeRef.new(shape: LogConfiguration, location_name: "logConfiguration"))
|
|
1778
|
+
ServiceConnectConfiguration.add_member(:access_log_configuration, Shapes::ShapeRef.new(shape: ServiceConnectAccessLogConfiguration, location_name: "accessLogConfiguration"))
|
|
1771
1779
|
ServiceConnectConfiguration.struct_class = Types::ServiceConnectConfiguration
|
|
1772
1780
|
|
|
1773
1781
|
ServiceConnectService.add_member(:port_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "portName"))
|
data/lib/aws-sdk-ecs/types.rb
CHANGED
|
@@ -362,8 +362,8 @@ module Aws::ECS
|
|
|
362
362
|
#
|
|
363
363
|
# Consider the following when you set this value:
|
|
364
364
|
#
|
|
365
|
-
# * When you use `create-service` or `update-service`, the
|
|
366
|
-
#
|
|
365
|
+
# * When you use `create-service` or `update-service`, the default is
|
|
366
|
+
# `DISABLED`.
|
|
367
367
|
#
|
|
368
368
|
# * When the service `deploymentController` is `ECS`, the value must
|
|
369
369
|
# be `DISABLED`.
|
|
@@ -403,7 +403,7 @@ module Aws::ECS
|
|
|
403
403
|
end
|
|
404
404
|
|
|
405
405
|
# Your Amazon Web Services account was blocked. For more information,
|
|
406
|
-
# contact [ Amazon Web
|
|
406
|
+
# contact [ Amazon Web Services Support][1].
|
|
407
407
|
#
|
|
408
408
|
#
|
|
409
409
|
#
|
|
@@ -413,7 +413,7 @@ module Aws::ECS
|
|
|
413
413
|
#
|
|
414
414
|
class BlockedException < Aws::EmptyStructure; end
|
|
415
415
|
|
|
416
|
-
# Configuration for canary deployment strategy that shifts a fixed
|
|
416
|
+
# Configuration for a canary deployment strategy that shifts a fixed
|
|
417
417
|
# percentage of traffic to the new service revision, waits for a
|
|
418
418
|
# specified bake time, then shifts the remaining traffic.
|
|
419
419
|
#
|
|
@@ -423,8 +423,8 @@ module Aws::ECS
|
|
|
423
423
|
#
|
|
424
424
|
# @!attribute [rw] canary_percent
|
|
425
425
|
# The percentage of production traffic to shift to the new service
|
|
426
|
-
# revision during the canary phase. Valid values are
|
|
427
|
-
# default value is 5.0.
|
|
426
|
+
# revision during the canary phase. Valid values are multiples of 0.1
|
|
427
|
+
# from 0.1 to 100.0. The default value is 5.0.
|
|
428
428
|
# @return [Float]
|
|
429
429
|
#
|
|
430
430
|
# @!attribute [rw] canary_bake_time_in_minutes
|
|
@@ -1305,7 +1305,7 @@ module Aws::ECS
|
|
|
1305
1305
|
#
|
|
1306
1306
|
# @!attribute [rw] cpu
|
|
1307
1307
|
# The number of `cpu` units reserved for the container. This parameter
|
|
1308
|
-
# maps to `CpuShares` in the docker container create
|
|
1308
|
+
# maps to `CpuShares` in the docker container create command and the
|
|
1309
1309
|
# `--cpu-shares` option to docker run.
|
|
1310
1310
|
#
|
|
1311
1311
|
# This field is optional for tasks using the Fargate launch type, and
|
|
@@ -4290,6 +4290,19 @@ module Aws::ECS
|
|
|
4290
4290
|
# revisions before directing production traffic to them. This
|
|
4291
4291
|
# approach provides a safer way to deploy changes with the ability
|
|
4292
4292
|
# to quickly roll back if needed.
|
|
4293
|
+
#
|
|
4294
|
+
# * `LINEAR` - A *linear* deployment strategy (`LINEAR`) gradually
|
|
4295
|
+
# shifts traffic from the current production environment to a new
|
|
4296
|
+
# environment in equal percentages over time. With Amazon ECS linear
|
|
4297
|
+
# deployments, you can control the pace of traffic shifting and
|
|
4298
|
+
# validate new service revisions with increasing amounts of
|
|
4299
|
+
# production traffic.
|
|
4300
|
+
#
|
|
4301
|
+
# * `CANARY` - A *canary* deployment strategy (`CANARY`) shifts a
|
|
4302
|
+
# small percentage of traffic to the new service revision first,
|
|
4303
|
+
# then shifts the remaining traffic all at once after a specified
|
|
4304
|
+
# time period. This allows you to test the new version with a subset
|
|
4305
|
+
# of users before full deployment.
|
|
4293
4306
|
# @return [String]
|
|
4294
4307
|
#
|
|
4295
4308
|
# @!attribute [rw] bake_time_in_minutes
|
|
@@ -6651,15 +6664,15 @@ module Aws::ECS
|
|
|
6651
6664
|
#
|
|
6652
6665
|
# @!attribute [rw] step_percent
|
|
6653
6666
|
# The percentage of production traffic to shift in each step during a
|
|
6654
|
-
# linear deployment. Valid values are
|
|
6655
|
-
# is 10.0.
|
|
6667
|
+
# linear deployment. Valid values are multiples of 0.1 from 3.0 to
|
|
6668
|
+
# 100.0. The default value is 10.0.
|
|
6656
6669
|
# @return [Float]
|
|
6657
6670
|
#
|
|
6658
6671
|
# @!attribute [rw] step_bake_time_in_minutes
|
|
6659
6672
|
# The amount of time in minutes to wait between each traffic shifting
|
|
6660
6673
|
# step during a linear deployment. Valid values are 0 to 1440 minutes
|
|
6661
6674
|
# (24 hours). The default value is 6. This bake time is not applied
|
|
6662
|
-
# after reaching 100
|
|
6675
|
+
# after reaching 100 percent traffic.
|
|
6663
6676
|
# @return [Integer]
|
|
6664
6677
|
#
|
|
6665
6678
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/LinearConfiguration AWS API Documentation
|
|
@@ -9926,8 +9939,7 @@ module Aws::ECS
|
|
|
9926
9939
|
# @return [Types::EphemeralStorage]
|
|
9927
9940
|
#
|
|
9928
9941
|
# @!attribute [rw] runtime_platform
|
|
9929
|
-
# The operating system that your tasks definitions run on.
|
|
9930
|
-
# family is specified only for tasks using the Fargate launch type.
|
|
9942
|
+
# The operating system that your tasks definitions run on.
|
|
9931
9943
|
# @return [Types::RuntimePlatform]
|
|
9932
9944
|
#
|
|
9933
9945
|
# @!attribute [rw] enable_fault_injection
|
|
@@ -10483,7 +10495,8 @@ module Aws::ECS
|
|
|
10483
10495
|
#
|
|
10484
10496
|
# You can run your Linux tasks on an ARM-based platform by setting the
|
|
10485
10497
|
# value to `ARM64`. This option is available for tasks that run on
|
|
10486
|
-
# Linux Amazon EC2 instance
|
|
10498
|
+
# Linux Amazon EC2 instance, Amazon ECS Managed Instances, or Linux
|
|
10499
|
+
# containers on Fargate.
|
|
10487
10500
|
# @return [String]
|
|
10488
10501
|
#
|
|
10489
10502
|
# @!attribute [rw] operating_system_family
|
|
@@ -10909,6 +10922,42 @@ module Aws::ECS
|
|
|
10909
10922
|
include Aws::Structure
|
|
10910
10923
|
end
|
|
10911
10924
|
|
|
10925
|
+
# Configuration for Service Connect access logging. Access logs provide
|
|
10926
|
+
# detailed information about requests made to your service, including
|
|
10927
|
+
# request patterns, response codes, and timing data for debugging and
|
|
10928
|
+
# monitoring purposes.
|
|
10929
|
+
#
|
|
10930
|
+
# <note markdown="1"> To enable access logs, you must also specify a `logConfiguration` in
|
|
10931
|
+
# the `serviceConnectConfiguration`.
|
|
10932
|
+
#
|
|
10933
|
+
# </note>
|
|
10934
|
+
#
|
|
10935
|
+
# @!attribute [rw] format
|
|
10936
|
+
# The format for Service Connect access log output. Choose TEXT for
|
|
10937
|
+
# human-readable logs or JSON for structured data that integrates well
|
|
10938
|
+
# with log analysis tools.
|
|
10939
|
+
# @return [String]
|
|
10940
|
+
#
|
|
10941
|
+
# @!attribute [rw] include_query_parameters
|
|
10942
|
+
# Specifies whether to include query parameters in Service Connect
|
|
10943
|
+
# access logs.
|
|
10944
|
+
#
|
|
10945
|
+
# When enabled, query parameters from HTTP requests are included in
|
|
10946
|
+
# the access logs. Consider security and privacy implications when
|
|
10947
|
+
# enabling this feature, as query parameters may contain sensitive
|
|
10948
|
+
# information such as request IDs and tokens. By default, this
|
|
10949
|
+
# parameter is `DISABLED`.
|
|
10950
|
+
# @return [String]
|
|
10951
|
+
#
|
|
10952
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ServiceConnectAccessLogConfiguration AWS API Documentation
|
|
10953
|
+
#
|
|
10954
|
+
class ServiceConnectAccessLogConfiguration < Struct.new(
|
|
10955
|
+
:format,
|
|
10956
|
+
:include_query_parameters)
|
|
10957
|
+
SENSITIVE = []
|
|
10958
|
+
include Aws::Structure
|
|
10959
|
+
end
|
|
10960
|
+
|
|
10912
10961
|
# Each alias ("endpoint") is a fully-qualified name and port number
|
|
10913
10962
|
# that other tasks ("clients") can use to connect to this service.
|
|
10914
10963
|
#
|
|
@@ -11078,13 +11127,28 @@ module Aws::ECS
|
|
|
11078
11127
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html
|
|
11079
11128
|
# @return [Types::LogConfiguration]
|
|
11080
11129
|
#
|
|
11130
|
+
# @!attribute [rw] access_log_configuration
|
|
11131
|
+
# The configuration for Service Connect access logging. Access logs
|
|
11132
|
+
# capture detailed information about requests made to your service,
|
|
11133
|
+
# including request patterns, response codes, and timing data. They
|
|
11134
|
+
# can be useful for debugging connectivity issues, monitoring service
|
|
11135
|
+
# performance, and auditing service-to-service communication for
|
|
11136
|
+
# security and compliance purposes.
|
|
11137
|
+
#
|
|
11138
|
+
# <note markdown="1"> To enable access logs, you must also specify a `logConfiguration` in
|
|
11139
|
+
# the `serviceConnectConfiguration`.
|
|
11140
|
+
#
|
|
11141
|
+
# </note>
|
|
11142
|
+
# @return [Types::ServiceConnectAccessLogConfiguration]
|
|
11143
|
+
#
|
|
11081
11144
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ServiceConnectConfiguration AWS API Documentation
|
|
11082
11145
|
#
|
|
11083
11146
|
class ServiceConnectConfiguration < Struct.new(
|
|
11084
11147
|
:enabled,
|
|
11085
11148
|
:namespace,
|
|
11086
11149
|
:services,
|
|
11087
|
-
:log_configuration
|
|
11150
|
+
:log_configuration,
|
|
11151
|
+
:access_log_configuration)
|
|
11088
11152
|
SENSITIVE = []
|
|
11089
11153
|
include Aws::Structure
|
|
11090
11154
|
end
|
data/lib/aws-sdk-ecs.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -379,6 +379,10 @@ module Aws
|
|
|
379
379
|
value_from: ::String
|
|
380
380
|
},
|
|
381
381
|
]?
|
|
382
|
+
}?,
|
|
383
|
+
access_log_configuration: {
|
|
384
|
+
format: ("TEXT" | "JSON"),
|
|
385
|
+
include_query_parameters: ("DISABLED" | "ENABLED")?
|
|
382
386
|
}?
|
|
383
387
|
},
|
|
384
388
|
?volume_configurations: Array[
|
|
@@ -1947,6 +1951,10 @@ module Aws
|
|
|
1947
1951
|
value_from: ::String
|
|
1948
1952
|
},
|
|
1949
1953
|
]?
|
|
1954
|
+
}?,
|
|
1955
|
+
access_log_configuration: {
|
|
1956
|
+
format: ("TEXT" | "JSON"),
|
|
1957
|
+
include_query_parameters: ("DISABLED" | "ENABLED")?
|
|
1950
1958
|
}?
|
|
1951
1959
|
},
|
|
1952
1960
|
?volume_configurations: Array[
|
data/sig/types.rbs
CHANGED
|
@@ -1515,6 +1515,12 @@ module Aws::ECS
|
|
|
1515
1515
|
SENSITIVE: []
|
|
1516
1516
|
end
|
|
1517
1517
|
|
|
1518
|
+
class ServiceConnectAccessLogConfiguration
|
|
1519
|
+
attr_accessor format: ("TEXT" | "JSON")
|
|
1520
|
+
attr_accessor include_query_parameters: ("DISABLED" | "ENABLED")
|
|
1521
|
+
SENSITIVE: []
|
|
1522
|
+
end
|
|
1523
|
+
|
|
1518
1524
|
class ServiceConnectClientAlias
|
|
1519
1525
|
attr_accessor port: ::Integer
|
|
1520
1526
|
attr_accessor dns_name: ::String
|
|
@@ -1527,6 +1533,7 @@ module Aws::ECS
|
|
|
1527
1533
|
attr_accessor namespace: ::String
|
|
1528
1534
|
attr_accessor services: ::Array[Types::ServiceConnectService]
|
|
1529
1535
|
attr_accessor log_configuration: Types::LogConfiguration
|
|
1536
|
+
attr_accessor access_log_configuration: Types::ServiceConnectAccessLogConfiguration
|
|
1530
1537
|
SENSITIVE: []
|
|
1531
1538
|
end
|
|
1532
1539
|
|