Class: AWSCDK::SSMContacts::CfnContact::ChannelTargetInfoProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SSMContacts::CfnContact::ChannelTargetInfoProperty
- Defined in:
- ssm_contacts/cfn_contact.rb
Overview
Information about the contact channel that Incident Manager uses to engage the contact.
Instance Attribute Summary collapse
-
#channel_id ⇒ String
readonly
The Amazon Resource Name (ARN) of the contact channel.
-
#retry_interval_in_minutes ⇒ Numeric
readonly
The number of minutes to wait before retrying to send engagement if the engagement initially failed.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(channel_id:, retry_interval_in_minutes:) ⇒ ChannelTargetInfoProperty
constructor
A new instance of ChannelTargetInfoProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(channel_id:, retry_interval_in_minutes:) ⇒ ChannelTargetInfoProperty
Returns a new instance of ChannelTargetInfoProperty.
570 571 572 573 574 575 |
# File 'ssm_contacts/cfn_contact.rb', line 570 def initialize(channel_id:, retry_interval_in_minutes:) @channel_id = channel_id Jsii::Type.check_type(@channel_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "channelId") @retry_interval_in_minutes = retry_interval_in_minutes Jsii::Type.check_type(@retry_interval_in_minutes, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "retryIntervalInMinutes") end |
Instance Attribute Details
#channel_id ⇒ String (readonly)
The Amazon Resource Name (ARN) of the contact channel.
581 582 583 |
# File 'ssm_contacts/cfn_contact.rb', line 581 def channel_id @channel_id end |
#retry_interval_in_minutes ⇒ Numeric (readonly)
The number of minutes to wait before retrying to send engagement if the engagement initially failed.
586 587 588 |
# File 'ssm_contacts/cfn_contact.rb', line 586 def retry_interval_in_minutes @retry_interval_in_minutes end |
Class Method Details
.jsii_properties ⇒ Object
588 589 590 591 592 593 |
# File 'ssm_contacts/cfn_contact.rb', line 588 def self.jsii_properties { :channel_id => "channelId", :retry_interval_in_minutes => "retryIntervalInMinutes", } end |
Instance Method Details
#to_jsii ⇒ Object
595 596 597 598 599 600 601 602 |
# File 'ssm_contacts/cfn_contact.rb', line 595 def to_jsii result = {} result.merge!({ "channelId" => @channel_id, "retryIntervalInMinutes" => @retry_interval_in_minutes, }) result.compact end |