Class: AWSCDK::AppFlow::CfnFlow::DestinationFlowConfigProperty

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

Overview

Contains information about the configuration of destination connectors present in the flow.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(connector_type:, destination_connector_properties:, api_version: nil, connector_profile_name: nil) ⇒ DestinationFlowConfigProperty

Returns a new instance of DestinationFlowConfigProperty.

Parameters:

  • connector_type (String)

    The type of destination connector, such as Sales force, Amazon S3, and so on.

  • destination_connector_properties (AWSCDK::IResolvable, AWSCDK::AppFlow::CfnFlow::DestinationConnectorPropertiesProperty)

    This stores the information that is required to query a particular connector.

  • api_version (String, nil) (defaults to: nil)

    The API version that the destination connector uses.

  • connector_profile_name (String, nil) (defaults to: nil)

    The name of the connector profile.



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_versionString? (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_nameString? (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_typeString (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_propertiesAWSCDK::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_propertiesObject



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_jsiiObject



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