Class: AWSCDK::IoTWireless::CfnTaskDefinition::LoRaWANGatewayVersionProperty

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

Overview

LoRaWANGatewayVersion object.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(model: nil, package_version: nil, station: nil) ⇒ LoRaWANGatewayVersionProperty

Returns a new instance of LoRaWANGatewayVersionProperty.

Parameters:

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

    The model number of the wireless gateway.

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

    The version of the wireless gateway firmware.

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

    The basic station version of the wireless gateway.



594
595
596
597
598
599
600
601
# File 'io_t_wireless/cfn_task_definition.rb', line 594

def initialize(model: nil, package_version: nil, station: nil)
  @model = model
  Jsii::Type.check_type(@model, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "model") unless @model.nil?
  @package_version = package_version
  Jsii::Type.check_type(@package_version, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "packageVersion") unless @package_version.nil?
  @station = station
  Jsii::Type.check_type(@station, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "station") unless @station.nil?
end

Instance Attribute Details

#modelString? (readonly)

The model number of the wireless gateway.



607
608
609
# File 'io_t_wireless/cfn_task_definition.rb', line 607

def model
  @model
end

#package_versionString? (readonly)

The version of the wireless gateway firmware.



612
613
614
# File 'io_t_wireless/cfn_task_definition.rb', line 612

def package_version
  @package_version
end

#stationString? (readonly)

The basic station version of the wireless gateway.



617
618
619
# File 'io_t_wireless/cfn_task_definition.rb', line 617

def station
  @station
end

Class Method Details

.jsii_propertiesObject



619
620
621
622
623
624
625
# File 'io_t_wireless/cfn_task_definition.rb', line 619

def self.jsii_properties
  {
    :model => "model",
    :package_version => "packageVersion",
    :station => "station",
  }
end

Instance Method Details

#to_jsiiObject



627
628
629
630
631
632
633
634
635
# File 'io_t_wireless/cfn_task_definition.rb', line 627

def to_jsii
  result = {}
  result.merge!({
    "model" => @model,
    "packageVersion" => @package_version,
    "station" => @station,
  })
  result.compact
end