Class: AWSCDK::CustomerProfiles::CfnObjectType::KeyMapProperty

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

Overview

A unique key map that can be used to map data to the profile.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name: nil, object_type_key_list: nil) ⇒ KeyMapProperty

Returns a new instance of KeyMapProperty.

Parameters:



726
727
728
729
730
731
# File 'customer_profiles/cfn_object_type.rb', line 726

def initialize(name: nil, object_type_key_list: nil)
  @name = name
  Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") unless @name.nil?
  @object_type_key_list = object_type_key_list
  Jsii::Type.check_type(@object_type_key_list, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY3VzdG9tZXJwcm9maWxlcy5DZm5PYmplY3RUeXBlLk9iamVjdFR5cGVLZXlQcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "objectTypeKeyList") unless @object_type_key_list.nil?
end

Instance Attribute Details

#nameString? (readonly)

Name of the key.



737
738
739
# File 'customer_profiles/cfn_object_type.rb', line 737

def name
  @name
end

#object_type_key_listAWSCDK::IResolvable, ... (readonly)

A list of ObjectTypeKey.



742
743
744
# File 'customer_profiles/cfn_object_type.rb', line 742

def object_type_key_list
  @object_type_key_list
end

Class Method Details

.jsii_propertiesObject



744
745
746
747
748
749
# File 'customer_profiles/cfn_object_type.rb', line 744

def self.jsii_properties
  {
    :name => "name",
    :object_type_key_list => "objectTypeKeyList",
  }
end

Instance Method Details

#to_jsiiObject



751
752
753
754
755
756
757
758
# File 'customer_profiles/cfn_object_type.rb', line 751

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