Interface IFairshareSchedulingPolicy.Jsii$Default
- All Superinterfaces:
software.constructs.IConstruct,software.constructs.IConstruct.Jsii$Default,software.constructs.IDependable,software.constructs.IDependable.Jsii$Default,IEnvironmentAware,IEnvironmentAware.Jsii$Default,IFairshareSchedulingPolicy,IResource,IResource.Jsii$Default,ISchedulingPolicy,ISchedulingPolicy.Jsii$Default,ISchedulingPolicyRef,ISchedulingPolicyRef.Jsii$Default,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
IFairshareSchedulingPolicy.Jsii$Proxy
- Enclosing interface:
IFairshareSchedulingPolicy
@Internal
public static interface IFairshareSchedulingPolicy.Jsii$Default
extends IFairshareSchedulingPolicy, ISchedulingPolicy.Jsii$Default
Internal default implementation for
IFairshareSchedulingPolicy.-
Nested Class Summary
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IDependable
software.constructs.IDependable.Jsii$Default, software.constructs.IDependable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
IEnvironmentAware.Jsii$Default, IEnvironmentAware.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.batch.IFairshareSchedulingPolicy
IFairshareSchedulingPolicy.Jsii$Default, IFairshareSchedulingPolicy.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default, IResource.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.batch.ISchedulingPolicy
ISchedulingPolicy.Jsii$Default, ISchedulingPolicy.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.batch.ISchedulingPolicyRef
ISchedulingPolicyRef.Jsii$Default, ISchedulingPolicyRef.Jsii$Proxy -
Method Summary
Modifier and TypeMethodDescriptiondefault NumberUsed to calculate the percentage of the maximum available vCPU to reserve for share identifiers not present in the Queue.default DurationThe amount of time to use to measure the usage of each job.The shares that this Scheduling Policy applies to.Methods inherited from interface software.constructs.IConstruct.Jsii$Default
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware.Jsii$Default
getEnvMethods inherited from interface software.amazon.awscdk.IResource.Jsii$Default
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.awscdk.services.batch.ISchedulingPolicy.Jsii$Default
getSchedulingPolicyArn, getSchedulingPolicyNameMethods inherited from interface software.amazon.awscdk.interfaces.batch.ISchedulingPolicyRef.Jsii$Default
getSchedulingPolicyRefMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getComputeReservation
Used to calculate the percentage of the maximum available vCPU to reserve for share identifiers not present in the Queue.The percentage reserved is defined by the Scheduler as:
(computeReservation/100)^ActiveFairShareswhereActiveFairSharesis the number of active fair share identifiers.For example, a computeReservation value of 50 indicates that AWS Batch reserves 50% of the maximum available vCPU if there's only one fair share identifier. It reserves 25% if there are two fair share identifiers. It reserves 12.5% if there are three fair share identifiers.
A computeReservation value of 25 indicates that AWS Batch should reserve 25% of the maximum available vCPU if there's only one fair share identifier, 6.25% if there are two fair share identifiers, and 1.56% if there are three fair share identifiers.
Default: - no vCPU is reserved
- Specified by:
getComputeReservationin interfaceIFairshareSchedulingPolicy