Interface CfnServicePropsMixin.ServiceConnectAccessLogConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnServicePropsMixin.ServiceConnectAccessLogConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnServicePropsMixin
@Stability(Stable)
public static interface CfnServicePropsMixin.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.cfnpropertymixins.services.ecs.*;
ServiceConnectAccessLogConfigurationProperty serviceConnectAccessLogConfigurationProperty = ServiceConnectAccessLogConfigurationProperty.builder()
.format("format")
.includeQueryParameters("includeQueryParameters")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnServicePropsMixin.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
@Stability(Stable) static CfnServicePropsMixin.ServiceConnectAccessLogConfigurationProperty.Builder builder()
-