Class: AWSCDK::SSMContacts::CfnPlan::ContactTargetInfoProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SSMContacts::CfnPlan::ContactTargetInfoProperty
- Defined in:
- ssm_contacts/cfn_plan.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.
579 580 581 582 583 584 |
# File 'ssm_contacts/cfn_plan.rb', line 579 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.
590 591 592 |
# File 'ssm_contacts/cfn_plan.rb', line 590 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.
595 596 597 |
# File 'ssm_contacts/cfn_plan.rb', line 595 def is_essential @is_essential end |
Class Method Details
.jsii_properties ⇒ Object
597 598 599 600 601 602 |
# File 'ssm_contacts/cfn_plan.rb', line 597 def self.jsii_properties { :contact_id => "contactId", :is_essential => "isEssential", } end |
Instance Method Details
#to_jsii ⇒ Object
604 605 606 607 608 609 610 611 |
# File 'ssm_contacts/cfn_plan.rb', line 604 def to_jsii result = {} result.merge!({ "contactId" => @contact_id, "isEssential" => @is_essential, }) result.compact end |