Class: AWSCDK::IoTTwinMaker::CfnComponentType::PropertyGroupProperty

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

Overview

The property group.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(group_type: nil, property_names: nil) ⇒ PropertyGroupProperty

Returns a new instance of PropertyGroupProperty.

Parameters:

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

    The group type.

  • property_names (Array<String>, nil) (defaults to: nil)

    The property names.



1182
1183
1184
1185
1186
1187
# File 'io_t_twin_maker/cfn_component_type.rb', line 1182

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_typeString? (readonly)

The group type.



1193
1194
1195
# File 'io_t_twin_maker/cfn_component_type.rb', line 1193

def group_type
  @group_type
end

#property_namesArray<String>? (readonly)

The property names.



1198
1199
1200
# File 'io_t_twin_maker/cfn_component_type.rb', line 1198

def property_names
  @property_names
end

Class Method Details

.jsii_propertiesObject



1200
1201
1202
1203
1204
1205
# File 'io_t_twin_maker/cfn_component_type.rb', line 1200

def self.jsii_properties
  {
    :group_type => "groupType",
    :property_names => "propertyNames",
  }
end

Instance Method Details

#to_jsiiObject



1207
1208
1209
1210
1211
1212
1213
1214
# File 'io_t_twin_maker/cfn_component_type.rb', line 1207

def to_jsii
  result = {}
  result.merge!({
    "groupType" => @group_type,
    "propertyNames" => @property_names,
  })
  result.compact
end