Class: AWSCDK::IoTAnalytics::CfnDataset::FilterProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
io_t_analytics/cfn_dataset.rb

Overview

Information which is used to filter message data, to segregate it according to the time frame in which it arrives.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(delta_time: nil) ⇒ FilterProperty

Returns a new instance of FilterProperty.

Parameters:



952
953
954
955
# File 'io_t_analytics/cfn_dataset.rb', line 952

def initialize(delta_time: nil)
  @delta_time = delta_time.is_a?(Hash) ? ::AWSCDK::IoTAnalytics::CfnDataset::DeltaTimeProperty.new(**delta_time.transform_keys(&:to_sym)) : delta_time
  Jsii::Type.check_type(@delta_time, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19pb3RhbmFseXRpY3MuQ2ZuRGF0YXNldC5EZWx0YVRpbWVQcm9wZXJ0eSJ9XX19")), "deltaTime") unless @delta_time.nil?
end

Instance Attribute Details

#delta_timeAWSCDK::IResolvable, ... (readonly)

Used to limit data to that which has arrived since the last execution of the action.



961
962
963
# File 'io_t_analytics/cfn_dataset.rb', line 961

def delta_time
  @delta_time
end

Class Method Details

.jsii_propertiesObject



963
964
965
966
967
# File 'io_t_analytics/cfn_dataset.rb', line 963

def self.jsii_properties
  {
    :delta_time => "deltaTime",
  }
end

Instance Method Details

#to_jsiiObject



969
970
971
972
973
974
975
# File 'io_t_analytics/cfn_dataset.rb', line 969

def to_jsii
  result = {}
  result.merge!({
    "deltaTime" => @delta_time,
  })
  result.compact
end