View a markdown version of this page

AWS::SageMaker::ClusterSchedulerConfig SchedulerConfig - AWS CloudFormation

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::SageMaker::ClusterSchedulerConfig SchedulerConfig

Cluster policy configuration. This policy is used for task prioritization and fair-share allocation. This helps prioritize critical workloads and distributes idle compute across entities.

Syntax

To declare this entity in your CloudFormation template, use the following syntax:

JSON

{ "FairShare" : String, "IdleResourceSharing" : String, "PriorityClasses" : [ PriorityClass, ... ] }

Properties

FairShare

When enabled, entities borrow idle compute based on their assigned FairShareWeight.

When disabled, entities borrow idle compute based on a first-come first-serve basis.

Default is Enabled.

Required: No

Type: String

Allowed values: Enabled | Disabled

Update requires: No interruption

IdleResourceSharing

Configuration for sharing idle compute resources across entities in the cluster. When enabled, unallocated resources are automatically calculated and made available for entities to borrow.

Required: No

Type: String

Allowed values: Enabled | Disabled

Update requires: No interruption

PriorityClasses

List of the priority classes, PriorityClass, of the cluster policy. When specified, these class configurations define how tasks are queued.

Required: No

Type: Array of PriorityClass

Minimum: 0

Maximum: 10

Update requires: No interruption