Class: AWSCDK::IoTAnalytics::CfnDataset::ScheduleProperty

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

Overview

The schedule for when to trigger an update.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(schedule_expression:) ⇒ ScheduleProperty

Returns a new instance of ScheduleProperty.

Parameters:

  • schedule_expression (String)

    The expression that defines when to trigger an update.



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



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_jsiiObject



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