Class: AWSCDK::IoTFleetWise::CfnDecoderManifest::CanSignalDecoderProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoTFleetWise::CfnDecoderManifest::CanSignalDecoderProperty
- Defined in:
- io_t_fleet_wise/cfn_decoder_manifest.rb
Overview
Information about signal decoder using the Controller Area Network (CAN) protocol.
Instance Attribute Summary collapse
-
#can_signal ⇒ AWSCDK::IResolvable, AWSCDK::IoTFleetWise::CfnDecoderManifest::CanSignalProperty
readonly
Information about a single controller area network (CAN) signal and the messages it receives and transmits.
-
#fully_qualified_name ⇒ String
readonly
The fully qualified name of a signal decoder as defined in a vehicle model.
-
#interface_id ⇒ String
readonly
The ID of a network interface that specifies what network protocol a vehicle follows.
-
#type ⇒ String
readonly
The network protocol for the vehicle.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(can_signal:, fully_qualified_name:, interface_id:, type:) ⇒ CanSignalDecoderProperty
constructor
A new instance of CanSignalDecoderProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(can_signal:, fully_qualified_name:, interface_id:, type:) ⇒ CanSignalDecoderProperty
Returns a new instance of CanSignalDecoderProperty.
748 749 750 751 752 753 754 755 756 757 |
# File 'io_t_fleet_wise/cfn_decoder_manifest.rb', line 748 def initialize(can_signal:, fully_qualified_name:, interface_id:, type:) @can_signal = can_signal.is_a?(Hash) ? ::AWSCDK::IoTFleetWise::CfnDecoderManifest::CanSignalProperty.new(**can_signal.transform_keys(&:to_sym)) : can_signal Jsii::Type.check_type(@can_signal, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19pb3RmbGVldHdpc2UuQ2ZuRGVjb2Rlck1hbmlmZXN0LkNhblNpZ25hbFByb3BlcnR5In1dfX0=")), "canSignal") @fully_qualified_name = fully_qualified_name Jsii::Type.check_type(@fully_qualified_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "fullyQualifiedName") @interface_id = interface_id Jsii::Type.check_type(@interface_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "interfaceId") @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") end |
Instance Attribute Details
#can_signal ⇒ AWSCDK::IResolvable, AWSCDK::IoTFleetWise::CfnDecoderManifest::CanSignalProperty (readonly)
Information about a single controller area network (CAN) signal and the messages it receives and transmits.
763 764 765 |
# File 'io_t_fleet_wise/cfn_decoder_manifest.rb', line 763 def can_signal @can_signal end |
#fully_qualified_name ⇒ String (readonly)
The fully qualified name of a signal decoder as defined in a vehicle model.
768 769 770 |
# File 'io_t_fleet_wise/cfn_decoder_manifest.rb', line 768 def fully_qualified_name @fully_qualified_name end |
#interface_id ⇒ String (readonly)
The ID of a network interface that specifies what network protocol a vehicle follows.
773 774 775 |
# File 'io_t_fleet_wise/cfn_decoder_manifest.rb', line 773 def interface_id @interface_id end |
#type ⇒ String (readonly)
The network protocol for the vehicle.
For example, CAN_SIGNAL specifies a protocol that defines how data is communicated between electronic control units (ECUs). OBD_SIGNAL specifies a protocol that defines how self-diagnostic data is communicated between ECUs.
780 781 782 |
# File 'io_t_fleet_wise/cfn_decoder_manifest.rb', line 780 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
782 783 784 785 786 787 788 789 |
# File 'io_t_fleet_wise/cfn_decoder_manifest.rb', line 782 def self.jsii_properties { :can_signal => "canSignal", :fully_qualified_name => "fullyQualifiedName", :interface_id => "interfaceId", :type => "type", } end |
Instance Method Details
#to_jsii ⇒ Object
791 792 793 794 795 796 797 798 799 800 |
# File 'io_t_fleet_wise/cfn_decoder_manifest.rb', line 791 def to_jsii result = {} result.merge!({ "canSignal" => @can_signal, "fullyQualifiedName" => @fully_qualified_name, "interfaceId" => @interface_id, "type" => @type, }) result.compact end |