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();
 
  • Method Details

    • getFairsharePolicy

      @Stability(Stable) @Nullable default Object getFairsharePolicy()
      The fair share policy of the scheduling policy.
    • getName

      @Stability(Stable) @Nullable default String 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

      @Stability(Stable) @Nullable default Map<String,String> 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

      @Stability(Stable) static CfnSchedulingPolicyProps.Builder builder()
      Returns:
      a CfnSchedulingPolicyProps.Builder of CfnSchedulingPolicyProps