Class: AWSCDK::EC2::CfnInstance::AssociationParameterProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EC2::CfnInstance::AssociationParameterProperty
- Defined in:
- ec2/cfn_instance.rb
Overview
Specifies input parameter values for an SSM document in AWS Systems Manager .
AssociationParameter is a property of the SsmAssociation property type.
Instance Attribute Summary collapse
-
#key ⇒ String
readonly
The name of an input parameter that is in the associated SSM document.
-
#value ⇒ Array<String>
readonly
The value of an input parameter.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(key:, value:) ⇒ AssociationParameterProperty
constructor
A new instance of AssociationParameterProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(key:, value:) ⇒ AssociationParameterProperty
Returns a new instance of AssociationParameterProperty.
1132 1133 1134 1135 1136 1137 |
# File 'ec2/cfn_instance.rb', line 1132 def initialize(key:, value:) @key = key Jsii::Type.check_type(@key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "key") @value = value Jsii::Type.check_type(@value, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "value") end |
Instance Attribute Details
#key ⇒ String (readonly)
The name of an input parameter that is in the associated SSM document.
1143 1144 1145 |
# File 'ec2/cfn_instance.rb', line 1143 def key @key end |
#value ⇒ Array<String> (readonly)
The value of an input parameter.
1148 1149 1150 |
# File 'ec2/cfn_instance.rb', line 1148 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
1150 1151 1152 1153 1154 1155 |
# File 'ec2/cfn_instance.rb', line 1150 def self.jsii_properties { :key => "key", :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
1157 1158 1159 1160 1161 1162 1163 1164 |
# File 'ec2/cfn_instance.rb', line 1157 def to_jsii result = {} result.merge!({ "key" => @key, "value" => @value, }) result.compact end |