Class: AWSCDK::SSMContacts::CfnRotation::MonthlySettingProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SSMContacts::CfnRotation::MonthlySettingProperty
- Defined in:
- ssm_contacts/cfn_rotation.rb
Overview
Information about on-call rotations that recur monthly.
Instance Attribute Summary collapse
-
#day_of_month ⇒ Numeric
readonly
The day of the month when monthly recurring on-call rotations begin.
-
#hand_off_time ⇒ String
readonly
The time of day when a monthly recurring on-call shift rotation begins.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(day_of_month:, hand_off_time:) ⇒ MonthlySettingProperty
constructor
A new instance of MonthlySettingProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(day_of_month:, hand_off_time:) ⇒ MonthlySettingProperty
Returns a new instance of MonthlySettingProperty.
629 630 631 632 633 634 |
# File 'ssm_contacts/cfn_rotation.rb', line 629 def initialize(day_of_month:, hand_off_time:) @day_of_month = day_of_month Jsii::Type.check_type(@day_of_month, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "dayOfMonth") @hand_off_time = hand_off_time Jsii::Type.check_type(@hand_off_time, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "handOffTime") end |
Instance Attribute Details
#day_of_month ⇒ Numeric (readonly)
The day of the month when monthly recurring on-call rotations begin.
640 641 642 |
# File 'ssm_contacts/cfn_rotation.rb', line 640 def day_of_month @day_of_month end |
#hand_off_time ⇒ String (readonly)
The time of day when a monthly recurring on-call shift rotation begins.
645 646 647 |
# File 'ssm_contacts/cfn_rotation.rb', line 645 def hand_off_time @hand_off_time end |
Class Method Details
.jsii_properties ⇒ Object
647 648 649 650 651 652 |
# File 'ssm_contacts/cfn_rotation.rb', line 647 def self.jsii_properties { :day_of_month => "dayOfMonth", :hand_off_time => "handOffTime", } end |
Instance Method Details
#to_jsii ⇒ Object
654 655 656 657 658 659 660 661 |
# File 'ssm_contacts/cfn_rotation.rb', line 654 def to_jsii result = {} result.merge!({ "dayOfMonth" => @day_of_month, "handOffTime" => @hand_off_time, }) result.compact end |