Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

AWS::Batch::SchedulingPolicy

Focus mode
AWS::Batch::SchedulingPolicy - AWS CloudFormation
Filter View

The AWS::Batch::SchedulingPolicy resource specifies the parameters for an AWS Batch scheduling policy. For more information, see Scheduling Policies in the AWS Batch User Guide .

Syntax

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

JSON

{ "Type" : "AWS::Batch::SchedulingPolicy", "Properties" : { "FairsharePolicy" : FairsharePolicy, "Name" : String, "Tags" : {Key: Value, ...} } }

YAML

Type: AWS::Batch::SchedulingPolicy Properties: FairsharePolicy: FairsharePolicy Name: String Tags: Key: Value

Properties

FairsharePolicy

The fair-share scheduling policy details.

Required: No

Type: FairsharePolicy

Update requires: No interruption

Name

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

Required: No

Type: String

Update requires: Replacement

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 AWS Resources in AWS General Reference.

These tags can be updated or removed using the TagResource and UntagResource API operations.

Required: No

Type: Object of String

Pattern: .*

Update requires: Replacement

Return values

Ref

When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the scheduling policy ARN, such as arn:aws:batch:us-east-1:111122223333:scheduling-policy/HighPriority.

For more information about using the Ref function, see Ref.

Fn::GetAtt

The Fn::GetAtt intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.

For more information about using the Fn::GetAtt intrinsic function, see Fn::GetAtt.

Arn

Returns the scheduling policy ARN, such as arn:aws:batch:us-east-1:111122223333:scheduling-policy/HighPriority.

See also

On this page

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.