Class: AWSCDK::Batch::CfnQuotaShare::QuotaSharePreemptionConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Batch::CfnQuotaShare::QuotaSharePreemptionConfigurationProperty
- Defined in:
- batch/cfn_quota_share.rb
Overview
Instance Attribute Summary collapse
-
#in_share_preemption ⇒ String
readonly
Specifies whether jobs within a quota share can be preempted by another, higher priority job in the same quota share.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(in_share_preemption:) ⇒ QuotaSharePreemptionConfigurationProperty
constructor
A new instance of QuotaSharePreemptionConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(in_share_preemption:) ⇒ QuotaSharePreemptionConfigurationProperty
Returns a new instance of QuotaSharePreemptionConfigurationProperty.
635 636 637 638 |
# File 'batch/cfn_quota_share.rb', line 635 def initialize(in_share_preemption:) @in_share_preemption = in_share_preemption Jsii::Type.check_type(@in_share_preemption, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "inSharePreemption") end |
Instance Attribute Details
#in_share_preemption ⇒ String (readonly)
Specifies whether jobs within a quota share can be preempted by another, higher priority job in the same quota share.
644 645 646 |
# File 'batch/cfn_quota_share.rb', line 644 def in_share_preemption @in_share_preemption end |
Class Method Details
.jsii_properties ⇒ Object
646 647 648 649 650 |
# File 'batch/cfn_quota_share.rb', line 646 def self.jsii_properties { :in_share_preemption => "inSharePreemption", } end |
Instance Method Details
#to_jsii ⇒ Object
652 653 654 655 656 657 658 |
# File 'batch/cfn_quota_share.rb', line 652 def to_jsii result = {} result.merge!({ "inSharePreemption" => @in_share_preemption, }) result.compact end |