Class: AWSCDK::Connect::CfnDataTableRecord::ValueProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
connect/cfn_data_table_record.rb

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attribute_id: nil, attribute_value: nil) ⇒ ValueProperty

Returns a new instance of ValueProperty.

Parameters:

  • attribute_id (String, nil) (defaults to: nil)
  • attribute_value (String, nil) (defaults to: nil)


559
560
561
562
563
564
# File 'connect/cfn_data_table_record.rb', line 559

def initialize(attribute_id: nil, attribute_value: nil)
  @attribute_id = attribute_id
  Jsii::Type.check_type(@attribute_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "attributeId") unless @attribute_id.nil?
  @attribute_value = attribute_value
  Jsii::Type.check_type(@attribute_value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "attributeValue") unless @attribute_value.nil?
end

Instance Attribute Details

#attribute_idString? (readonly)



568
569
570
# File 'connect/cfn_data_table_record.rb', line 568

def attribute_id
  @attribute_id
end

#attribute_valueString? (readonly)



571
572
573
# File 'connect/cfn_data_table_record.rb', line 571

def attribute_value
  @attribute_value
end

Class Method Details

.jsii_propertiesObject



573
574
575
576
577
578
# File 'connect/cfn_data_table_record.rb', line 573

def self.jsii_properties
  {
    :attribute_id => "attributeId",
    :attribute_value => "attributeValue",
  }
end

Instance Method Details

#to_jsiiObject



580
581
582
583
584
585
586
587
# File 'connect/cfn_data_table_record.rb', line 580

def to_jsii
  result = {}
  result.merge!({
    "attributeId" => @attribute_id,
    "attributeValue" => @attribute_value,
  })
  result.compact
end