Class: AWSCDK::AppFlow::CfnFlow::DestinationFlowConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AppFlow::CfnFlow::DestinationFlowConfigProperty
- Defined in:
- app_flow/cfn_flow.rb
Overview
Contains information about the configuration of destination connectors present in the flow.
Instance Attribute Summary collapse
-
#api_version ⇒ String?
readonly
The API version that the destination connector uses.
-
#connector_profile_name ⇒ String?
readonly
The name of the connector profile.
-
#connector_type ⇒ String
readonly
The type of destination connector, such as Sales force, Amazon S3, and so on.
-
#destination_connector_properties ⇒ AWSCDK::IResolvable, AWSCDK::AppFlow::CfnFlow::DestinationConnectorPropertiesProperty
readonly
This stores the information that is required to query a particular connector.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(connector_type:, destination_connector_properties:, api_version: nil, connector_profile_name: nil) ⇒ DestinationFlowConfigProperty
constructor
A new instance of DestinationFlowConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(connector_type:, destination_connector_properties:, api_version: nil, connector_profile_name: nil) ⇒ DestinationFlowConfigProperty
Returns a new instance of DestinationFlowConfigProperty.
1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 |
# File 'app_flow/cfn_flow.rb', line 1280 def initialize(connector_type:, destination_connector_properties:, api_version: nil, connector_profile_name: nil) @connector_type = connector_type Jsii::Type.check_type(@connector_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "connectorType") @destination_connector_properties = destination_connector_properties.is_a?(Hash) ? ::AWSCDK::AppFlow::CfnFlow::DestinationConnectorPropertiesProperty.new(**destination_connector_properties.transform_keys(&:to_sym)) : destination_connector_properties Jsii::Type.check_type(@destination_connector_properties, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19hcHBmbG93LkNmbkZsb3cuRGVzdGluYXRpb25Db25uZWN0b3JQcm9wZXJ0aWVzUHJvcGVydHkifV19fQ==")), "destinationConnectorProperties") @api_version = api_version Jsii::Type.check_type(@api_version, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "apiVersion") unless @api_version.nil? @connector_profile_name = connector_profile_name Jsii::Type.check_type(@connector_profile_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "connectorProfileName") unless @connector_profile_name.nil? end |
Instance Attribute Details
#api_version ⇒ String? (readonly)
The API version that the destination connector uses.
1305 1306 1307 |
# File 'app_flow/cfn_flow.rb', line 1305 def api_version @api_version end |
#connector_profile_name ⇒ String? (readonly)
The name of the connector profile.
This name must be unique for each connector profile in the AWS account .
1312 1313 1314 |
# File 'app_flow/cfn_flow.rb', line 1312 def connector_profile_name @connector_profile_name end |
#connector_type ⇒ String (readonly)
The type of destination connector, such as Sales force, Amazon S3, and so on.
1295 1296 1297 |
# File 'app_flow/cfn_flow.rb', line 1295 def connector_type @connector_type end |
#destination_connector_properties ⇒ AWSCDK::IResolvable, AWSCDK::AppFlow::CfnFlow::DestinationConnectorPropertiesProperty (readonly)
This stores the information that is required to query a particular connector.
1300 1301 1302 |
# File 'app_flow/cfn_flow.rb', line 1300 def destination_connector_properties @destination_connector_properties end |
Class Method Details
.jsii_properties ⇒ Object
1314 1315 1316 1317 1318 1319 1320 1321 |
# File 'app_flow/cfn_flow.rb', line 1314 def self.jsii_properties { :connector_type => "connectorType", :destination_connector_properties => "destinationConnectorProperties", :api_version => "apiVersion", :connector_profile_name => "connectorProfileName", } end |
Instance Method Details
#to_jsii ⇒ Object
1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 |
# File 'app_flow/cfn_flow.rb', line 1323 def to_jsii result = {} result.merge!({ "connectorType" => @connector_type, "destinationConnectorProperties" => @destination_connector_properties, "apiVersion" => @api_version, "connectorProfileName" => @connector_profile_name, }) result.compact end |