Class: AWSCDK::IoTTwinMaker::CfnComponentType::CompositeComponentTypeProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoTTwinMaker::CfnComponentType::CompositeComponentTypeProperty
- Defined in:
- io_t_twin_maker/cfn_component_type.rb
Overview
Specifies the ID of the composite component type.
Instance Attribute Summary collapse
-
#component_type_id ⇒ String?
readonly
The ID of the component type.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(component_type_id: nil) ⇒ CompositeComponentTypeProperty
constructor
A new instance of CompositeComponentTypeProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(component_type_id: nil) ⇒ CompositeComponentTypeProperty
Returns a new instance of CompositeComponentTypeProperty.
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_id ⇒ String? (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_properties ⇒ Object
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_jsii ⇒ Object
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 |