Interface CfnStage.RouteSettingsProperty

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

@Stability(Stable) public static interface CfnStage.RouteSettingsProperty extends software.amazon.jsii.JsiiSerializable
Represents a collection of route settings.

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

      @Stability(Stable) static CfnStage.RouteSettingsProperty.Builder builder()
      Returns:
      a CfnStage.RouteSettingsProperty.Builder of CfnStage.RouteSettingsProperty