Class: AWSCDK::CustomerProfiles::CfnObjectType::KeyMapProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CustomerProfiles::CfnObjectType::KeyMapProperty
- 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
-
#name ⇒ String?
readonly
Name of the key.
-
#object_type_key_list ⇒ AWSCDK::IResolvable, ...
readonly
A list of ObjectTypeKey.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name: nil, object_type_key_list: nil) ⇒ KeyMapProperty
constructor
A new instance of KeyMapProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name: nil, object_type_key_list: nil) ⇒ KeyMapProperty
Returns a new instance of KeyMapProperty.
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
#name ⇒ String? (readonly)
Name of the key.
737 738 739 |
# File 'customer_profiles/cfn_object_type.rb', line 737 def name @name end |
#object_type_key_list ⇒ AWSCDK::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_properties ⇒ Object
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_jsii ⇒ Object
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 |