Class: AWSCDK::IoTFleetWise::CfnDecoderManifest::NetworkInterfacesItemsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoTFleetWise::CfnDecoderManifest::NetworkInterfacesItemsProperty
- Defined in:
- io_t_fleet_wise/cfn_decoder_manifest.rb
Overview
A list of information about available network interfaces.
Instance Attribute Summary collapse
- #can_interface ⇒ AWSCDK::IResolvable, ... readonly
- #interface_id ⇒ String readonly
- #obd_interface ⇒ AWSCDK::IResolvable, ... readonly
- #type ⇒ String readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(interface_id:, type:, can_interface: nil, obd_interface: nil) ⇒ NetworkInterfacesItemsProperty
constructor
A new instance of NetworkInterfacesItemsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(interface_id:, type:, can_interface: nil, obd_interface: nil) ⇒ NetworkInterfacesItemsProperty
Returns a new instance of NetworkInterfacesItemsProperty.
930 931 932 933 934 935 936 937 938 939 |
# File 'io_t_fleet_wise/cfn_decoder_manifest.rb', line 930 def initialize(interface_id:, type:, can_interface: nil, obd_interface: nil) @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") @can_interface = can_interface.is_a?(Hash) ? ::AWSCDK::IoTFleetWise::CfnDecoderManifest::CanInterfaceProperty.new(**can_interface.transform_keys(&:to_sym)) : can_interface Jsii::Type.check_type(@can_interface, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19pb3RmbGVldHdpc2UuQ2ZuRGVjb2Rlck1hbmlmZXN0LkNhbkludGVyZmFjZVByb3BlcnR5In1dfX0=")), "canInterface") unless @can_interface.nil? @obd_interface = obd_interface.is_a?(Hash) ? ::AWSCDK::IoTFleetWise::CfnDecoderManifest::ObdInterfaceProperty.new(**obd_interface.transform_keys(&:to_sym)) : obd_interface Jsii::Type.check_type(@obd_interface, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19pb3RmbGVldHdpc2UuQ2ZuRGVjb2Rlck1hbmlmZXN0Lk9iZEludGVyZmFjZVByb3BlcnR5In1dfX0=")), "obdInterface") unless @obd_interface.nil? end |
Instance Attribute Details
#can_interface ⇒ AWSCDK::IResolvable, ... (readonly)
949 950 951 |
# File 'io_t_fleet_wise/cfn_decoder_manifest.rb', line 949 def can_interface @can_interface end |
#interface_id ⇒ String (readonly)
943 944 945 |
# File 'io_t_fleet_wise/cfn_decoder_manifest.rb', line 943 def interface_id @interface_id end |
#obd_interface ⇒ AWSCDK::IResolvable, ... (readonly)
952 953 954 |
# File 'io_t_fleet_wise/cfn_decoder_manifest.rb', line 952 def obd_interface @obd_interface end |
#type ⇒ String (readonly)
946 947 948 |
# File 'io_t_fleet_wise/cfn_decoder_manifest.rb', line 946 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
954 955 956 957 958 959 960 961 |
# File 'io_t_fleet_wise/cfn_decoder_manifest.rb', line 954 def self.jsii_properties { :interface_id => "interfaceId", :type => "type", :can_interface => "canInterface", :obd_interface => "obdInterface", } end |
Instance Method Details
#to_jsii ⇒ Object
963 964 965 966 967 968 969 970 971 972 |
# File 'io_t_fleet_wise/cfn_decoder_manifest.rb', line 963 def to_jsii result = {} result.merge!({ "interfaceId" => @interface_id, "type" => @type, "canInterface" => @can_interface, "obdInterface" => @obd_interface, }) result.compact end |