Class: AWSCDK::IoTWireless::CfnWirelessDevice::ApplicationProperty

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

Overview

A list of optional LoRaWAN application information, which can be used for geolocation.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(destination_name: nil, f_port: nil, type: nil) ⇒ ApplicationProperty

Returns a new instance of ApplicationProperty.

Parameters:

  • destination_name (String, nil) (defaults to: nil)

    The name of the position data destination that describes the IoT rule that processes the device's position data.

  • f_port (Numeric, nil) (defaults to: nil)

    The name of the new destination for the device.

  • type (String, nil) (defaults to: nil)

    Application type, which can be specified to obtain real-time position information of your LoRaWAN device.



754
755
756
757
758
759
760
761
# File 'io_t_wireless/cfn_wireless_device.rb', line 754

def initialize(destination_name: nil, f_port: nil, type: nil)
  @destination_name = destination_name
  Jsii::Type.check_type(@destination_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "destinationName") unless @destination_name.nil?
  @f_port = f_port
  Jsii::Type.check_type(@f_port, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "fPort") unless @f_port.nil?
  @type = type
  Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") unless @type.nil?
end

Instance Attribute Details

#destination_nameString? (readonly)

The name of the position data destination that describes the IoT rule that processes the device's position data.



767
768
769
# File 'io_t_wireless/cfn_wireless_device.rb', line 767

def destination_name
  @destination_name
end

#f_portNumeric? (readonly)

The name of the new destination for the device.



772
773
774
# File 'io_t_wireless/cfn_wireless_device.rb', line 772

def f_port
  @f_port
end

#typeString? (readonly)

Application type, which can be specified to obtain real-time position information of your LoRaWAN device.



777
778
779
# File 'io_t_wireless/cfn_wireless_device.rb', line 777

def type
  @type
end

Class Method Details

.jsii_propertiesObject



779
780
781
782
783
784
785
# File 'io_t_wireless/cfn_wireless_device.rb', line 779

def self.jsii_properties
  {
    :destination_name => "destinationName",
    :f_port => "fPort",
    :type => "type",
  }
end

Instance Method Details

#to_jsiiObject



787
788
789
790
791
792
793
794
795
# File 'io_t_wireless/cfn_wireless_device.rb', line 787

def to_jsii
  result = {}
  result.merge!({
    "destinationName" => @destination_name,
    "fPort" => @f_port,
    "type" => @type,
  })
  result.compact
end