Class: AWSCDK::CustomerProfiles::CfnIntegration::ObjectTypeMappingProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CustomerProfiles::CfnIntegration::ObjectTypeMappingProperty
- Defined in:
- customer_profiles/cfn_integration.rb
Overview
A map in which each key is an event type from an external application such as Segment or Shopify, and each value is an ObjectTypeName (template) used to ingest the event.
Instance Attribute Summary collapse
-
#key ⇒ String
readonly
The key.
-
#value ⇒ String
readonly
The value.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(key:, value:) ⇒ ObjectTypeMappingProperty
constructor
A new instance of ObjectTypeMappingProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(key:, value:) ⇒ ObjectTypeMappingProperty
Returns a new instance of ObjectTypeMappingProperty.
837 838 839 840 841 842 |
# File 'customer_profiles/cfn_integration.rb', line 837 def initialize(key:, value:) @key = key Jsii::Type.check_type(@key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "key") @value = value Jsii::Type.check_type(@value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") end |
Instance Attribute Details
#key ⇒ String (readonly)
The key.
848 849 850 |
# File 'customer_profiles/cfn_integration.rb', line 848 def key @key end |
#value ⇒ String (readonly)
The value.
853 854 855 |
# File 'customer_profiles/cfn_integration.rb', line 853 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
855 856 857 858 859 860 |
# File 'customer_profiles/cfn_integration.rb', line 855 def self.jsii_properties { :key => "key", :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
862 863 864 865 866 867 868 869 |
# File 'customer_profiles/cfn_integration.rb', line 862 def to_jsii result = {} result.merge!({ "key" => @key, "value" => @value, }) result.compact end |