Class: AWSCDK::CustomerProfiles::CfnSegmentDefinition::ProfileDimensionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CustomerProfiles::CfnSegmentDefinition::ProfileDimensionProperty
- Defined in:
- customer_profiles/cfn_segment_definition.rb
Overview
Object that segments on various Customer profile's fields that are larger than normal.
Instance Attribute Summary collapse
-
#dimension_type ⇒ String
readonly
The action to segment on.
- #values ⇒ Array<String> readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(dimension_type:, values:) ⇒ ProfileDimensionProperty
constructor
A new instance of ProfileDimensionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(dimension_type:, values:) ⇒ ProfileDimensionProperty
Returns a new instance of ProfileDimensionProperty.
1278 1279 1280 1281 1282 1283 |
# File 'customer_profiles/cfn_segment_definition.rb', line 1278 def initialize(dimension_type:, values:) @dimension_type = dimension_type Jsii::Type.check_type(@dimension_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "dimensionType") @values = values Jsii::Type.check_type(@values, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "values") end |
Instance Attribute Details
#dimension_type ⇒ String (readonly)
The action to segment on.
1289 1290 1291 |
# File 'customer_profiles/cfn_segment_definition.rb', line 1289 def dimension_type @dimension_type end |
#values ⇒ Array<String> (readonly)
1292 1293 1294 |
# File 'customer_profiles/cfn_segment_definition.rb', line 1292 def values @values end |
Class Method Details
.jsii_properties ⇒ Object
1294 1295 1296 1297 1298 1299 |
# File 'customer_profiles/cfn_segment_definition.rb', line 1294 def self.jsii_properties { :dimension_type => "dimensionType", :values => "values", } end |
Instance Method Details
#to_jsii ⇒ Object
1301 1302 1303 1304 1305 1306 1307 1308 |
# File 'customer_profiles/cfn_segment_definition.rb', line 1301 def to_jsii result = {} result.merge!({ "dimensionType" => @dimension_type, "values" => @values, }) result.compact end |