Interface CfnApiGatewayManagedOverrides.IRouteSettingsProperty
The RouteSettings
property overrides the route settings for an API Gateway-managed route.
Namespace: Amazon.CDK.AWS.APIGatewayv2
Assembly: Amazon.CDK.AWS.APIGatewayv2.dll
Syntax (csharp)
public interface IRouteSettingsProperty
Syntax (vb)
Public Interface IRouteSettingsProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.APIGatewayv2;
var routeSettingsProperty = new RouteSettingsProperty {
DataTraceEnabled = false,
DetailedMetricsEnabled = false,
LoggingLevel = "loggingLevel",
ThrottlingBurstLimit = 123,
ThrottlingRateLimit = 123
};
Synopsis
Properties
DataTraceEnabled | Specifies whether ( |
DetailedMetricsEnabled | Specifies whether detailed metrics are enabled. |
LoggingLevel | Specifies the logging level for this route: |
ThrottlingBurstLimit | Specifies the throttling burst limit. |
ThrottlingRateLimit | Specifies the throttling rate limit. |
Properties
DataTraceEnabled
Specifies whether ( true
) or not ( false
) data trace logging is enabled for this route.
virtual object DataTraceEnabled { get; }
Property Value
System.Object
Remarks
This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs.
DetailedMetricsEnabled
Specifies whether detailed metrics are enabled.
virtual object DetailedMetricsEnabled { get; }
Property Value
System.Object
Remarks
LoggingLevel
Specifies the logging level for this route: INFO
, ERROR
, or OFF
.
virtual string LoggingLevel { get; }
Property Value
System.String
Remarks
This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs.
ThrottlingBurstLimit
Specifies the throttling burst limit.
virtual Nullable<double> ThrottlingBurstLimit { get; }
Property Value
System.Nullable<System.Double>
Remarks
ThrottlingRateLimit
Specifies the throttling rate limit.
virtual Nullable<double> ThrottlingRateLimit { get; }
Property Value
System.Nullable<System.Double>