Skip to content

Create Scheduling Policy

batch_create_scheduling_policy R Documentation

Creates an Batch scheduling policy

Description

Creates an Batch scheduling policy.

Usage

batch_create_scheduling_policy(name, fairsharePolicy, tags)

Arguments

name

[required] 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 (_).

fairsharePolicy

The fair share policy of the scheduling policy.

tags

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 Amazon Web Services Resources in Amazon Web Services General Reference.

These tags can be updated or removed using the tag_resource and untag_resource API operations.

Value

A list with the following syntax:

list(
  name = "string",
  arn = "string"
)

Request syntax

svc$create_scheduling_policy(
  name = "string",
  fairsharePolicy = list(
    shareDecaySeconds = 123,
    computeReservation = 123,
    shareDistribution = list(
      list(
        shareIdentifier = "string",
        weightFactor = 123.0
      )
    )
  ),
  tags = list(
    "string"
  )
)