Class: AWSCDK::IoT::CfnThingType::Mqtt5ConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoT::CfnThingType::Mqtt5ConfigurationProperty
- Defined in:
- io_t/cfn_thing_type.rb
Overview
The configuration to add user-defined properties to enrich MQTT 5 messages.
Instance Attribute Summary collapse
-
#propagating_attributes ⇒ AWSCDK::IResolvable, ...
readonly
An object that represents the connection attribute, the thing attribute, and the MQTT 5 user property key.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(propagating_attributes: nil) ⇒ Mqtt5ConfigurationProperty
constructor
A new instance of Mqtt5ConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(propagating_attributes: nil) ⇒ Mqtt5ConfigurationProperty
Returns a new instance of Mqtt5ConfigurationProperty.
593 594 595 596 |
# File 'io_t/cfn_thing_type.rb', line 593 def initialize(propagating_attributes: nil) @propagating_attributes = propagating_attributes Jsii::Type.check_type(@propagating_attributes, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfaW90LkNmblRoaW5nVHlwZS5Qcm9wYWdhdGluZ0F0dHJpYnV0ZVByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "propagatingAttributes") unless @propagating_attributes.nil? end |
Instance Attribute Details
#propagating_attributes ⇒ AWSCDK::IResolvable, ... (readonly)
An object that represents the connection attribute, the thing attribute, and the MQTT 5 user property key.
602 603 604 |
# File 'io_t/cfn_thing_type.rb', line 602 def propagating_attributes @propagating_attributes end |
Class Method Details
.jsii_properties ⇒ Object
604 605 606 607 608 |
# File 'io_t/cfn_thing_type.rb', line 604 def self.jsii_properties { :propagating_attributes => "propagatingAttributes", } end |
Instance Method Details
#to_jsii ⇒ Object
610 611 612 613 614 615 616 |
# File 'io_t/cfn_thing_type.rb', line 610 def to_jsii result = {} result.merge!({ "propagatingAttributes" => @propagating_attributes, }) result.compact end |