Class: AWSCDK::IoTAnalytics::CfnDataset::ScheduleProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoTAnalytics::CfnDataset::ScheduleProperty
- Defined in:
- io_t_analytics/cfn_dataset.rb
Overview
The schedule for when to trigger an update.
Instance Attribute Summary collapse
-
#schedule_expression ⇒ String
readonly
The expression that defines when to trigger an update.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(schedule_expression:) ⇒ ScheduleProperty
constructor
A new instance of ScheduleProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(schedule_expression:) ⇒ ScheduleProperty
Returns a new instance of ScheduleProperty.
1392 1393 1394 1395 |
# File 'io_t_analytics/cfn_dataset.rb', line 1392 def initialize(schedule_expression:) @schedule_expression = schedule_expression Jsii::Type.check_type(@schedule_expression, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "scheduleExpression") end |
Instance Attribute Details
#schedule_expression ⇒ String (readonly)
The expression that defines when to trigger an update.
For more information, see Schedule Expressions for Rules in the Amazon CloudWatch documentation.
1403 1404 1405 |
# File 'io_t_analytics/cfn_dataset.rb', line 1403 def schedule_expression @schedule_expression end |
Class Method Details
.jsii_properties ⇒ Object
1405 1406 1407 1408 1409 |
# File 'io_t_analytics/cfn_dataset.rb', line 1405 def self.jsii_properties { :schedule_expression => "scheduleExpression", } end |
Instance Method Details
#to_jsii ⇒ Object
1411 1412 1413 1414 1415 1416 1417 |
# File 'io_t_analytics/cfn_dataset.rb', line 1411 def to_jsii result = {} result.merge!({ "scheduleExpression" => @schedule_expression, }) result.compact end |