Interface CfnSchedulingPolicyProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSchedulingPolicyProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:47.651Z")
@Stability(Stable)
public interface CfnSchedulingPolicyProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnSchedulingPolicy
.
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.*; CfnSchedulingPolicyProps cfnSchedulingPolicyProps = CfnSchedulingPolicyProps.builder() .fairsharePolicy(FairsharePolicyProperty.builder() .computeReservation(123) .shareDecaySeconds(123) .shareDistribution(List.of(ShareAttributesProperty.builder() .shareIdentifier("shareIdentifier") .weightFactor(123) .build())) .build()) .name("name") .tags(Map.of( "tagsKey", "tags")) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnSchedulingPolicyProps
static final class
An implementation forCfnSchedulingPolicyProps
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name of the scheduling policy.It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
-
getTags
The tags that you apply to the scheduling policy to help you categorize and organize your resources.Each tag consists of a key and an optional value. For more information, see Tagging AWS Resources in AWS General Reference .
These tags can be updated or removed using the TagResource and UntagResource API operations.
-
builder
- Returns:
- a
CfnSchedulingPolicyProps.Builder
ofCfnSchedulingPolicyProps