Class: AWSCDK::Timestream::CfnScheduledQuery::ScheduleConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
timestream/cfn_scheduled_query.rb

Overview

Configuration of the schedule of the query.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(schedule_expression:) ⇒ ScheduleConfigurationProperty

Returns a new instance of ScheduleConfigurationProperty.

Parameters:

  • schedule_expression (String)

    An expression that denotes when to trigger the scheduled query run.



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_expressionString (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_propertiesObject



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_jsiiObject



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