Skip to content
v2.278.0

SchedulerConfigurationProperty Struct ​

The scheduler configuration for batch and streaming jobs running on this application.

Supported with release labels emr-7.0.0 and above.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_emrserverless as emrserverless } from 'aws-cdk-lib';
const schedulerConfigurationProperty: emrserverless.CfnApplication.SchedulerConfigurationProperty = {
  maxConcurrentRuns: 123,
  queueTimeoutMinutes: 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_emrserverless as emrserverless

scheduler_configuration_property = emrserverless.CfnApplication.SchedulerConfigurationProperty(
    max_concurrent_runs=123,
    queue_timeout_minutes=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.emrserverless.*;

SchedulerConfigurationProperty schedulerConfigurationProperty = SchedulerConfigurationProperty.builder()
        .maxConcurrentRuns(123)
        .queueTimeoutMinutes(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.EMRServerless;

var schedulerConfigurationProperty = new SchedulerConfigurationProperty {
    MaxConcurrentRuns = 123,
    QueueTimeoutMinutes = 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"

schedulerConfigurationProperty := &SchedulerConfigurationProperty{
	MaxConcurrentRuns: jsii.Number(123),
	QueueTimeoutMinutes: jsii.Number(123),
}

Properties ​

maxConcurrentRunsoptionalnumbermax_concurrent_runsoptionalint | floatmaxConcurrentRunsoptionalNumberMaxConcurrentRunsoptionaldoubleMaxConcurrentRunsoptional*float64 #
The maximum concurrent job runs on this application.

If scheduler configuration is enabled on your application, the default value is 15. The valid range is 1 to 1000.

queueTimeoutMinutesoptionalnumberqueue_timeout_minutesoptionalint | floatqueueTimeoutMinutesoptionalNumberQueueTimeoutMinutesoptionaldoubleQueueTimeoutMinutesoptional*float64 #
The maximum duration in minutes for the job in QUEUED state.

If scheduler configuration is enabled on your application, the default value is 360 minutes (6 hours). The valid range is from 15 to 720.