Class: AWSCDK::AppFlow::CfnFlow::MarketoDestinationPropertiesProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AppFlow::CfnFlow::MarketoDestinationPropertiesProperty
- Defined in:
- app_flow/cfn_flow.rb
Overview
The properties that Amazon AppFlow applies when you use Marketo as a flow destination.
Instance Attribute Summary collapse
-
#error_handling_config ⇒ AWSCDK::IResolvable, ...
readonly
The settings that determine how Amazon AppFlow handles an error when placing data in the destination.
-
#object ⇒ String
readonly
The object specified in the Marketo flow destination.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(object:, error_handling_config: nil) ⇒ MarketoDestinationPropertiesProperty
constructor
A new instance of MarketoDestinationPropertiesProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(object:, error_handling_config: nil) ⇒ MarketoDestinationPropertiesProperty
Returns a new instance of MarketoDestinationPropertiesProperty.
1659 1660 1661 1662 1663 1664 |
# File 'app_flow/cfn_flow.rb', line 1659 def initialize(object:, error_handling_config: nil) @object = object Jsii::Type.check_type(@object, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "object") @error_handling_config = error_handling_config.is_a?(Hash) ? ::AWSCDK::AppFlow::CfnFlow::ErrorHandlingConfigProperty.new(**error_handling_config.transform_keys(&:to_sym)) : error_handling_config Jsii::Type.check_type(@error_handling_config, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19hcHBmbG93LkNmbkZsb3cuRXJyb3JIYW5kbGluZ0NvbmZpZ1Byb3BlcnR5In1dfX0=")), "errorHandlingConfig") unless @error_handling_config.nil? end |
Instance Attribute Details
#error_handling_config ⇒ AWSCDK::IResolvable, ... (readonly)
The settings that determine how Amazon AppFlow handles an error when placing data in the destination.
For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. ErrorHandlingConfig is a part of the destination connector details.
1677 1678 1679 |
# File 'app_flow/cfn_flow.rb', line 1677 def error_handling_config @error_handling_config end |
#object ⇒ String (readonly)
The object specified in the Marketo flow destination.
1670 1671 1672 |
# File 'app_flow/cfn_flow.rb', line 1670 def object @object end |
Class Method Details
.jsii_properties ⇒ Object
1679 1680 1681 1682 1683 1684 |
# File 'app_flow/cfn_flow.rb', line 1679 def self.jsii_properties { :object => "object", :error_handling_config => "errorHandlingConfig", } end |
Instance Method Details
#to_jsii ⇒ Object
1686 1687 1688 1689 1690 1691 1692 1693 |
# File 'app_flow/cfn_flow.rb', line 1686 def to_jsii result = {} result.merge!({ "object" => @object, "errorHandlingConfig" => @error_handling_config, }) result.compact end |