Class: AWSCDK::AppFlow::CfnFlow::SAPODataPaginationConfigProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
app_flow/cfn_flow.rb

Overview

Sets the page size for each concurrent process that transfers OData records from your SAP instance.

A concurrent process is query that retrieves a batch of records as part of a flow run. Amazon AppFlow can run multiple concurrent processes in parallel to transfer data faster.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(max_page_size:) ⇒ SAPODataPaginationConfigProperty

Returns a new instance of SAPODataPaginationConfigProperty.

Parameters:

  • max_page_size (Numeric)

    The maximum number of records that Amazon AppFlow receives in each page of the response from your SAP application.



2216
2217
2218
2219
# File 'app_flow/cfn_flow.rb', line 2216

def initialize(max_page_size:)
  @max_page_size = max_page_size
  Jsii::Type.check_type(@max_page_size, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "maxPageSize")
end

Instance Attribute Details

#max_page_sizeNumeric (readonly)

The maximum number of records that Amazon AppFlow receives in each page of the response from your SAP application.

For transfers of OData records, the maximum page size is 3,000. For transfers of data that comes from an ODP provider, the maximum page size is 10,000.



2227
2228
2229
# File 'app_flow/cfn_flow.rb', line 2227

def max_page_size
  @max_page_size
end

Class Method Details

.jsii_propertiesObject



2229
2230
2231
2232
2233
# File 'app_flow/cfn_flow.rb', line 2229

def self.jsii_properties
  {
    :max_page_size => "maxPageSize",
  }
end

Instance Method Details

#to_jsiiObject



2235
2236
2237
2238
2239
2240
2241
# File 'app_flow/cfn_flow.rb', line 2235

def to_jsii
  result = {}
  result.merge!({
    "maxPageSize" => @max_page_size,
  })
  result.compact
end