# PerformanceTargetProperty

An object that represents the price performance target settings for the workgroup.

- Source: Generated at build time
- Type last changed: v2.174.0 · 4 Jan 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_redshiftserverless as redshiftserverless } from 'aws-cdk-lib';
const performanceTargetProperty: redshiftserverless.CfnWorkgroup.PerformanceTargetProperty = {
  level: 123,
  status: 'status',
};
```

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_redshiftserverless as redshiftserverless

performance_target_property = redshiftserverless.CfnWorkgroup.PerformanceTargetProperty(
    level=123,
    status="status"
)
```

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.redshiftserverless.*;

PerformanceTargetProperty performanceTargetProperty = PerformanceTargetProperty.builder()
        .level(123)
        .status("status")
        .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.RedshiftServerless;

var performanceTargetProperty = new PerformanceTargetProperty {
    Level = 123,
    Status = "status"
};
```

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"

performanceTargetProperty := &PerformanceTargetProperty{
	Level: jsii.Number(123),
	Status: jsii.String("status"),
}
```

## Properties

- `level`: number — The target price performance level for the workgroup.

  Valid values include 1, 25, 50, 75, and 100. These correspond to the price performance levels LOW_COST, ECONOMICAL, BALANCED, RESOURCEFUL, and HIGH_PERFORMANCE.

- `status`: string — Whether the price performance target is enabled for the workgroup.
