Class: AWSCDK::Pipes::CfnPipe::MultiMeasureAttributeMappingProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Pipes::CfnPipe::MultiMeasureAttributeMappingProperty
- Defined in:
- pipes/cfn_pipe.rb
Overview
A mapping of a source event data field to a measure in a Timestream for LiveAnalytics record.
Instance Attribute Summary collapse
-
#measure_value ⇒ String
readonly
Dynamic path to the measurement attribute in the source event.
-
#measure_value_type ⇒ String
readonly
Data type of the measurement attribute in the source event.
-
#multi_measure_attribute_name ⇒ String
readonly
Target measure name to be used.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(measure_value:, measure_value_type:, multi_measure_attribute_name:) ⇒ MultiMeasureAttributeMappingProperty
constructor
A new instance of MultiMeasureAttributeMappingProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(measure_value:, measure_value_type:, multi_measure_attribute_name:) ⇒ MultiMeasureAttributeMappingProperty
Returns a new instance of MultiMeasureAttributeMappingProperty.
1928 1929 1930 1931 1932 1933 1934 1935 |
# File 'pipes/cfn_pipe.rb', line 1928 def initialize(measure_value:, measure_value_type:, multi_measure_attribute_name:) @measure_value = measure_value Jsii::Type.check_type(@measure_value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "measureValue") @measure_value_type = measure_value_type Jsii::Type.check_type(@measure_value_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "measureValueType") @multi_measure_attribute_name = multi_measure_attribute_name Jsii::Type.check_type(@multi_measure_attribute_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "multiMeasureAttributeName") end |
Instance Attribute Details
#measure_value ⇒ String (readonly)
Dynamic path to the measurement attribute in the source event.
1941 1942 1943 |
# File 'pipes/cfn_pipe.rb', line 1941 def measure_value @measure_value end |
#measure_value_type ⇒ String (readonly)
Data type of the measurement attribute in the source event.
1946 1947 1948 |
# File 'pipes/cfn_pipe.rb', line 1946 def measure_value_type @measure_value_type end |
#multi_measure_attribute_name ⇒ String (readonly)
Target measure name to be used.
1951 1952 1953 |
# File 'pipes/cfn_pipe.rb', line 1951 def multi_measure_attribute_name @multi_measure_attribute_name end |
Class Method Details
.jsii_properties ⇒ Object
1953 1954 1955 1956 1957 1958 1959 |
# File 'pipes/cfn_pipe.rb', line 1953 def self.jsii_properties { :measure_value => "measureValue", :measure_value_type => "measureValueType", :multi_measure_attribute_name => "multiMeasureAttributeName", } end |
Instance Method Details
#to_jsii ⇒ Object
1961 1962 1963 1964 1965 1966 1967 1968 1969 |
# File 'pipes/cfn_pipe.rb', line 1961 def to_jsii result = {} result.merge!({ "measureValue" => @measure_value, "measureValueType" => @measure_value_type, "multiMeasureAttributeName" => @multi_measure_attribute_name, }) result.compact end |