Class: AWSCDK::IoTWireless::CfnServiceProfile::LoRaWANServiceProfileProperty

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

Overview

LoRaWANServiceProfile object.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(add_gw_metadata: nil, channel_mask: nil, dev_status_req_freq: nil, dl_bucket_size: nil, dl_rate: nil, dl_rate_policy: nil, dr_max: nil, dr_min: nil, hr_allowed: nil, min_gw_diversity: nil, nwk_geo_loc: nil, pr_allowed: nil, ra_allowed: nil, report_dev_status_battery: nil, report_dev_status_margin: nil, target_per: nil, ul_bucket_size: nil, ul_rate: nil, ul_rate_policy: nil) ⇒ LoRaWANServiceProfileProperty

Returns a new instance of LoRaWANServiceProfileProperty.

Parameters:

  • add_gw_metadata (Boolean, AWSCDK::IResolvable, nil) (defaults to: nil)

    The AddGWMetaData value.

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

    The ChannelMask value.

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

    The DevStatusReqFreq value.

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

    The DLBucketSize value.

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

    The DLRate value.

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

    The DLRatePolicy value.

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

    The DRMax value.

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

    The DRMin value.

  • hr_allowed (Boolean, AWSCDK::IResolvable, nil) (defaults to: nil)

    The HRAllowed value that describes whether handover roaming is allowed.

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

    The MinGwDiversity value.

  • nwk_geo_loc (Boolean, AWSCDK::IResolvable, nil) (defaults to: nil)

    The NwkGeoLoc value.

  • pr_allowed (Boolean, AWSCDK::IResolvable, nil) (defaults to: nil)

    The PRAllowed value that describes whether passive roaming is allowed.

  • ra_allowed (Boolean, AWSCDK::IResolvable, nil) (defaults to: nil)

    The RAAllowed value that describes whether roaming activation is allowed.

  • report_dev_status_battery (Boolean, AWSCDK::IResolvable, nil) (defaults to: nil)

    The ReportDevStatusBattery value.

  • report_dev_status_margin (Boolean, AWSCDK::IResolvable, nil) (defaults to: nil)

    The ReportDevStatusMargin value.

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

    The TargetPer value.

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

    The UlBucketSize value.

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

    The ULRate value.

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

    The ULRatePolicy value.



730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
# File 'io_t_wireless/cfn_service_profile.rb', line 730

def initialize(add_gw_metadata: nil, channel_mask: nil, dev_status_req_freq: nil, dl_bucket_size: nil, dl_rate: nil, dl_rate_policy: nil, dr_max: nil, dr_min: nil, hr_allowed: nil, min_gw_diversity: nil, nwk_geo_loc: nil, pr_allowed: nil, ra_allowed: nil, report_dev_status_battery: nil, report_dev_status_margin: nil, target_per: nil, ul_bucket_size: nil, ul_rate: nil, ul_rate_policy: nil)
  @add_gw_metadata = 
  Jsii::Type.check_type(@add_gw_metadata, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "addGwMetadata") unless @add_gw_metadata.nil?
  @channel_mask = channel_mask
  Jsii::Type.check_type(@channel_mask, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "channelMask") unless @channel_mask.nil?
  @dev_status_req_freq = dev_status_req_freq
  Jsii::Type.check_type(@dev_status_req_freq, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "devStatusReqFreq") unless @dev_status_req_freq.nil?
  @dl_bucket_size = dl_bucket_size
  Jsii::Type.check_type(@dl_bucket_size, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "dlBucketSize") unless @dl_bucket_size.nil?
  @dl_rate = dl_rate
  Jsii::Type.check_type(@dl_rate, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "dlRate") unless @dl_rate.nil?
  @dl_rate_policy = dl_rate_policy
  Jsii::Type.check_type(@dl_rate_policy, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "dlRatePolicy") unless @dl_rate_policy.nil?
  @dr_max = dr_max
  Jsii::Type.check_type(@dr_max, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "drMax") unless @dr_max.nil?
  @dr_min = dr_min
  Jsii::Type.check_type(@dr_min, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "drMin") unless @dr_min.nil?
  @hr_allowed = hr_allowed
  Jsii::Type.check_type(@hr_allowed, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "hrAllowed") unless @hr_allowed.nil?
  @min_gw_diversity = min_gw_diversity
  Jsii::Type.check_type(@min_gw_diversity, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "minGwDiversity") unless @min_gw_diversity.nil?
  @nwk_geo_loc = nwk_geo_loc
  Jsii::Type.check_type(@nwk_geo_loc, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "nwkGeoLoc") unless @nwk_geo_loc.nil?
  @pr_allowed = pr_allowed
  Jsii::Type.check_type(@pr_allowed, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "prAllowed") unless @pr_allowed.nil?
  @ra_allowed = ra_allowed
  Jsii::Type.check_type(@ra_allowed, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "raAllowed") unless @ra_allowed.nil?
  @report_dev_status_battery = report_dev_status_battery
  Jsii::Type.check_type(@report_dev_status_battery, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "reportDevStatusBattery") unless @report_dev_status_battery.nil?
  @report_dev_status_margin = report_dev_status_margin
  Jsii::Type.check_type(@report_dev_status_margin, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "reportDevStatusMargin") unless @report_dev_status_margin.nil?
  @target_per = target_per
  Jsii::Type.check_type(@target_per, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "targetPer") unless @target_per.nil?
  @ul_bucket_size = ul_bucket_size
  Jsii::Type.check_type(@ul_bucket_size, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "ulBucketSize") unless @ul_bucket_size.nil?
  @ul_rate = ul_rate
  Jsii::Type.check_type(@ul_rate, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "ulRate") unless @ul_rate.nil?
  @ul_rate_policy = ul_rate_policy
  Jsii::Type.check_type(@ul_rate_policy, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "ulRatePolicy") unless @ul_rate_policy.nil?
end

Instance Attribute Details

#add_gw_metadataBoolean, ... (readonly)

The AddGWMetaData value.



775
776
777
# File 'io_t_wireless/cfn_service_profile.rb', line 775

def 
  @add_gw_metadata
end

#channel_maskString? (readonly)

The ChannelMask value.

This property is ReadOnly and can't be inputted for create. It's returned with Fn::GetAtt



782
783
784
# File 'io_t_wireless/cfn_service_profile.rb', line 782

def channel_mask
  @channel_mask
end

#dev_status_req_freqNumeric? (readonly)

The DevStatusReqFreq value.

This property is ReadOnly and can't be inputted for create. It's returned with Fn::GetAtt



789
790
791
# File 'io_t_wireless/cfn_service_profile.rb', line 789

def dev_status_req_freq
  @dev_status_req_freq
end

#dl_bucket_sizeNumeric? (readonly)

The DLBucketSize value.

This property is ReadOnly and can't be inputted for create. It's returned with Fn::GetAtt



796
797
798
# File 'io_t_wireless/cfn_service_profile.rb', line 796

def dl_bucket_size
  @dl_bucket_size
end

#dl_rateNumeric? (readonly)

The DLRate value.

This property is ReadOnly and can't be inputted for create. It's returned with Fn::GetAtt



803
804
805
# File 'io_t_wireless/cfn_service_profile.rb', line 803

def dl_rate
  @dl_rate
end

#dl_rate_policyString? (readonly)

The DLRatePolicy value.

This property is ReadOnly and can't be inputted for create. It's returned with Fn::GetAtt



810
811
812
# File 'io_t_wireless/cfn_service_profile.rb', line 810

def dl_rate_policy
  @dl_rate_policy
end

#dr_maxNumeric? (readonly)

The DRMax value.

This property is ReadOnly and can't be inputted for create. It's returned with Fn::GetAtt



817
818
819
# File 'io_t_wireless/cfn_service_profile.rb', line 817

def dr_max
  @dr_max
end

#dr_minNumeric? (readonly)

The DRMin value.

This property is ReadOnly and can't be inputted for create. It's returned with Fn::GetAtt



824
825
826
# File 'io_t_wireless/cfn_service_profile.rb', line 824

def dr_min
  @dr_min
end

#hr_allowedBoolean, ... (readonly)

The HRAllowed value that describes whether handover roaming is allowed.

This property is ReadOnly and can't be inputted for create. It's returned with Fn::GetAtt



831
832
833
# File 'io_t_wireless/cfn_service_profile.rb', line 831

def hr_allowed
  @hr_allowed
end

#min_gw_diversityNumeric? (readonly)

The MinGwDiversity value.

This property is ReadOnly and can't be inputted for create. It's returned with Fn::GetAtt



838
839
840
# File 'io_t_wireless/cfn_service_profile.rb', line 838

def min_gw_diversity
  @min_gw_diversity
end

#nwk_geo_locBoolean, ... (readonly)

The NwkGeoLoc value.

This property is ReadOnly and can't be inputted for create. It's returned with Fn::GetAtt



845
846
847
# File 'io_t_wireless/cfn_service_profile.rb', line 845

def nwk_geo_loc
  @nwk_geo_loc
end

#pr_allowedBoolean, ... (readonly)

The PRAllowed value that describes whether passive roaming is allowed.

This property is ReadOnly and can't be inputted for create. It's returned with Fn::GetAtt



852
853
854
# File 'io_t_wireless/cfn_service_profile.rb', line 852

def pr_allowed
  @pr_allowed
end

#ra_allowedBoolean, ... (readonly)

The RAAllowed value that describes whether roaming activation is allowed.



857
858
859
# File 'io_t_wireless/cfn_service_profile.rb', line 857

def ra_allowed
  @ra_allowed
end

#report_dev_status_batteryBoolean, ... (readonly)

The ReportDevStatusBattery value.

This property is ReadOnly and can't be inputted for create. It's returned with Fn::GetAtt



864
865
866
# File 'io_t_wireless/cfn_service_profile.rb', line 864

def report_dev_status_battery
  @report_dev_status_battery
end

#report_dev_status_marginBoolean, ... (readonly)

The ReportDevStatusMargin value.

This property is ReadOnly and can't be inputted for create. It's returned with Fn::GetAtt



871
872
873
# File 'io_t_wireless/cfn_service_profile.rb', line 871

def report_dev_status_margin
  @report_dev_status_margin
end

#target_perNumeric? (readonly)

The TargetPer value.

This property is ReadOnly and can't be inputted for create. It's returned with Fn::GetAtt



878
879
880
# File 'io_t_wireless/cfn_service_profile.rb', line 878

def target_per
  @target_per
end

#ul_bucket_sizeNumeric? (readonly)

The UlBucketSize value.

This property is ReadOnly and can't be inputted for create. It's returned with Fn::GetAtt



885
886
887
# File 'io_t_wireless/cfn_service_profile.rb', line 885

def ul_bucket_size
  @ul_bucket_size
end

#ul_rateNumeric? (readonly)

The ULRate value.

This property is ReadOnly and can't be inputted for create. It's returned with Fn::GetAtt



892
893
894
# File 'io_t_wireless/cfn_service_profile.rb', line 892

def ul_rate
  @ul_rate
end

#ul_rate_policyString? (readonly)

The ULRatePolicy value.

This property is ReadOnly and can't be inputted for create. It's returned with Fn::GetAtt



899
900
901
# File 'io_t_wireless/cfn_service_profile.rb', line 899

def ul_rate_policy
  @ul_rate_policy
end

Class Method Details

.jsii_propertiesObject



901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
# File 'io_t_wireless/cfn_service_profile.rb', line 901

def self.jsii_properties
  {
    :add_gw_metadata => "addGwMetadata",
    :channel_mask => "channelMask",
    :dev_status_req_freq => "devStatusReqFreq",
    :dl_bucket_size => "dlBucketSize",
    :dl_rate => "dlRate",
    :dl_rate_policy => "dlRatePolicy",
    :dr_max => "drMax",
    :dr_min => "drMin",
    :hr_allowed => "hrAllowed",
    :min_gw_diversity => "minGwDiversity",
    :nwk_geo_loc => "nwkGeoLoc",
    :pr_allowed => "prAllowed",
    :ra_allowed => "raAllowed",
    :report_dev_status_battery => "reportDevStatusBattery",
    :report_dev_status_margin => "reportDevStatusMargin",
    :target_per => "targetPer",
    :ul_bucket_size => "ulBucketSize",
    :ul_rate => "ulRate",
    :ul_rate_policy => "ulRatePolicy",
  }
end

Instance Method Details

#to_jsiiObject



925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
# File 'io_t_wireless/cfn_service_profile.rb', line 925

def to_jsii
  result = {}
  result.merge!({
    "addGwMetadata" => @add_gw_metadata,
    "channelMask" => @channel_mask,
    "devStatusReqFreq" => @dev_status_req_freq,
    "dlBucketSize" => @dl_bucket_size,
    "dlRate" => @dl_rate,
    "dlRatePolicy" => @dl_rate_policy,
    "drMax" => @dr_max,
    "drMin" => @dr_min,
    "hrAllowed" => @hr_allowed,
    "minGwDiversity" => @min_gw_diversity,
    "nwkGeoLoc" => @nwk_geo_loc,
    "prAllowed" => @pr_allowed,
    "raAllowed" => @ra_allowed,
    "reportDevStatusBattery" => @report_dev_status_battery,
    "reportDevStatusMargin" => @report_dev_status_margin,
    "targetPer" => @target_per,
    "ulBucketSize" => @ul_bucket_size,
    "ulRate" => @ul_rate,
    "ulRatePolicy" => @ul_rate_policy,
  })
  result.compact
end