Skip to content
v2.277.0

ProcessorFeatures Struct ​

The processor features.

Example ​

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
# 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
// 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();
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
};
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 ​

coreCountoptionalnumbercore_countoptionalint | floatcoreCountoptionalNumberCoreCountoptionaldoubleCoreCountoptional*float64 #
The number of CPU core.

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

threadsPerCoreoptionalnumberthreads_per_coreoptionalint | floatthreadsPerCoreoptionalNumberThreadsPerCoreoptionaldoubleThreadsPerCoreoptional*float64 #
The number of threads per core.

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