# WeightedBalancedSchedulingConfigurationProperty

- Source: Generated at build time
- Type last changed: v2.251.0 · 24 Apr 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_deadline as deadline } from 'aws-cdk-lib';

declare const alwaysScheduleFirst: any;
declare const alwaysScheduleLast: any;
const weightedBalancedSchedulingConfigurationProperty: deadline.CfnQueue.WeightedBalancedSchedulingConfigurationProperty = {
  errorWeight: 123,
  maxPriorityOverride: {
    alwaysScheduleFirst: alwaysScheduleFirst,
  },
  minPriorityOverride: {
    alwaysScheduleLast: alwaysScheduleLast,
  },
  priorityWeight: 123,
  renderingTaskBuffer: 123,
  renderingTaskWeight: 123,
  submissionTimeWeight: 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_deadline as deadline

# always_schedule_first: Any
# always_schedule_last: Any

weighted_balanced_scheduling_configuration_property = deadline.CfnQueue.WeightedBalancedSchedulingConfigurationProperty(
    error_weight=123,
    max_priority_override=deadline.CfnQueue.SchedulingMaxPriorityOverrideProperty(
        always_schedule_first=always_schedule_first
    ),
    min_priority_override=deadline.CfnQueue.SchedulingMinPriorityOverrideProperty(
        always_schedule_last=always_schedule_last
    ),
    priority_weight=123,
    rendering_task_buffer=123,
    rendering_task_weight=123,
    submission_time_weight=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.deadline.*;

Object alwaysScheduleFirst;
Object alwaysScheduleLast;

WeightedBalancedSchedulingConfigurationProperty weightedBalancedSchedulingConfigurationProperty = WeightedBalancedSchedulingConfigurationProperty.builder()
        .errorWeight(123)
        .maxPriorityOverride(SchedulingMaxPriorityOverrideProperty.builder()
                .alwaysScheduleFirst(alwaysScheduleFirst)
                .build())
        .minPriorityOverride(SchedulingMinPriorityOverrideProperty.builder()
                .alwaysScheduleLast(alwaysScheduleLast)
                .build())
        .priorityWeight(123)
        .renderingTaskBuffer(123)
        .renderingTaskWeight(123)
        .submissionTimeWeight(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.Deadline;

var alwaysScheduleFirst;
var alwaysScheduleLast;

var weightedBalancedSchedulingConfigurationProperty = new WeightedBalancedSchedulingConfigurationProperty {
    ErrorWeight = 123,
    MaxPriorityOverride = new SchedulingMaxPriorityOverrideProperty {
        AlwaysScheduleFirst = alwaysScheduleFirst
    },
    MinPriorityOverride = new SchedulingMinPriorityOverrideProperty {
        AlwaysScheduleLast = alwaysScheduleLast
    },
    PriorityWeight = 123,
    RenderingTaskBuffer = 123,
    RenderingTaskWeight = 123,
    SubmissionTimeWeight = 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"

var alwaysScheduleFirst interface{}
var alwaysScheduleLast interface{}

weightedBalancedSchedulingConfigurationProperty := &WeightedBalancedSchedulingConfigurationProperty{
	ErrorWeight: jsii.Number(123),
	MaxPriorityOverride: &SchedulingMaxPriorityOverrideProperty{
		AlwaysScheduleFirst: alwaysScheduleFirst,
	},
	MinPriorityOverride: &SchedulingMinPriorityOverrideProperty{
		AlwaysScheduleLast: alwaysScheduleLast,
	},
	PriorityWeight: jsii.Number(123),
	RenderingTaskBuffer: jsii.Number(123),
	RenderingTaskWeight: jsii.Number(123),
	SubmissionTimeWeight: jsii.Number(123),
}
```

## Properties

- `errorWeight`: number = -10

- `maxPriorityOverride`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnQueue.SchedulingMaxPriorityOverrideProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_deadline.CfnQueue.SchedulingMaxPriorityOverrideProperty.html)

- `minPriorityOverride`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnQueue.SchedulingMinPriorityOverrideProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_deadline.CfnQueue.SchedulingMinPriorityOverrideProperty.html)

- `priorityWeight`: number = 100

- `renderingTaskBuffer`: number = 1

- `renderingTaskWeight`: number = -100

- `submissionTimeWeight`: number = 3
