Class: AWSCDK::IoTWireless::CfnWirelessDevice::OtaaV10xProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
io_t_wireless/cfn_wireless_device.rb

Overview

OTAA device object for v1.0.x.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(app_eui:, app_key:) ⇒ OtaaV10xProperty

Returns a new instance of OtaaV10xProperty.

Parameters:

  • app_eui (String)

    The AppEUI value.

  • app_key (String)

    The AppKey value.



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_euiString (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_keyString (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_propertiesObject



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_jsiiObject



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