Class: AWSCDK::SSMContacts::CfnRotation::MonthlySettingProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
ssm_contacts/cfn_rotation.rb

Overview

Information about on-call rotations that recur monthly.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(day_of_month:, hand_off_time:) ⇒ MonthlySettingProperty

Returns a new instance of MonthlySettingProperty.

Parameters:

  • day_of_month (Numeric)

    The day of the month when monthly recurring on-call rotations begin.

  • hand_off_time (String)

    The time of day when a monthly recurring on-call shift rotation begins.



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_monthNumeric (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_timeString (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_propertiesObject



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_jsiiObject



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