Interface CfnApiGatewayManagedOverrides.RouteSettingsProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnApiGatewayManagedOverrides.RouteSettingsProperty.Jsii$Proxy
Enclosing class:
CfnApiGatewayManagedOverrides

@Stability(Stable) public static interface CfnApiGatewayManagedOverrides.RouteSettingsProperty extends software.amazon.jsii.JsiiSerializable
The RouteSettings property overrides the route settings for an API Gateway-managed route.

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.apigatewayv2.*;
 RouteSettingsProperty routeSettingsProperty = RouteSettingsProperty.builder()
         .dataTraceEnabled(false)
         .detailedMetricsEnabled(false)
         .loggingLevel("loggingLevel")
         .throttlingBurstLimit(123)
         .throttlingRateLimit(123)
         .build();
 
  • Method Details

    • getDataTraceEnabled

      @Stability(Stable) @Nullable default Object getDataTraceEnabled()
      Specifies whether ( true ) or not ( false ) data trace logging is enabled for this route.

      This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs.

    • getDetailedMetricsEnabled

      @Stability(Stable) @Nullable default Object getDetailedMetricsEnabled()
      Specifies whether detailed metrics are enabled.
    • getLoggingLevel

      @Stability(Stable) @Nullable default String getLoggingLevel()
      Specifies the logging level for this route: INFO , ERROR , or OFF .

      This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs.

    • getThrottlingBurstLimit

      @Stability(Stable) @Nullable default Number getThrottlingBurstLimit()
      Specifies the throttling burst limit.
    • getThrottlingRateLimit

      @Stability(Stable) @Nullable default Number getThrottlingRateLimit()
      Specifies the throttling rate limit.
    • builder

      Returns:
      a CfnApiGatewayManagedOverrides.RouteSettingsProperty.Builder of CfnApiGatewayManagedOverrides.RouteSettingsProperty