Class: AWSCDK::CustomerProfiles::CfnCalculatedAttributeDefinition::AttributeItemProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CustomerProfiles::CfnCalculatedAttributeDefinition::AttributeItemProperty
- Defined in:
- customer_profiles/cfn_calculated_attribute_definition.rb
Overview
The details of a single attribute item specified in the mathematical expression.
Instance Attribute Summary collapse
-
#name ⇒ String
readonly
The unique name of the calculated attribute.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name:) ⇒ AttributeItemProperty
constructor
A new instance of AttributeItemProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name:) ⇒ AttributeItemProperty
Returns a new instance of AttributeItemProperty.
685 686 687 688 |
# File 'customer_profiles/cfn_calculated_attribute_definition.rb', line 685 def initialize(name:) @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") end |
Instance Attribute Details
#name ⇒ String (readonly)
The unique name of the calculated attribute.
694 695 696 |
# File 'customer_profiles/cfn_calculated_attribute_definition.rb', line 694 def name @name end |
Class Method Details
.jsii_properties ⇒ Object
696 697 698 699 700 |
# File 'customer_profiles/cfn_calculated_attribute_definition.rb', line 696 def self.jsii_properties { :name => "name", } end |
Instance Method Details
#to_jsii ⇒ Object
702 703 704 705 706 707 708 |
# File 'customer_profiles/cfn_calculated_attribute_definition.rb', line 702 def to_jsii result = {} result.merge!({ "name" => @name, }) result.compact end |