Class: AWSCDK::SSMContacts::CfnPlan::ChannelTargetInfoProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(channel_id:, retry_interval_in_minutes:) ⇒ ChannelTargetInfoProperty

Returns a new instance of ChannelTargetInfoProperty.

Parameters:

  • channel_id (String)

    The Amazon Resource Name (ARN) of the contact channel.

  • retry_interval_in_minutes (Numeric)

    The number of minutes to wait before retrying to send engagement if the engagement initially failed.



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_idString (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_minutesNumeric (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_propertiesObject



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_jsiiObject



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