Class CfnServicePropsMixin.ServiceConnectAccessLogConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ecs.CfnServicePropsMixin.ServiceConnectAccessLogConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServicePropsMixin.ServiceConnectAccessLogConfigurationProperty>
- Enclosing interface:
CfnServicePropsMixin.ServiceConnectAccessLogConfigurationProperty
@Stability(Stable)
public static final class CfnServicePropsMixin.ServiceConnectAccessLogConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServicePropsMixin.ServiceConnectAccessLogConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.includeQueryParameters(String includeQueryParameters)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
format
@Stability(Stable) public CfnServicePropsMixin.ServiceConnectAccessLogConfigurationProperty.Builder format(String format) - Parameters:
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.- Returns:
this
-
includeQueryParameters
@Stability(Stable) public CfnServicePropsMixin.ServiceConnectAccessLogConfigurationProperty.Builder includeQueryParameters(String includeQueryParameters) Sets the value ofCfnServicePropsMixin.ServiceConnectAccessLogConfigurationProperty.getIncludeQueryParameters()- Parameters:
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 isDISABLED.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServicePropsMixin.ServiceConnectAccessLogConfigurationProperty>- Returns:
- a new instance of
CfnServicePropsMixin.ServiceConnectAccessLogConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-