Class: AWSCDK::CustomerProfiles::CfnIntegration::SalesforceSourcePropertiesProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
customer_profiles/cfn_integration.rb

Overview

The properties that are applied when Salesforce is being used as a source.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(object:, enable_dynamic_field_update: nil, include_deleted_records: nil) ⇒ SalesforceSourcePropertiesProperty

Returns a new instance of SalesforceSourcePropertiesProperty.

Parameters:

  • object (String)

    The object specified in the Salesforce flow source.

  • enable_dynamic_field_update (Boolean, AWSCDK::IResolvable, nil) (defaults to: nil)

    The flag that enables dynamic fetching of new (recently added) fields in the Salesforce objects while running a flow.

  • include_deleted_records (Boolean, AWSCDK::IResolvable, nil) (defaults to: nil)

    Indicates whether Amazon AppFlow includes deleted files in the flow run.



924
925
926
927
928
929
930
931
# File 'customer_profiles/cfn_integration.rb', line 924

def initialize(object:, enable_dynamic_field_update: nil, include_deleted_records: nil)
  @object = object
  Jsii::Type.check_type(@object, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "object")
  @enable_dynamic_field_update = enable_dynamic_field_update
  Jsii::Type.check_type(@enable_dynamic_field_update, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "enableDynamicFieldUpdate") unless @enable_dynamic_field_update.nil?
  @include_deleted_records = include_deleted_records
  Jsii::Type.check_type(@include_deleted_records, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "includeDeletedRecords") unless @include_deleted_records.nil?
end

Instance Attribute Details

#enable_dynamic_field_updateBoolean, ... (readonly)

The flag that enables dynamic fetching of new (recently added) fields in the Salesforce objects while running a flow.



942
943
944
# File 'customer_profiles/cfn_integration.rb', line 942

def enable_dynamic_field_update
  @enable_dynamic_field_update
end

#include_deleted_recordsBoolean, ... (readonly)

Indicates whether Amazon AppFlow includes deleted files in the flow run.



947
948
949
# File 'customer_profiles/cfn_integration.rb', line 947

def include_deleted_records
  @include_deleted_records
end

#objectString (readonly)

The object specified in the Salesforce flow source.



937
938
939
# File 'customer_profiles/cfn_integration.rb', line 937

def object
  @object
end

Class Method Details

.jsii_propertiesObject



949
950
951
952
953
954
955
# File 'customer_profiles/cfn_integration.rb', line 949

def self.jsii_properties
  {
    :object => "object",
    :enable_dynamic_field_update => "enableDynamicFieldUpdate",
    :include_deleted_records => "includeDeletedRecords",
  }
end

Instance Method Details

#to_jsiiObject



957
958
959
960
961
962
963
964
965
# File 'customer_profiles/cfn_integration.rb', line 957

def to_jsii
  result = {}
  result.merge!({
    "object" => @object,
    "enableDynamicFieldUpdate" => @enable_dynamic_field_update,
    "includeDeletedRecords" => @include_deleted_records,
  })
  result.compact
end