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.”

Class: Aws::Batch::Types::CreateSchedulingPolicyRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb

Overview

Contains the parameters for CreateSchedulingPolicy.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#fairshare_policyTypes::FairsharePolicy

The fair share policy of the scheduling policy.


2405
2406
2407
2408
2409
2410
2411
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 2405

class CreateSchedulingPolicyRequest < Struct.new(
  :name,
  :fairshare_policy,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

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

Returns:

  • (String)

2405
2406
2407
2408
2409
2410
2411
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 2405

class CreateSchedulingPolicyRequest < Struct.new(
  :name,
  :fairshare_policy,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

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 TagResource and UntagResource API operations.

Returns:

  • (Hash<String,String>)

2405
2406
2407
2408
2409
2410
2411
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 2405

class CreateSchedulingPolicyRequest < Struct.new(
  :name,
  :fairshare_policy,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end