# RouteSettingsProperty

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

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

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_sam as sam

route_settings_property = sam.CfnFunction.RouteSettingsProperty(
    data_trace_enabled=False,
    detailed_metrics_enabled=False,
    logging_level="loggingLevel",
    throttling_burst_limit=123,
    throttling_rate_limit=123
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.sam.*;

RouteSettingsProperty routeSettingsProperty = RouteSettingsProperty.builder()
        .dataTraceEnabled(false)
        .detailedMetricsEnabled(false)
        .loggingLevel("loggingLevel")
        .throttlingBurstLimit(123)
        .throttlingRateLimit(123)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SAM;

var routeSettingsProperty = new RouteSettingsProperty {
    DataTraceEnabled = false,
    DetailedMetricsEnabled = false,
    LoggingLevel = "loggingLevel",
    ThrottlingBurstLimit = 123,
    ThrottlingRateLimit = 123
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

routeSettingsProperty := &RouteSettingsProperty{
	DataTraceEnabled: jsii.Boolean(false),
	DetailedMetricsEnabled: jsii.Boolean(false),
	LoggingLevel: jsii.String("loggingLevel"),
	ThrottlingBurstLimit: jsii.Number(123),
	ThrottlingRateLimit: jsii.Number(123),
}
```

## Properties

- `dataTraceEnabled`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html)

- `detailedMetricsEnabled`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html)

- `loggingLevel`: string

- `throttlingBurstLimit`: number

- `throttlingRateLimit`: number
