Class: AWSCDK::IoTAnalytics::CfnDataset::DeltaTimeProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoTAnalytics::CfnDataset::DeltaTimeProperty
- Defined in:
- io_t_analytics/cfn_dataset.rb
Overview
Used to limit data to that which has arrived since the last execution of the action.
Instance Attribute Summary collapse
-
#offset_seconds ⇒ Numeric
readonly
The number of seconds of estimated in-flight lag time of message data.
-
#time_expression ⇒ String
readonly
An expression by which the time of the message data might be determined.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(offset_seconds:, time_expression:) ⇒ DeltaTimeProperty
constructor
A new instance of DeltaTimeProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(offset_seconds:, time_expression:) ⇒ DeltaTimeProperty
Returns a new instance of DeltaTimeProperty.
867 868 869 870 871 872 |
# File 'io_t_analytics/cfn_dataset.rb', line 867 def initialize(offset_seconds:, time_expression:) @offset_seconds = offset_seconds Jsii::Type.check_type(@offset_seconds, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "offsetSeconds") @time_expression = time_expression Jsii::Type.check_type(@time_expression, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "timeExpression") end |
Instance Attribute Details
#offset_seconds ⇒ Numeric (readonly)
The number of seconds of estimated in-flight lag time of message data.
When you create dataset contents using message data from a specified timeframe, some message data might still be in flight when processing begins, and so do not arrive in time to be processed. Use this field to make allowances for the in flight time of your message data, so that data not processed from a previous timeframe is included with the next timeframe. Otherwise, missed message data would be excluded from processing during the next timeframe too, because its timestamp places it within the previous timeframe.
880 881 882 |
# File 'io_t_analytics/cfn_dataset.rb', line 880 def offset_seconds @offset_seconds end |
#time_expression ⇒ String (readonly)
An expression by which the time of the message data might be determined.
This can be the name of a timestamp field or a SQL expression that is used to derive the time the message data was generated.
887 888 889 |
# File 'io_t_analytics/cfn_dataset.rb', line 887 def time_expression @time_expression end |
Class Method Details
.jsii_properties ⇒ Object
889 890 891 892 893 894 |
# File 'io_t_analytics/cfn_dataset.rb', line 889 def self.jsii_properties { :offset_seconds => "offsetSeconds", :time_expression => "timeExpression", } end |
Instance Method Details
#to_jsii ⇒ Object
896 897 898 899 900 901 902 903 |
# File 'io_t_analytics/cfn_dataset.rb', line 896 def to_jsii result = {} result.merge!({ "offsetSeconds" => @offset_seconds, "timeExpression" => @time_expression, }) result.compact end |