Class: AWSCDK::SSMContacts::CfnContact::ChannelTargetInfoProperty

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

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.



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



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_jsiiObject



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