Class: AWSCDK::CustomerProfiles::CfnIntegration::TriggerConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CustomerProfiles::CfnIntegration::TriggerConfigProperty
- Defined in:
- customer_profiles/cfn_integration.rb
Overview
The trigger settings that determine how and when Amazon AppFlow runs the specified flow.
Instance Attribute Summary collapse
-
#trigger_properties ⇒ AWSCDK::IResolvable, ...
readonly
Specifies the configuration details of a schedule-triggered flow that you define.
-
#trigger_type ⇒ String
readonly
Specifies the type of flow trigger.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(trigger_type:, trigger_properties: nil) ⇒ TriggerConfigProperty
constructor
A new instance of TriggerConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(trigger_type:, trigger_properties: nil) ⇒ TriggerConfigProperty
Returns a new instance of TriggerConfigProperty.
1370 1371 1372 1373 1374 1375 |
# File 'customer_profiles/cfn_integration.rb', line 1370 def initialize(trigger_type:, trigger_properties: nil) @trigger_type = trigger_type Jsii::Type.check_type(@trigger_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "triggerType") @trigger_properties = trigger_properties.is_a?(Hash) ? ::AWSCDK::CustomerProfiles::CfnIntegration::TriggerPropertiesProperty.new(**trigger_properties.transform_keys(&:to_sym)) : trigger_properties Jsii::Type.check_type(@trigger_properties, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jdXN0b21lcnByb2ZpbGVzLkNmbkludGVncmF0aW9uLlRyaWdnZXJQcm9wZXJ0aWVzUHJvcGVydHkifV19fQ==")), "triggerProperties") unless @trigger_properties.nil? end |
Instance Attribute Details
#trigger_properties ⇒ AWSCDK::IResolvable, ... (readonly)
Specifies the configuration details of a schedule-triggered flow that you define.
Currently, these settings only apply to the Scheduled trigger type.
1390 1391 1392 |
# File 'customer_profiles/cfn_integration.rb', line 1390 def trigger_properties @trigger_properties end |
#trigger_type ⇒ String (readonly)
Specifies the type of flow trigger.
It can be OnDemand, Scheduled, or Event.
1383 1384 1385 |
# File 'customer_profiles/cfn_integration.rb', line 1383 def trigger_type @trigger_type end |
Class Method Details
.jsii_properties ⇒ Object
1392 1393 1394 1395 1396 1397 |
# File 'customer_profiles/cfn_integration.rb', line 1392 def self.jsii_properties { :trigger_type => "triggerType", :trigger_properties => "triggerProperties", } end |
Instance Method Details
#to_jsii ⇒ Object
1399 1400 1401 1402 1403 1404 1405 1406 |
# File 'customer_profiles/cfn_integration.rb', line 1399 def to_jsii result = {} result.merge!({ "triggerType" => @trigger_type, "triggerProperties" => @trigger_properties, }) result.compact end |