Class: AWSCDK::MediaConnect::CfnFlow::MaintenanceProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaConnect::CfnFlow::MaintenanceProperty
- Defined in:
- media_connect/cfn_flow.rb
Overview
The maintenance setting of a flow.
Instance Attribute Summary collapse
-
#maintenance_day ⇒ String
readonly
A day of a week when the maintenance will happen.
-
#maintenance_start_hour ⇒ String
readonly
UTC time when the maintenance will happen.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(maintenance_day:, maintenance_start_hour:) ⇒ MaintenanceProperty
constructor
A new instance of MaintenanceProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(maintenance_day:, maintenance_start_hour:) ⇒ MaintenanceProperty
Returns a new instance of MaintenanceProperty.
1380 1381 1382 1383 1384 1385 |
# File 'media_connect/cfn_flow.rb', line 1380 def initialize(maintenance_day:, maintenance_start_hour:) @maintenance_day = maintenance_day Jsii::Type.check_type(@maintenance_day, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "maintenanceDay") @maintenance_start_hour = maintenance_start_hour Jsii::Type.check_type(@maintenance_start_hour, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "maintenanceStartHour") end |
Instance Attribute Details
#maintenance_day ⇒ String (readonly)
A day of a week when the maintenance will happen.
Use Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday.
1393 1394 1395 |
# File 'media_connect/cfn_flow.rb', line 1393 def maintenance_day @maintenance_day end |
#maintenance_start_hour ⇒ String (readonly)
UTC time when the maintenance will happen.
Use 24-hour HH:MM format. Minutes must be 00. Example: 13:00. The default value is 02:00.
1400 1401 1402 |
# File 'media_connect/cfn_flow.rb', line 1400 def maintenance_start_hour @maintenance_start_hour end |
Class Method Details
.jsii_properties ⇒ Object
1402 1403 1404 1405 1406 1407 |
# File 'media_connect/cfn_flow.rb', line 1402 def self.jsii_properties { :maintenance_day => "maintenanceDay", :maintenance_start_hour => "maintenanceStartHour", } end |
Instance Method Details
#to_jsii ⇒ Object
1409 1410 1411 1412 1413 1414 1415 1416 |
# File 'media_connect/cfn_flow.rb', line 1409 def to_jsii result = {} result.merge!({ "maintenanceDay" => @maintenance_day, "maintenanceStartHour" => @maintenance_start_hour, }) result.compact end |