Class: AWSCDK::DataPipeline::CfnPipeline::ParameterAttributeProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::DataPipeline::CfnPipeline::ParameterAttributeProperty
- Defined in:
- data_pipeline/cfn_pipeline.rb
Overview
Attribute is a property of ParameterObject that defines the attributes of a parameter object as key-value pairs.
Instance Attribute Summary collapse
-
#key ⇒ String
readonly
The field identifier.
-
#string_value ⇒ String
readonly
The field value, expressed as a String.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(key:, string_value:) ⇒ ParameterAttributeProperty
constructor
A new instance of ParameterAttributeProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(key:, string_value:) ⇒ ParameterAttributeProperty
Returns a new instance of ParameterAttributeProperty.
697 698 699 700 701 702 |
# File 'data_pipeline/cfn_pipeline.rb', line 697 def initialize(key:, string_value:) @key = key Jsii::Type.check_type(@key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "key") @string_value = string_value Jsii::Type.check_type(@string_value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "stringValue") end |
Instance Attribute Details
#key ⇒ String (readonly)
The field identifier.
708 709 710 |
# File 'data_pipeline/cfn_pipeline.rb', line 708 def key @key end |
#string_value ⇒ String (readonly)
The field value, expressed as a String.
713 714 715 |
# File 'data_pipeline/cfn_pipeline.rb', line 713 def string_value @string_value end |
Class Method Details
.jsii_properties ⇒ Object
715 716 717 718 719 720 |
# File 'data_pipeline/cfn_pipeline.rb', line 715 def self.jsii_properties { :key => "key", :string_value => "stringValue", } end |
Instance Method Details
#to_jsii ⇒ Object
722 723 724 725 726 727 728 729 |
# File 'data_pipeline/cfn_pipeline.rb', line 722 def to_jsii result = {} result.merge!({ "key" => @key, "stringValue" => @string_value, }) result.compact end |