Class: AWSCDK::IoTTwinMaker::CfnEntity::PropertyGroupProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoTTwinMaker::CfnEntity::PropertyGroupProperty
- Defined in:
- io_t_twin_maker/cfn_entity.rb
Overview
The property group.
Instance Attribute Summary collapse
-
#group_type ⇒ String?
readonly
The group type.
-
#property_names ⇒ Array<String>?
readonly
The property names.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(group_type: nil, property_names: nil) ⇒ PropertyGroupProperty
constructor
A new instance of PropertyGroupProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(group_type: nil, property_names: nil) ⇒ PropertyGroupProperty
Returns a new instance of PropertyGroupProperty.
1206 1207 1208 1209 1210 1211 |
# File 'io_t_twin_maker/cfn_entity.rb', line 1206 def initialize(group_type: nil, property_names: nil) @group_type = group_type Jsii::Type.check_type(@group_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "groupType") unless @group_type.nil? @property_names = property_names Jsii::Type.check_type(@property_names, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "propertyNames") unless @property_names.nil? end |
Instance Attribute Details
#group_type ⇒ String? (readonly)
The group type.
1217 1218 1219 |
# File 'io_t_twin_maker/cfn_entity.rb', line 1217 def group_type @group_type end |
#property_names ⇒ Array<String>? (readonly)
The property names.
1222 1223 1224 |
# File 'io_t_twin_maker/cfn_entity.rb', line 1222 def property_names @property_names end |
Class Method Details
.jsii_properties ⇒ Object
1224 1225 1226 1227 1228 1229 |
# File 'io_t_twin_maker/cfn_entity.rb', line 1224 def self.jsii_properties { :group_type => "groupType", :property_names => "propertyNames", } end |
Instance Method Details
#to_jsii ⇒ Object
1231 1232 1233 1234 1235 1236 1237 1238 |
# File 'io_t_twin_maker/cfn_entity.rb', line 1231 def to_jsii result = {} result.merge!({ "groupType" => @group_type, "propertyNames" => @property_names, }) result.compact end |