Class: AWSCDK::IoT::CfnTopicRule::TimestreamDimensionProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:, value:) ⇒ TimestreamDimensionProperty

Returns a new instance of TimestreamDimensionProperty.

Parameters:

  • name (String)

    The metadata dimension name.

  • value (String)

    The value to write in this column of the database record.



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

#nameString (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

#valueString (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_propertiesObject



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_jsiiObject



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