Class: AWSCDK::SSMIncidents::CfnResponsePlan::SSMParameterProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SSMIncidents::CfnResponsePlan::SSMParameterProperty
- Defined in:
- ssm_incidents/cfn_response_plan.rb
Overview
The key-value pair parameters to use when running the Automation runbook.
Instance Attribute Summary collapse
-
#key ⇒ String
readonly
The key parameter to use when running the Automation runbook.
-
#values ⇒ Array<String>
readonly
The value parameter to use when running the Automation runbook.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(key:, values:) ⇒ SSMParameterProperty
constructor
A new instance of SSMParameterProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(key:, values:) ⇒ SSMParameterProperty
Returns a new instance of SSMParameterProperty.
1102 1103 1104 1105 1106 1107 |
# File 'ssm_incidents/cfn_response_plan.rb', line 1102 def initialize(key:, values:) @key = key Jsii::Type.check_type(@key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "key") @values = values Jsii::Type.check_type(@values, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "values") end |
Instance Attribute Details
#key ⇒ String (readonly)
The key parameter to use when running the Automation runbook.
1113 1114 1115 |
# File 'ssm_incidents/cfn_response_plan.rb', line 1113 def key @key end |
#values ⇒ Array<String> (readonly)
The value parameter to use when running the Automation runbook.
1118 1119 1120 |
# File 'ssm_incidents/cfn_response_plan.rb', line 1118 def values @values end |
Class Method Details
.jsii_properties ⇒ Object
1120 1121 1122 1123 1124 1125 |
# File 'ssm_incidents/cfn_response_plan.rb', line 1120 def self.jsii_properties { :key => "key", :values => "values", } end |
Instance Method Details
#to_jsii ⇒ Object
1127 1128 1129 1130 1131 1132 1133 1134 |
# File 'ssm_incidents/cfn_response_plan.rb', line 1127 def to_jsii result = {} result.merge!({ "key" => @key, "values" => @values, }) result.compact end |