# ProcessorFeatures

The processor features.

- Source: [`aws-rds/lib/instance.ts`](https://github.com/aws/aws-cdk/blob/v2.277.0/packages/aws-cdk-lib/aws-rds/lib/instance.ts#L381)

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_rds as rds } from 'aws-cdk-lib';
const processorFeatures: rds.ProcessorFeatures = {
  coreCount: 123,
  threadsPerCore: 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_rds as rds

processor_features = rds.ProcessorFeatures(
    core_count=123,
    threads_per_core=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.rds.*;

ProcessorFeatures processorFeatures = ProcessorFeatures.builder()
        .coreCount(123)
        .threadsPerCore(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.RDS;

var processorFeatures = new ProcessorFeatures {
    CoreCount = 123,
    ThreadsPerCore = 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"

processorFeatures := &ProcessorFeatures{
	CoreCount: jsii.Number(123),
	ThreadsPerCore: jsii.Number(123),
}
```

## Properties

- `coreCount`: number — The number of CPU core.

  **Default:** the default number of CPU cores for the chosen instance class.

- `threadsPerCore`: number — The number of threads per core.

  **Default:** the default number of threads per core for the chosen instance class.
