Creates an Batch scheduling policy¶
Description¶
Creates an Batch scheduling policy.
Usage¶
Arguments¶
-
name[required] The name of the fair-share scheduling policy. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
-
quotaSharePolicyThe quota share scheduling policy details. Only one of fairsharePolicy or quotaSharePolicy can be set. Once set, this policy type cannot be removed or changed to a fairSharePolicy.
-
fairsharePolicyThe fair-share scheduling policy details. Only one of fairsharePolicy or quotaSharePolicy can be set. Once set, this policy type cannot be removed or changed to a quotaSharePolicy.
-
tagsThe 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 Amazon Web Services Resources in Amazon Web Services General Reference.
These tags can be updated or removed using the
tag_resourceanduntag_resourceAPI operations.
Value¶
A list with the following syntax:
Request syntax¶
svc$create_scheduling_policy(
name = "string",
quotaSharePolicy = list(
idleResourceAssignmentStrategy = "FIFO"
),
fairsharePolicy = list(
shareDecaySeconds = 123,
computeReservation = 123,
shareDistribution = list(
list(
shareIdentifier = "string",
weightFactor = 123.0
)
)
),
tags = list(
"string"
)
)