Class: AWSCDK::CfnStackSet::ParameterProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CfnStackSet::ParameterProperty
- Defined in:
- cfn_stack_set.rb
Overview
The Parameter data type.
Instance Attribute Summary collapse
-
#parameter_key ⇒ String
readonly
The key associated with the parameter.
-
#parameter_value ⇒ String
readonly
The input value associated with the parameter.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(parameter_key:, parameter_value:) ⇒ ParameterProperty
constructor
A new instance of ParameterProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(parameter_key:, parameter_value:) ⇒ ParameterProperty
Returns a new instance of ParameterProperty.
1012 1013 1014 1015 1016 1017 |
# File 'cfn_stack_set.rb', line 1012 def initialize(parameter_key:, parameter_value:) @parameter_key = parameter_key Jsii::Type.check_type(@parameter_key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "parameterKey") @parameter_value = parameter_value Jsii::Type.check_type(@parameter_value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "parameterValue") end |
Instance Attribute Details
#parameter_key ⇒ String (readonly)
The key associated with the parameter.
If you don't specify a key and value for a particular parameter, CloudFormation uses the default value that's specified in your template.
1025 1026 1027 |
# File 'cfn_stack_set.rb', line 1025 def parameter_key @parameter_key end |
#parameter_value ⇒ String (readonly)
The input value associated with the parameter.
1030 1031 1032 |
# File 'cfn_stack_set.rb', line 1030 def parameter_value @parameter_value end |
Class Method Details
.jsii_properties ⇒ Object
1032 1033 1034 1035 1036 1037 |
# File 'cfn_stack_set.rb', line 1032 def self.jsii_properties { :parameter_key => "parameterKey", :parameter_value => "parameterValue", } end |
Instance Method Details
#to_jsii ⇒ Object
1039 1040 1041 1042 1043 1044 1045 1046 |
# File 'cfn_stack_set.rb', line 1039 def to_jsii result = {} result.merge!({ "parameterKey" => @parameter_key, "parameterValue" => @parameter_value, }) result.compact end |