Class: AWSCDK::LicenseManager::CfnLicense::BorrowConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::LicenseManager::CfnLicense::BorrowConfigurationProperty
- Defined in:
- license_manager/cfn_license.rb
Overview
Details about a borrow configuration.
Instance Attribute Summary collapse
-
#allow_early_check_in ⇒ Boolean, AWSCDK::IResolvable
readonly
Indicates whether early check-ins are allowed.
-
#max_time_to_live_in_minutes ⇒ Numeric
readonly
Maximum time for the borrow configuration, in minutes.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(allow_early_check_in:, max_time_to_live_in_minutes:) ⇒ BorrowConfigurationProperty
constructor
A new instance of BorrowConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(allow_early_check_in:, max_time_to_live_in_minutes:) ⇒ BorrowConfigurationProperty
Returns a new instance of BorrowConfigurationProperty.
674 675 676 677 678 679 |
# File 'license_manager/cfn_license.rb', line 674 def initialize(allow_early_check_in:, max_time_to_live_in_minutes:) @allow_early_check_in = allow_early_check_in Jsii::Type.check_type(@allow_early_check_in, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "allowEarlyCheckIn") @max_time_to_live_in_minutes = max_time_to_live_in_minutes Jsii::Type.check_type(@max_time_to_live_in_minutes, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "maxTimeToLiveInMinutes") end |
Instance Attribute Details
#allow_early_check_in ⇒ Boolean, AWSCDK::IResolvable (readonly)
Indicates whether early check-ins are allowed.
685 686 687 |
# File 'license_manager/cfn_license.rb', line 685 def allow_early_check_in @allow_early_check_in end |
#max_time_to_live_in_minutes ⇒ Numeric (readonly)
Maximum time for the borrow configuration, in minutes.
690 691 692 |
# File 'license_manager/cfn_license.rb', line 690 def max_time_to_live_in_minutes @max_time_to_live_in_minutes end |
Class Method Details
.jsii_properties ⇒ Object
692 693 694 695 696 697 |
# File 'license_manager/cfn_license.rb', line 692 def self.jsii_properties { :allow_early_check_in => "allowEarlyCheckIn", :max_time_to_live_in_minutes => "maxTimeToLiveInMinutes", } end |
Instance Method Details
#to_jsii ⇒ Object
699 700 701 702 703 704 705 706 |
# File 'license_manager/cfn_license.rb', line 699 def to_jsii result = {} result.merge!({ "allowEarlyCheckIn" => @allow_early_check_in, "maxTimeToLiveInMinutes" => @max_time_to_live_in_minutes, }) result.compact end |