ServiceConnectAccessLogConfiguration - Amazon Elastic Container Service

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 AWS SDKs, see the following: