Class: AWSCDK::SSMContacts::CfnRotation::CoverageTimeProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SSMContacts::CfnRotation::CoverageTimeProperty
- Defined in:
- ssm_contacts/cfn_rotation.rb
Overview
Information about when an on-call shift begins and ends.
Instance Attribute Summary collapse
-
#end_time ⇒ String
readonly
Information about when an on-call rotation shift ends.
-
#start_time ⇒ String
readonly
Information about when an on-call rotation shift begins.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(end_time:, start_time:) ⇒ CoverageTimeProperty
constructor
A new instance of CoverageTimeProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(end_time:, start_time:) ⇒ CoverageTimeProperty
Returns a new instance of CoverageTimeProperty.
586 587 588 589 590 591 |
# File 'ssm_contacts/cfn_rotation.rb', line 586 def initialize(end_time:, start_time:) @end_time = end_time Jsii::Type.check_type(@end_time, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "endTime") @start_time = start_time Jsii::Type.check_type(@start_time, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "startTime") end |
Instance Attribute Details
#end_time ⇒ String (readonly)
Information about when an on-call rotation shift ends.
597 598 599 |
# File 'ssm_contacts/cfn_rotation.rb', line 597 def end_time @end_time end |
#start_time ⇒ String (readonly)
Information about when an on-call rotation shift begins.
602 603 604 |
# File 'ssm_contacts/cfn_rotation.rb', line 602 def start_time @start_time end |
Class Method Details
.jsii_properties ⇒ Object
604 605 606 607 608 609 |
# File 'ssm_contacts/cfn_rotation.rb', line 604 def self.jsii_properties { :end_time => "endTime", :start_time => "startTime", } end |
Instance Method Details
#to_jsii ⇒ Object
611 612 613 614 615 616 617 618 |
# File 'ssm_contacts/cfn_rotation.rb', line 611 def to_jsii result = {} result.merge!({ "endTime" => @end_time, "startTime" => @start_time, }) result.compact end |