Class: AWSCDK::CustomerProfiles::CfnIntegration::TaskProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CustomerProfiles::CfnIntegration::TaskProperty
- Defined in:
- customer_profiles/cfn_integration.rb
Overview
The Task property type specifies the class for modeling different type of tasks.
Task implementation varies based on the TaskType.
Instance Attribute Summary collapse
-
#connector_operator ⇒ AWSCDK::IResolvable, ...
readonly
The operation to be performed on the provided source fields.
-
#destination_field ⇒ String?
readonly
A field in a destination connector, or a field value against which Amazon AppFlow validates a source field.
-
#source_fields ⇒ Array<String>
readonly
The source fields to which a particular task is applied.
-
#task_properties ⇒ AWSCDK::IResolvable, ...
readonly
A map used to store task-related information.
-
#task_type ⇒ String
readonly
Specifies the particular task implementation that Amazon AppFlow performs.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(source_fields:, task_type:, connector_operator: nil, destination_field: nil, task_properties: nil) ⇒ TaskProperty
constructor
A new instance of TaskProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(source_fields:, task_type:, connector_operator: nil, destination_field: nil, task_properties: nil) ⇒ TaskProperty
Returns a new instance of TaskProperty.
1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 |
# File 'customer_profiles/cfn_integration.rb', line 1298 def initialize(source_fields:, task_type:, connector_operator: nil, destination_field: nil, task_properties: nil) @source_fields = source_fields Jsii::Type.check_type(@source_fields, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "sourceFields") @task_type = task_type Jsii::Type.check_type(@task_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "taskType") @connector_operator = connector_operator.is_a?(Hash) ? ::AWSCDK::CustomerProfiles::CfnIntegration::ConnectorOperatorProperty.new(**connector_operator.transform_keys(&:to_sym)) : connector_operator Jsii::Type.check_type(@connector_operator, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jdXN0b21lcnByb2ZpbGVzLkNmbkludGVncmF0aW9uLkNvbm5lY3Rvck9wZXJhdG9yUHJvcGVydHkifV19fQ==")), "connectorOperator") unless @connector_operator.nil? @destination_field = destination_field Jsii::Type.check_type(@destination_field, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "destinationField") unless @destination_field.nil? @task_properties = task_properties Jsii::Type.check_type(@task_properties, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY3VzdG9tZXJwcm9maWxlcy5DZm5JbnRlZ3JhdGlvbi5UYXNrUHJvcGVydGllc01hcFByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "taskProperties") unless @task_properties.nil? end |
Instance Attribute Details
#connector_operator ⇒ AWSCDK::IResolvable, ... (readonly)
The operation to be performed on the provided source fields.
1325 1326 1327 |
# File 'customer_profiles/cfn_integration.rb', line 1325 def connector_operator @connector_operator end |
#destination_field ⇒ String? (readonly)
A field in a destination connector, or a field value against which Amazon AppFlow validates a source field.
1330 1331 1332 |
# File 'customer_profiles/cfn_integration.rb', line 1330 def destination_field @destination_field end |
#source_fields ⇒ Array<String> (readonly)
The source fields to which a particular task is applied.
1315 1316 1317 |
# File 'customer_profiles/cfn_integration.rb', line 1315 def source_fields @source_fields end |
#task_properties ⇒ AWSCDK::IResolvable, ... (readonly)
A map used to store task-related information.
The service looks for particular information based on the TaskType.
1337 1338 1339 |
# File 'customer_profiles/cfn_integration.rb', line 1337 def task_properties @task_properties end |
#task_type ⇒ String (readonly)
Specifies the particular task implementation that Amazon AppFlow performs.
1320 1321 1322 |
# File 'customer_profiles/cfn_integration.rb', line 1320 def task_type @task_type end |
Class Method Details
.jsii_properties ⇒ Object
1339 1340 1341 1342 1343 1344 1345 1346 1347 |
# File 'customer_profiles/cfn_integration.rb', line 1339 def self.jsii_properties { :source_fields => "sourceFields", :task_type => "taskType", :connector_operator => "connectorOperator", :destination_field => "destinationField", :task_properties => "taskProperties", } end |
Instance Method Details
#to_jsii ⇒ Object
1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 |
# File 'customer_profiles/cfn_integration.rb', line 1349 def to_jsii result = {} result.merge!({ "sourceFields" => @source_fields, "taskType" => @task_type, "connectorOperator" => @connector_operator, "destinationField" => @destination_field, "taskProperties" => @task_properties, }) result.compact end |