# RouteSettingsProperty

The `RouteSettings` property overrides the route settings for an API Gateway-managed route.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_apigatewayv2 as apigatewayv2 } from 'aws-cdk-lib';
const routeSettingsProperty: apigatewayv2.CfnApiGatewayManagedOverrides.RouteSettingsProperty = {
  dataTraceEnabled: false,
  detailedMetricsEnabled: false,
  loggingLevel: 'loggingLevel',
  throttlingBurstLimit: 123,
  throttlingRateLimit: 123,
};
```

## Properties

- `dataTraceEnabled`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — 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.

- `detailedMetricsEnabled`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Specifies whether detailed metrics are enabled.

- `loggingLevel`: string — 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.

- `throttlingBurstLimit`: number — Specifies the throttling burst limit.

- `throttlingRateLimit`: number — Specifies the throttling rate limit.
