Class: AWSCDK::SSMContacts::CfnRotation::WeeklySettingProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SSMContacts::CfnRotation::WeeklySettingProperty
- Defined in:
- ssm_contacts/cfn_rotation.rb
Overview
Information about rotations that recur weekly.
Instance Attribute Summary collapse
-
#day_of_week ⇒ String
readonly
The day of the week when weekly recurring on-call shift rotations begins.
-
#hand_off_time ⇒ String
readonly
The time of day when a weekly recurring on-call shift rotation begins.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(day_of_week:, hand_off_time:) ⇒ WeeklySettingProperty
constructor
A new instance of WeeklySettingProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(day_of_week:, hand_off_time:) ⇒ WeeklySettingProperty
Returns a new instance of WeeklySettingProperty.
800 801 802 803 804 805 |
# File 'ssm_contacts/cfn_rotation.rb', line 800 def initialize(day_of_week:, hand_off_time:) @day_of_week = day_of_week Jsii::Type.check_type(@day_of_week, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "dayOfWeek") @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_week ⇒ String (readonly)
The day of the week when weekly recurring on-call shift rotations begins.
811 812 813 |
# File 'ssm_contacts/cfn_rotation.rb', line 811 def day_of_week @day_of_week end |
#hand_off_time ⇒ String (readonly)
The time of day when a weekly recurring on-call shift rotation begins.
816 817 818 |
# File 'ssm_contacts/cfn_rotation.rb', line 816 def hand_off_time @hand_off_time end |
Class Method Details
.jsii_properties ⇒ Object
818 819 820 821 822 823 |
# File 'ssm_contacts/cfn_rotation.rb', line 818 def self.jsii_properties { :day_of_week => "dayOfWeek", :hand_off_time => "handOffTime", } end |
Instance Method Details
#to_jsii ⇒ Object
825 826 827 828 829 830 831 832 |
# File 'ssm_contacts/cfn_rotation.rb', line 825 def to_jsii result = {} result.merge!({ "dayOfWeek" => @day_of_week, "handOffTime" => @hand_off_time, }) result.compact end |