Class: AWSCDK::SSMIncidents::CfnResponsePlan::IntegrationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SSMIncidents::CfnResponsePlan::IntegrationProperty
- Defined in:
- ssm_incidents/cfn_response_plan.rb
Overview
Information about third-party services integrated into a response plan.
Instance Attribute Summary collapse
-
#pager_duty_configuration ⇒ AWSCDK::IResolvable, AWSCDK::SSMIncidents::CfnResponsePlan::PagerDutyConfigurationProperty
readonly
Information about the PagerDuty service where the response plan creates an incident.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(pager_duty_configuration:) ⇒ IntegrationProperty
constructor
A new instance of IntegrationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(pager_duty_configuration:) ⇒ IntegrationProperty
Returns a new instance of IntegrationProperty.
864 865 866 867 |
# File 'ssm_incidents/cfn_response_plan.rb', line 864 def initialize(pager_duty_configuration:) @pager_duty_configuration = pager_duty_configuration.is_a?(Hash) ? ::AWSCDK::SSMIncidents::CfnResponsePlan::PagerDutyConfigurationProperty.new(**pager_duty_configuration.transform_keys(&:to_sym)) : pager_duty_configuration Jsii::Type.check_type(@pager_duty_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zc21pbmNpZGVudHMuQ2ZuUmVzcG9uc2VQbGFuLlBhZ2VyRHV0eUNvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19")), "pagerDutyConfiguration") end |
Instance Attribute Details
#pager_duty_configuration ⇒ AWSCDK::IResolvable, AWSCDK::SSMIncidents::CfnResponsePlan::PagerDutyConfigurationProperty (readonly)
Information about the PagerDuty service where the response plan creates an incident.
873 874 875 |
# File 'ssm_incidents/cfn_response_plan.rb', line 873 def pager_duty_configuration @pager_duty_configuration end |
Class Method Details
.jsii_properties ⇒ Object
875 876 877 878 879 |
# File 'ssm_incidents/cfn_response_plan.rb', line 875 def self.jsii_properties { :pager_duty_configuration => "pagerDutyConfiguration", } end |
Instance Method Details
#to_jsii ⇒ Object
881 882 883 884 885 886 887 |
# File 'ssm_incidents/cfn_response_plan.rb', line 881 def to_jsii result = {} result.merge!({ "pagerDutyConfiguration" => @pager_duty_configuration, }) result.compact end |