Class: AWSCDK::IoTTwinMaker::CfnComponentType::CompositeComponentTypeProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
io_t_twin_maker/cfn_component_type.rb

Overview

Specifies the ID of the composite component type.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(component_type_id: nil) ⇒ CompositeComponentTypeProperty

Returns a new instance of CompositeComponentTypeProperty.

Parameters:

  • component_type_id (String, nil) (defaults to: nil)

    The ID of the component type.



695
696
697
698
# File 'io_t_twin_maker/cfn_component_type.rb', line 695

def initialize(component_type_id: nil)
  @component_type_id = component_type_id
  Jsii::Type.check_type(@component_type_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "componentTypeId") unless @component_type_id.nil?
end

Instance Attribute Details

#component_type_idString? (readonly)

The ID of the component type.



704
705
706
# File 'io_t_twin_maker/cfn_component_type.rb', line 704

def component_type_id
  @component_type_id
end

Class Method Details

.jsii_propertiesObject



706
707
708
709
710
# File 'io_t_twin_maker/cfn_component_type.rb', line 706

def self.jsii_properties
  {
    :component_type_id => "componentTypeId",
  }
end

Instance Method Details

#to_jsiiObject



712
713
714
715
716
717
718
# File 'io_t_twin_maker/cfn_component_type.rb', line 712

def to_jsii
  result = {}
  result.merge!({
    "componentTypeId" => @component_type_id,
  })
  result.compact
end