Class: AWSCDK::SSMIncidents::CfnResponsePlan::PagerDutyIncidentConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
ssm_incidents/cfn_response_plan.rb

Overview

Details about the PagerDuty service where the response plan creates an incident.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(service_id:) ⇒ PagerDutyIncidentConfigurationProperty

Returns a new instance of PagerDutyIncidentConfigurationProperty.

Parameters:

  • service_id (String)

    The ID of the PagerDuty service that the response plan associates with an incident when it launches.



983
984
985
986
# File 'ssm_incidents/cfn_response_plan.rb', line 983

def initialize(service_id:)
  @service_id = service_id
  Jsii::Type.check_type(@service_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "serviceId")
end

Instance Attribute Details

#service_idString (readonly)

The ID of the PagerDuty service that the response plan associates with an incident when it launches.



992
993
994
# File 'ssm_incidents/cfn_response_plan.rb', line 992

def service_id
  @service_id
end

Class Method Details

.jsii_propertiesObject



994
995
996
997
998
# File 'ssm_incidents/cfn_response_plan.rb', line 994

def self.jsii_properties
  {
    :service_id => "serviceId",
  }
end

Instance Method Details

#to_jsiiObject



1000
1001
1002
1003
1004
1005
1006
# File 'ssm_incidents/cfn_response_plan.rb', line 1000

def to_jsii
  result = {}
  result.merge!({
    "serviceId" => @service_id,
  })
  result.compact
end