Class: AWSCDK::SSMIncidents::CfnResponsePlan::ActionProperty

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

Overview

The Action property type specifies the configuration to launch.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ssm_automation: nil) ⇒ ActionProperty

Returns a new instance of ActionProperty.

Parameters:



610
611
612
613
# File 'ssm_incidents/cfn_response_plan.rb', line 610

def initialize(ssm_automation: nil)
  @ssm_automation = ssm_automation.is_a?(Hash) ? ::AWSCDK::SSMIncidents::CfnResponsePlan::SSMAutomationProperty.new(**ssm_automation.transform_keys(&:to_sym)) : ssm_automation
  Jsii::Type.check_type(@ssm_automation, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zc21pbmNpZGVudHMuQ2ZuUmVzcG9uc2VQbGFuLlNzbUF1dG9tYXRpb25Qcm9wZXJ0eSJ9XX19")), "ssmAutomation") unless @ssm_automation.nil?
end

Instance Attribute Details

#ssm_automationAWSCDK::IResolvable, ... (readonly)

Details about the Systems Manager automation document that will be used as a runbook during an incident.



619
620
621
# File 'ssm_incidents/cfn_response_plan.rb', line 619

def ssm_automation
  @ssm_automation
end

Class Method Details

.jsii_propertiesObject



621
622
623
624
625
# File 'ssm_incidents/cfn_response_plan.rb', line 621

def self.jsii_properties
  {
    :ssm_automation => "ssmAutomation",
  }
end

Instance Method Details

#to_jsiiObject



627
628
629
630
631
632
633
# File 'ssm_incidents/cfn_response_plan.rb', line 627

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