ServiceConnectAccessLogConfiguration - Amazon Elastic Container Service
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

ServiceConnectAccessLogConfiguration

Configuration for Service Connect access logging. Access logs provide detailed information about requests made to your service, including request patterns, response codes, and timing data for debugging and monitoring purposes.

Note

To enable access logs, you must also specify a logConfiguration in the serviceConnectConfiguration.

Contents

format

The format for Service Connect access log output. Choose TEXT for human-readable logs or JSON for structured data that integrates well with log analysis tools.

Type: String

Valid Values: TEXT | JSON

Required: Yes

includeQueryParameters

Specifies whether to include query parameters in Service Connect access logs.

When enabled, query parameters from HTTP requests are included in the access logs. Consider security and privacy implications when enabling this feature, as query parameters may contain sensitive information such as request IDs and tokens. By default, this parameter is DISABLED.

Type: String

Valid Values: DISABLED | ENABLED

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: