Class: AWSCDK::AppFlow::CfnFlow::DataTransferAPIProperty

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

Overview

The API of the connector application that Amazon AppFlow uses to transfer your data.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:, type:) ⇒ DataTransferAPIProperty

Returns a new instance of DataTransferAPIProperty.

Parameters:

  • name (String)

    The name of the connector application API.

  • type (String)

    You can specify one of the following types:.



1065
1066
1067
1068
1069
1070
# File 'app_flow/cfn_flow.rb', line 1065

def initialize(name:, type:)
  @name = name
  Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name")
  @type = type
  Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type")
end

Instance Attribute Details

#nameString (readonly)

The name of the connector application API.



1076
1077
1078
# File 'app_flow/cfn_flow.rb', line 1076

def name
  @name
end

#typeString (readonly)

You can specify one of the following types:.

  • AUTOMATIC - The default. Optimizes a flow for datasets that fluctuate in size from small to large. For each flow run, Amazon AppFlow chooses to use the SYNC or ASYNC API type based on the amount of data that the run transfers.
  • SYNC - A synchronous API. This type of API optimizes a flow for small to medium-sized datasets.
  • ASYNC - An asynchronous API. This type of API optimizes a flow for large datasets.


1085
1086
1087
# File 'app_flow/cfn_flow.rb', line 1085

def type
  @type
end

Class Method Details

.jsii_propertiesObject



1087
1088
1089
1090
1091
1092
# File 'app_flow/cfn_flow.rb', line 1087

def self.jsii_properties
  {
    :name => "name",
    :type => "type",
  }
end

Instance Method Details

#to_jsiiObject



1094
1095
1096
1097
1098
1099
1100
1101
# File 'app_flow/cfn_flow.rb', line 1094

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