Class: AWSCDK::CustomerProfiles::CfnSegmentDefinition::SegmentSortProperty

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

Overview

Defines how segments should be sorted and ordered in the results.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes:) ⇒ SegmentSortProperty

Returns a new instance of SegmentSortProperty.

Parameters:



1457
1458
1459
1460
# File 'customer_profiles/cfn_segment_definition.rb', line 1457

def initialize(attributes:)
  @attributes = attributes
  Jsii::Type.check_type(@attributes, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY3VzdG9tZXJwcm9maWxlcy5DZm5TZWdtZW50RGVmaW5pdGlvbi5Tb3J0QXR0cmlidXRlUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "attributes")
end

Instance Attribute Details

Class Method Details

.jsii_propertiesObject



1468
1469
1470
1471
1472
# File 'customer_profiles/cfn_segment_definition.rb', line 1468

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

Instance Method Details

#to_jsiiObject



1474
1475
1476
1477
1478
1479
1480
# File 'customer_profiles/cfn_segment_definition.rb', line 1474

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