Class: AWSCDK::CustomerProfiles::CfnCalculatedAttributeDefinition::ValueRangeProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CustomerProfiles::CfnCalculatedAttributeDefinition::ValueRangeProperty
- Defined in:
- customer_profiles/cfn_calculated_attribute_definition.rb
Overview
A structure letting customers specify a relative time window over which over which data is included in the Calculated Attribute.
Use positive numbers to indicate that the endpoint is in the past, and negative numbers to indicate it is in the future. ValueRange overrides Value.
Instance Attribute Summary collapse
-
#_end ⇒ Numeric
readonly
The ending point for this overridden range.
-
#start ⇒ Numeric
readonly
The starting point for this overridden range.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(_end:, start:) ⇒ ValueRangeProperty
constructor
A new instance of ValueRangeProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(_end:, start:) ⇒ ValueRangeProperty
Returns a new instance of ValueRangeProperty.
939 940 941 942 943 944 |
# File 'customer_profiles/cfn_calculated_attribute_definition.rb', line 939 def initialize(_end:, start:) @_end = _end Jsii::Type.check_type(@_end, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "end") @start = start Jsii::Type.check_type(@start, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "start") end |
Instance Attribute Details
#_end ⇒ Numeric (readonly)
The ending point for this overridden range.
Positive numbers indicate how many days in the past data should be included, and negative numbers indicate how many days in the future.
952 953 954 |
# File 'customer_profiles/cfn_calculated_attribute_definition.rb', line 952 def _end @_end end |
#start ⇒ Numeric (readonly)
The starting point for this overridden range.
Positive numbers indicate how many days in the past data should be included, and negative numbers indicate how many days in the future.
959 960 961 |
# File 'customer_profiles/cfn_calculated_attribute_definition.rb', line 959 def start @start end |
Class Method Details
.jsii_properties ⇒ Object
961 962 963 964 965 966 |
# File 'customer_profiles/cfn_calculated_attribute_definition.rb', line 961 def self.jsii_properties { :_end => "end", :start => "start", } end |
Instance Method Details
#to_jsii ⇒ Object
968 969 970 971 972 973 974 975 |
# File 'customer_profiles/cfn_calculated_attribute_definition.rb', line 968 def to_jsii result = {} result.merge!({ "end" => @_end, "start" => @start, }) result.compact end |