Class: AWSCDK::CustomerProfiles::CfnCalculatedAttributeDefinition::AttributeItemProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:) ⇒ AttributeItemProperty

Returns a new instance of AttributeItemProperty.

Parameters:

  • name (String)

    The unique name of the calculated attribute.



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

#nameString (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_propertiesObject



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_jsiiObject



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