Interface CfnService.ServiceConnectAccessLogConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnService.ServiceConnectAccessLogConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnService
@Stability(Stable)
public static interface CfnService.ServiceConnectAccessLogConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
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.
To enable access logs, you must also specify a
logConfigurationin theserviceConnectConfiguration.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ecs.*;
ServiceConnectAccessLogConfigurationProperty serviceConnectAccessLogConfigurationProperty = ServiceConnectAccessLogConfigurationProperty.builder()
.format("format")
// the properties below are optional
.includeQueryParameters("includeQueryParameters")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnService.ServiceConnectAccessLogConfigurationPropertystatic final classAn implementation forCfnService.ServiceConnectAccessLogConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFormat
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.
- See Also:
-
getIncludeQueryParameters
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.- See Also:
-
builder
-