Class: AWSCDK::CustomerProfiles::CfnSegmentDefinition::ConditionOverridesProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CustomerProfiles::CfnSegmentDefinition::ConditionOverridesProperty
- Defined in:
- customer_profiles/cfn_segment_definition.rb
Overview
An object to override the original condition block of a calculated attribute.
Instance Attribute Summary collapse
-
#range ⇒ AWSCDK::IResolvable, ...
readonly
The relative time period over which data is included in the aggregation for this override.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(range: nil) ⇒ ConditionOverridesProperty
constructor
A new instance of ConditionOverridesProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(range: nil) ⇒ ConditionOverridesProperty
Returns a new instance of ConditionOverridesProperty.
809 810 811 812 |
# File 'customer_profiles/cfn_segment_definition.rb', line 809 def initialize(range: nil) @range = range.is_a?(Hash) ? ::AWSCDK::CustomerProfiles::CfnSegmentDefinition::RangeOverrideProperty.new(**range.transform_keys(&:to_sym)) : range Jsii::Type.check_type(@range, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jdXN0b21lcnByb2ZpbGVzLkNmblNlZ21lbnREZWZpbml0aW9uLlJhbmdlT3ZlcnJpZGVQcm9wZXJ0eSJ9XX19")), "range") unless @range.nil? end |
Instance Attribute Details
#range ⇒ AWSCDK::IResolvable, ... (readonly)
The relative time period over which data is included in the aggregation for this override.
818 819 820 |
# File 'customer_profiles/cfn_segment_definition.rb', line 818 def range @range end |
Class Method Details
.jsii_properties ⇒ Object
820 821 822 823 824 |
# File 'customer_profiles/cfn_segment_definition.rb', line 820 def self.jsii_properties { :range => "range", } end |
Instance Method Details
#to_jsii ⇒ Object
826 827 828 829 830 831 832 |
# File 'customer_profiles/cfn_segment_definition.rb', line 826 def to_jsii result = {} result.merge!({ "range" => @range, }) result.compact end |