Class: AWSCDK::SSMIncidents::CfnResponsePlan::ActionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SSMIncidents::CfnResponsePlan::ActionProperty
- Defined in:
- ssm_incidents/cfn_response_plan.rb
Overview
The Action property type specifies the configuration to launch.
Instance Attribute Summary collapse
-
#ssm_automation ⇒ AWSCDK::IResolvable, ...
readonly
Details about the Systems Manager automation document that will be used as a runbook during an incident.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(ssm_automation: nil) ⇒ ActionProperty
constructor
A new instance of ActionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(ssm_automation: nil) ⇒ ActionProperty
Returns a new instance of ActionProperty.
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_automation ⇒ AWSCDK::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_properties ⇒ Object
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_jsii ⇒ Object
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 |