Class: AWSCDK::IoTWireless::CfnWirelessDevice::OtaaV10xProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoTWireless::CfnWirelessDevice::OtaaV10xProperty
- Defined in:
- io_t_wireless/cfn_wireless_device.rb
Overview
OTAA device object for v1.0.x.
Instance Attribute Summary collapse
-
#app_eui ⇒ String
readonly
The AppEUI value.
-
#app_key ⇒ String
readonly
The AppKey value.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(app_eui:, app_key:) ⇒ OtaaV10xProperty
constructor
A new instance of OtaaV10xProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(app_eui:, app_key:) ⇒ OtaaV10xProperty
Returns a new instance of OtaaV10xProperty.
942 943 944 945 946 947 |
# File 'io_t_wireless/cfn_wireless_device.rb', line 942 def initialize(app_eui:, app_key:) @app_eui = app_eui Jsii::Type.check_type(@app_eui, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "appEui") @app_key = app_key Jsii::Type.check_type(@app_key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "appKey") end |
Instance Attribute Details
#app_eui ⇒ String (readonly)
The AppEUI value.
You specify this value when using LoRaWAN versions v1.0.2 or v1.0.3.
955 956 957 |
# File 'io_t_wireless/cfn_wireless_device.rb', line 955 def app_eui @app_eui end |
#app_key ⇒ String (readonly)
The AppKey value.
960 961 962 |
# File 'io_t_wireless/cfn_wireless_device.rb', line 960 def app_key @app_key end |
Class Method Details
.jsii_properties ⇒ Object
962 963 964 965 966 967 |
# File 'io_t_wireless/cfn_wireless_device.rb', line 962 def self.jsii_properties { :app_eui => "appEui", :app_key => "appKey", } end |
Instance Method Details
#to_jsii ⇒ Object
969 970 971 972 973 974 975 976 |
# File 'io_t_wireless/cfn_wireless_device.rb', line 969 def to_jsii result = {} result.merge!({ "appEui" => @app_eui, "appKey" => @app_key, }) result.compact end |