Class: AWSCDK::AppIntegrations::CfnDataIntegration::ScheduleConfigProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(schedule_expression:, first_execution_from: nil, object: nil) ⇒ ScheduleConfigProperty

Returns a new instance of ScheduleConfigProperty.

Parameters:

  • schedule_expression (String)

    How often the data should be pulled from data source.

  • first_execution_from (String, nil) (defaults to: nil)

    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, nil) (defaults to: nil)

    The name of the object to pull from the data source.



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_fromString? (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

#objectString? (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_expressionString (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_propertiesObject



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_jsiiObject



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