Class: AWSCDK::SSMContacts::CfnPlan::ChannelTargetInfoProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SSMContacts::CfnPlan::ChannelTargetInfoProperty
- Defined in:
- ssm_contacts/cfn_plan.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.
536 537 538 539 540 541 |
# File 'ssm_contacts/cfn_plan.rb', line 536 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.
547 548 549 |
# File 'ssm_contacts/cfn_plan.rb', line 547 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.
552 553 554 |
# File 'ssm_contacts/cfn_plan.rb', line 552 def retry_interval_in_minutes @retry_interval_in_minutes end |
Class Method Details
.jsii_properties ⇒ Object
554 555 556 557 558 559 |
# File 'ssm_contacts/cfn_plan.rb', line 554 def self.jsii_properties { :channel_id => "channelId", :retry_interval_in_minutes => "retryIntervalInMinutes", } end |
Instance Method Details
#to_jsii ⇒ Object
561 562 563 564 565 566 567 568 |
# File 'ssm_contacts/cfn_plan.rb', line 561 def to_jsii result = {} result.merge!({ "channelId" => @channel_id, "retryIntervalInMinutes" => @retry_interval_in_minutes, }) result.compact end |