Class: AWSCDK::CustomerProfiles::CfnEventTrigger::EventTriggerLimitsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CustomerProfiles::CfnEventTrigger::EventTriggerLimitsProperty
- Defined in:
- customer_profiles/cfn_event_trigger.rb
Overview
Defines limits controlling whether an event triggers the destination, based on ingestion latency and the number of invocations per profile over specific time periods.
Instance Attribute Summary collapse
-
#event_expiration ⇒ Numeric?
readonly
Specifies that an event will only trigger the destination if it is processed within a certain latency period.
-
#periods ⇒ AWSCDK::IResolvable, ...
readonly
A list of time periods during which the limits apply.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(event_expiration: nil, periods: nil) ⇒ EventTriggerLimitsProperty
constructor
A new instance of EventTriggerLimitsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(event_expiration: nil, periods: nil) ⇒ EventTriggerLimitsProperty
Returns a new instance of EventTriggerLimitsProperty.
687 688 689 690 691 692 |
# File 'customer_profiles/cfn_event_trigger.rb', line 687 def initialize(event_expiration: nil, periods: nil) @event_expiration = event_expiration Jsii::Type.check_type(@event_expiration, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "eventExpiration") unless @event_expiration.nil? @periods = periods Jsii::Type.check_type(@periods, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY3VzdG9tZXJwcm9maWxlcy5DZm5FdmVudFRyaWdnZXIuUGVyaW9kUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "periods") unless @periods.nil? end |
Instance Attribute Details
#event_expiration ⇒ Numeric? (readonly)
Specifies that an event will only trigger the destination if it is processed within a certain latency period.
698 699 700 |
# File 'customer_profiles/cfn_event_trigger.rb', line 698 def event_expiration @event_expiration end |
#periods ⇒ AWSCDK::IResolvable, ... (readonly)
A list of time periods during which the limits apply.
703 704 705 |
# File 'customer_profiles/cfn_event_trigger.rb', line 703 def periods @periods end |
Class Method Details
.jsii_properties ⇒ Object
705 706 707 708 709 710 |
# File 'customer_profiles/cfn_event_trigger.rb', line 705 def self.jsii_properties { :event_expiration => "eventExpiration", :periods => "periods", } end |
Instance Method Details
#to_jsii ⇒ Object
712 713 714 715 716 717 718 719 |
# File 'customer_profiles/cfn_event_trigger.rb', line 712 def to_jsii result = {} result.merge!({ "eventExpiration" => @event_expiration, "periods" => @periods, }) result.compact end |