Class: AWSCDK::SSMContacts::CfnContact::ContactTargetInfoProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
ssm_contacts/cfn_contact.rb

Overview

The contact that Incident Manager is engaging during an incident.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(contact_id:, is_essential:) ⇒ ContactTargetInfoProperty

Returns a new instance of ContactTargetInfoProperty.

Parameters:

  • contact_id (String)

    The Amazon Resource Name (ARN) of the contact.

  • is_essential (Boolean, AWSCDK::IResolvable)

    A Boolean value determining if the contact's acknowledgement stops the progress of stages in the plan.



613
614
615
616
617
618
# File 'ssm_contacts/cfn_contact.rb', line 613

def initialize(contact_id:, is_essential:)
  @contact_id = contact_id
  Jsii::Type.check_type(@contact_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "contactId")
  @is_essential = is_essential
  Jsii::Type.check_type(@is_essential, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "isEssential")
end

Instance Attribute Details

#contact_idString (readonly)

The Amazon Resource Name (ARN) of the contact.



624
625
626
# File 'ssm_contacts/cfn_contact.rb', line 624

def contact_id
  @contact_id
end

#is_essentialBoolean, AWSCDK::IResolvable (readonly)

A Boolean value determining if the contact's acknowledgement stops the progress of stages in the plan.



629
630
631
# File 'ssm_contacts/cfn_contact.rb', line 629

def is_essential
  @is_essential
end

Class Method Details

.jsii_propertiesObject



631
632
633
634
635
636
# File 'ssm_contacts/cfn_contact.rb', line 631

def self.jsii_properties
  {
    :contact_id => "contactId",
    :is_essential => "isEssential",
  }
end

Instance Method Details

#to_jsiiObject



638
639
640
641
642
643
644
645
# File 'ssm_contacts/cfn_contact.rb', line 638

def to_jsii
  result = {}
  result.merge!({
    "contactId" => @contact_id,
    "isEssential" => @is_essential,
  })
  result.compact
end