Class: AWSCDK::Timestream::CfnScheduledQuery::ScheduleConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Timestream::CfnScheduledQuery::ScheduleConfigurationProperty
- Defined in:
- timestream/cfn_scheduled_query.rb
Overview
Configuration of the schedule of the query.
Instance Attribute Summary collapse
-
#schedule_expression ⇒ String
readonly
An expression that denotes when to trigger the scheduled query run.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(schedule_expression:) ⇒ ScheduleConfigurationProperty
constructor
A new instance of ScheduleConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(schedule_expression:) ⇒ ScheduleConfigurationProperty
Returns a new instance of ScheduleConfigurationProperty.
1057 1058 1059 1060 |
# File 'timestream/cfn_scheduled_query.rb', line 1057 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)
An expression that denotes when to trigger the scheduled query run.
This can be a cron expression or a rate expression.
1068 1069 1070 |
# File 'timestream/cfn_scheduled_query.rb', line 1068 def schedule_expression @schedule_expression end |
Class Method Details
.jsii_properties ⇒ Object
1070 1071 1072 1073 1074 |
# File 'timestream/cfn_scheduled_query.rb', line 1070 def self.jsii_properties { :schedule_expression => "scheduleExpression", } end |
Instance Method Details
#to_jsii ⇒ Object
1076 1077 1078 1079 1080 1081 1082 |
# File 'timestream/cfn_scheduled_query.rb', line 1076 def to_jsii result = {} result.merge!({ "scheduleExpression" => @schedule_expression, }) result.compact end |