Class: AWSCDK::IoTAnalytics::CfnDataset::DeltaTimeSessionWindowConfigurationProperty

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

Overview

A structure that contains the configuration information of a delta time session window.

DeltaTime specifies a time interval. You can use DeltaTime to create dataset contents with data that has arrived in the data store since the last execution. For an example of DeltaTime , see Creating a SQL dataset with a delta window (CLI) in the ITA User Guide .

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(timeout_in_minutes:) ⇒ DeltaTimeSessionWindowConfigurationProperty

Returns a new instance of DeltaTimeSessionWindowConfigurationProperty.

Parameters:

  • timeout_in_minutes (Numeric)

    A time interval.



915
916
917
918
# File 'io_t_analytics/cfn_dataset.rb', line 915

def initialize(timeout_in_minutes:)
  @timeout_in_minutes = timeout_in_minutes
  Jsii::Type.check_type(@timeout_in_minutes, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "timeoutInMinutes")
end

Instance Attribute Details

#timeout_in_minutesNumeric (readonly)

A time interval.

You can use timeout_in_minutes so that ITA can batch up late data notifications that have been generated since the last execution. ITA sends one batch of notifications to Amazon CloudWatch Events at one time.

For more information about how to write a timestamp expression, see Date and Time Functions and Operators , in the Presto 0.172 Documentation .



928
929
930
# File 'io_t_analytics/cfn_dataset.rb', line 928

def timeout_in_minutes
  @timeout_in_minutes
end

Class Method Details

.jsii_propertiesObject



930
931
932
933
934
# File 'io_t_analytics/cfn_dataset.rb', line 930

def self.jsii_properties
  {
    :timeout_in_minutes => "timeoutInMinutes",
  }
end

Instance Method Details

#to_jsiiObject



936
937
938
939
940
941
942
# File 'io_t_analytics/cfn_dataset.rb', line 936

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