Interface CfnSchedulingPolicy.ShareAttributesProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSchedulingPolicy.ShareAttributesProperty.Jsii$Proxy
- Enclosing class:
CfnSchedulingPolicy
@Stability(Stable)
public static interface CfnSchedulingPolicy.ShareAttributesProperty
extends software.amazon.jsii.JsiiSerializable
Specifies the weights for the fair share identifiers for the fair share policy.
Fair share identifiers that aren't included have a default weight of 1.0
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.batch.*; ShareAttributesProperty shareAttributesProperty = ShareAttributesProperty.builder() .shareIdentifier("shareIdentifier") .weightFactor(123) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnSchedulingPolicy.ShareAttributesProperty
static final class
An implementation forCfnSchedulingPolicy.ShareAttributesProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getWeightFactor
The weight factor for the fair share identifier.The default value is 1.0. A lower value has a higher priority for compute resources. For example, jobs that use a share identifier with a weight factor of 0.125 (1/8) get 8 times the compute resources of jobs that use a share identifier with a weight factor of 1.
The smallest supported value is 0.0001, and the largest supported value is 999.9999.
- See Also:
-
builder