Class: AWSCDK::IoT::CfnTopicRule::TimestreamDimensionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoT::CfnTopicRule::TimestreamDimensionProperty
- Defined in:
- io_t/cfn_topic_rule.rb
Overview
Metadata attributes of the time series that are written in each measure record.
Instance Attribute Summary collapse
-
#name ⇒ String
readonly
The metadata dimension name.
-
#value ⇒ String
readonly
The value to write in this column of the database record.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name:, value:) ⇒ TimestreamDimensionProperty
constructor
A new instance of TimestreamDimensionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name:, value:) ⇒ TimestreamDimensionProperty
Returns a new instance of TimestreamDimensionProperty.
2968 2969 2970 2971 2972 2973 |
# File 'io_t/cfn_topic_rule.rb', line 2968 def initialize(name:, value:) @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @value = value Jsii::Type.check_type(@value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") end |
Instance Attribute Details
#name ⇒ String (readonly)
The metadata dimension name.
This is the name of the column in the Amazon Timestream database table record.
2981 2982 2983 |
# File 'io_t/cfn_topic_rule.rb', line 2981 def name @name end |
#value ⇒ String (readonly)
The value to write in this column of the database record.
2986 2987 2988 |
# File 'io_t/cfn_topic_rule.rb', line 2986 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
2988 2989 2990 2991 2992 2993 |
# File 'io_t/cfn_topic_rule.rb', line 2988 def self.jsii_properties { :name => "name", :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
2995 2996 2997 2998 2999 3000 3001 3002 |
# File 'io_t/cfn_topic_rule.rb', line 2995 def to_jsii result = {} result.merge!({ "name" => @name, "value" => @value, }) result.compact end |