Class: AWSCDK::AppIntegrations::CfnDataIntegration::ScheduleConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AppIntegrations::CfnDataIntegration::ScheduleConfigProperty
- Defined in:
- app_integrations/cfn_data_integration.rb
Overview
The name of the data and how often it should be pulled from the source.
Instance Attribute Summary collapse
-
#first_execution_from ⇒ String?
readonly
The start date for objects to import in the first flow run as an Unix/epoch timestamp in milliseconds or in ISO-8601 format.
-
#object ⇒ String?
readonly
The name of the object to pull from the data source.
-
#schedule_expression ⇒ String
readonly
How often the data should be pulled from data source.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(schedule_expression:, first_execution_from: nil, object: nil) ⇒ ScheduleConfigProperty
constructor
A new instance of ScheduleConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(schedule_expression:, first_execution_from: nil, object: nil) ⇒ ScheduleConfigProperty
Returns a new instance of ScheduleConfigProperty.
689 690 691 692 693 694 695 696 |
# File 'app_integrations/cfn_data_integration.rb', line 689 def initialize(schedule_expression:, first_execution_from: nil, object: nil) @schedule_expression = schedule_expression Jsii::Type.check_type(@schedule_expression, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "scheduleExpression") @first_execution_from = first_execution_from Jsii::Type.check_type(@first_execution_from, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "firstExecutionFrom") unless @first_execution_from.nil? @object = object Jsii::Type.check_type(@object, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "object") unless @object.nil? end |
Instance Attribute Details
#first_execution_from ⇒ String? (readonly)
The start date for objects to import in the first flow run as an Unix/epoch timestamp in milliseconds or in ISO-8601 format.
707 708 709 |
# File 'app_integrations/cfn_data_integration.rb', line 707 def first_execution_from @first_execution_from end |
#object ⇒ String? (readonly)
The name of the object to pull from the data source.
712 713 714 |
# File 'app_integrations/cfn_data_integration.rb', line 712 def object @object end |
#schedule_expression ⇒ String (readonly)
How often the data should be pulled from data source.
702 703 704 |
# File 'app_integrations/cfn_data_integration.rb', line 702 def schedule_expression @schedule_expression end |
Class Method Details
.jsii_properties ⇒ Object
714 715 716 717 718 719 720 |
# File 'app_integrations/cfn_data_integration.rb', line 714 def self.jsii_properties { :schedule_expression => "scheduleExpression", :first_execution_from => "firstExecutionFrom", :object => "object", } end |
Instance Method Details
#to_jsii ⇒ Object
722 723 724 725 726 727 728 729 730 |
# File 'app_integrations/cfn_data_integration.rb', line 722 def to_jsii result = {} result.merge!({ "scheduleExpression" => @schedule_expression, "firstExecutionFrom" => @first_execution_from, "object" => @object, }) result.compact end |