Class: AWSCDK::CustomerProfiles::CfnIntegration::TriggerPropertiesProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
customer_profiles/cfn_integration.rb

Overview

Specifies the configuration details that control the trigger for a flow.

Currently, these settings only apply to the Scheduled trigger type.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(scheduled: nil) ⇒ TriggerPropertiesProperty

Returns a new instance of TriggerPropertiesProperty.

Parameters:



1418
1419
1420
1421
# File 'customer_profiles/cfn_integration.rb', line 1418

def initialize(scheduled: nil)
  @scheduled = scheduled.is_a?(Hash) ? ::AWSCDK::CustomerProfiles::CfnIntegration::ScheduledTriggerPropertiesProperty.new(**scheduled.transform_keys(&:to_sym)) : scheduled
  Jsii::Type.check_type(@scheduled, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jdXN0b21lcnByb2ZpbGVzLkNmbkludGVncmF0aW9uLlNjaGVkdWxlZFRyaWdnZXJQcm9wZXJ0aWVzUHJvcGVydHkifV19fQ==")), "scheduled") unless @scheduled.nil?
end

Instance Attribute Details

#scheduledAWSCDK::IResolvable, ... (readonly)

Specifies the configuration details of a schedule-triggered flow that you define.



1427
1428
1429
# File 'customer_profiles/cfn_integration.rb', line 1427

def scheduled
  @scheduled
end

Class Method Details

.jsii_propertiesObject



1429
1430
1431
1432
1433
# File 'customer_profiles/cfn_integration.rb', line 1429

def self.jsii_properties
  {
    :scheduled => "scheduled",
  }
end

Instance Method Details

#to_jsiiObject



1435
1436
1437
1438
1439
1440
1441
# File 'customer_profiles/cfn_integration.rb', line 1435

def to_jsii
  result = {}
  result.merge!({
    "scheduled" => @scheduled,
  })
  result.compact
end