Class: AWSCDK::FSX::LustreMaintenanceTime
- Inherits:
-
Jsii::Object
- Object
- Jsii::Object
- AWSCDK::FSX::LustreMaintenanceTime
- Defined in:
- fsx/lustre_maintenance_time.rb
Overview
Class for scheduling a weekly maintenance time.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(props) ⇒ LustreMaintenanceTime
constructor
A new instance of LustreMaintenanceTime.
-
#to_timestamp ⇒ String
Converts a day, hour, and minute into a timestamp as used by FSx for Lustre's weeklyMaintenanceStartTime field.
Constructor Details
#initialize(props) ⇒ LustreMaintenanceTime
Returns a new instance of LustreMaintenanceTime.
9 10 11 12 13 |
# File 'fsx/lustre_maintenance_time.rb', line 9 def initialize(props) props = props.is_a?(Hash) ? ::AWSCDK::FSX::LustreMaintenanceTimeProps.new(**props.transform_keys(&:to_sym)) : props Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZnN4Lkx1c3RyZU1haW50ZW5hbmNlVGltZVByb3BzIn0=")), "props") Jsii::Object.instance_method(:initialize).bind(self).call(props) end |
Class Method Details
.jsii_overridable_methods ⇒ Object
15 16 17 18 19 |
# File 'fsx/lustre_maintenance_time.rb', line 15 def self.jsii_overridable_methods { :to_timestamp => { kind: :method, name: "toTimestamp", is_optional: false }, } end |
Instance Method Details
#to_timestamp ⇒ String
Converts a day, hour, and minute into a timestamp as used by FSx for Lustre's weeklyMaintenanceStartTime field.
24 25 26 |
# File 'fsx/lustre_maintenance_time.rb', line 24 def () jsii_call_method("toTimestamp", []) end |