AWS cli: ECS create-service: document Service Connect proxy containerConfigurations logLevel
Summary
Adds CLI reference documentation for the new containerConfigurations list on serviceConnectConfiguration, including the tagged-union logLevel setting (debug/info) for the Service Connect proxy container, plus the AWS CLI version bump to 2.38.2.
Security assessment
The change only documents a new Service Connect proxy log-level option used for connectivity troubleshooting; it introduces no auth, encryption, or exposure change and references no vulnerability. Log verbosity has minor security-adjacent impact (more verbose proxy logs), hence low severity.
Evidence
>>>>>>> The log level of the Service Connect proxy container. Set the log level to `debug` to collect more detailed proxy logs when you troubleshoot connectivity issues between services, and set it back to `info` when you finish. Debug logging increases the volume of logs that the proxy container writes. If you don’t specify a log level, the default is `info` .
Diff
diff --git a/cli/latest/reference/ecs/create-service.md b/cli/latest/reference/ecs/create-service.md index 9ecaef6..c5d399f 100644 --- a//cli/latest/reference/ecs/create-service.md +++ b//cli/latest/reference/ecs/create-service.md @@ -15 +15 @@ - * [AWS CLI 2.38.1 Command Reference](../../index.html) » + * [AWS CLI 2.38.2 Command Reference](../../index.html) » @@ -1632,0 +1633,32 @@ JSON Syntax: +> +> containerConfigurations -> (list) +> +>> The settings for the Service Connect proxy container that Amazon ECS adds to each task in this service. Each object in the list sets exactly one setting, and each setting can appear only once in the list. +>> +>> Your changes to these settings apply only to tasks that Amazon ECS launches after you update the service. Your running tasks keep their existing settings until Amazon ECS replaces them. If you update the `serviceConnectConfiguration` of your service and don’t include `containerConfigurations` , the proxy container settings return to their defaults. +>> +>> Constraints: +>> +>> * min: `0` +>> * max: `10` +>> + +>> +>> (tagged union structure) +>> +>>> Contains a configuration setting for the Service Connect proxy container, such as the log level. Specify exactly one member in each object. +>>> +>>> ### Note +>>> +>>> This is a Tagged Union structure. Only one of the following top level keys can be set: `logLevel`. +>>> +>>> logLevel -> (string) +>>> +>>>> The log level of the Service Connect proxy container. Set the log level to `debug` to collect more detailed proxy logs when you troubleshoot connectivity issues between services, and set it back to `info` when you finish. Debug logging increases the volume of logs that the proxy container writes. If you don’t specify a log level, the default is `info` . +>>>> +>>>> Possible values: +>>>> +>>>> * `debug` +>>>> * `info` +>>>> + @@ -1688,0 +1721,4 @@ JSON Syntax: + }, + "containerConfigurations": [ + { + "logLevel": "debug"|"info" @@ -1689,0 +1726,2 @@ JSON Syntax: + ... + ] @@ -4184,0 +4223,32 @@ service -> (structure) +>>>> +>>>> containerConfigurations -> (list) +>>>> +>>>>> The settings for the Service Connect proxy container that Amazon ECS adds to each task in this service. Each object in the list sets exactly one setting, and each setting can appear only once in the list. +>>>>> +>>>>> Your changes to these settings apply only to tasks that Amazon ECS launches after you update the service. Your running tasks keep their existing settings until Amazon ECS replaces them. If you update the `serviceConnectConfiguration` of your service and don’t include `containerConfigurations` , the proxy container settings return to their defaults. +>>>>> +>>>>> Constraints: +>>>>> +>>>>> * min: `0` +>>>>> * max: `10` +>>>>> + +>>>>> +>>>>> (tagged union structure) +>>>>> +>>>>>> Contains a configuration setting for the Service Connect proxy container, such as the log level. Specify exactly one member in each object. +>>>>>> +>>>>>> ### Note +>>>>>> +>>>>>> This is a Tagged Union structure. Only one of the following top level keys can be set: `logLevel`. +>>>>>> +>>>>>> logLevel -> (string) +>>>>>> +>>>>>>> The log level of the Service Connect proxy container. Set the log level to `debug` to collect more detailed proxy logs when you troubleshoot connectivity issues between services, and set it back to `info` when you finish. Debug logging increases the volume of logs that the proxy container writes. If you don’t specify a log level, the default is `info` . +>>>>>>> +>>>>>>> Possible values: +>>>>>>> +>>>>>>> * `debug` +>>>>>>> * `info` +>>>>>>> + @@ -4802 +4872 @@ service -> (structure) - * [AWS CLI 2.38.1 Command Reference](../../index.html) » + * [AWS CLI 2.38.2 Command Reference](../../index.html) »