Class: Aws::Batch::Types::CreateSchedulingPolicyRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Batch::Types::CreateSchedulingPolicyRequest
- 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
-
#fairshare_policy ⇒ Types::FairsharePolicy
The fair-share scheduling policy details.
-
#name ⇒ String
The name of the fair-share scheduling policy.
-
#quota_share_policy ⇒ Types::QuotaSharePolicy
The quota share scheduling policy details.
-
#tags ⇒ Hash<String,String>
The tags that you apply to the scheduling policy to help you categorize and organize your resources.
Instance Attribute Details
#fairshare_policy ⇒ Types::FairsharePolicy
The 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.
2943 2944 2945 2946 2947 2948 2949 2950 |
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 2943 class CreateSchedulingPolicyRequest < Struct.new( :name, :quota_share_policy, :fairshare_policy, :tags) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
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 (_).
2943 2944 2945 2946 2947 2948 2949 2950 |
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 2943 class CreateSchedulingPolicyRequest < Struct.new( :name, :quota_share_policy, :fairshare_policy, :tags) SENSITIVE = [] include Aws::Structure end |
#quota_share_policy ⇒ Types::QuotaSharePolicy
The 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.
2943 2944 2945 2946 2947 2948 2949 2950 |
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 2943 class CreateSchedulingPolicyRequest < Struct.new( :name, :quota_share_policy, :fairshare_policy, :tags) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Hash<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.
2943 2944 2945 2946 2947 2948 2949 2950 |
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 2943 class CreateSchedulingPolicyRequest < Struct.new( :name, :quota_share_policy, :fairshare_policy, :tags) SENSITIVE = [] include Aws::Structure end |