Class: AWSCDK::SSMContacts::CfnContact::ContactTargetInfoProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SSMContacts::CfnContact::ContactTargetInfoProperty
- Defined in:
- ssm_contacts/cfn_contact.rb
Overview
The contact that Incident Manager is engaging during an incident.
Instance Attribute Summary collapse
-
#contact_id ⇒ String
readonly
The Amazon Resource Name (ARN) of the contact.
-
#is_essential ⇒ Boolean, AWSCDK::IResolvable
readonly
A Boolean value determining if the contact's acknowledgement stops the progress of stages in the plan.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(contact_id:, is_essential:) ⇒ ContactTargetInfoProperty
constructor
A new instance of ContactTargetInfoProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(contact_id:, is_essential:) ⇒ ContactTargetInfoProperty
Returns a new instance of ContactTargetInfoProperty.
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_id ⇒ String (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_essential ⇒ Boolean, 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_properties ⇒ Object
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_jsii ⇒ Object
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 |