Class: AWSCDK::GroundStation::CfnConfig::FrequencyProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::GroundStation::CfnConfig::FrequencyProperty
- Defined in:
- ground_station/cfn_config.rb
Overview
Defines a frequency.
Instance Attribute Summary collapse
-
#units ⇒ String?
readonly
The units of the frequency.
-
#value ⇒ Numeric?
readonly
The value of the frequency.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(units: nil, value: nil) ⇒ FrequencyProperty
constructor
A new instance of FrequencyProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(units: nil, value: nil) ⇒ FrequencyProperty
Returns a new instance of FrequencyProperty.
1026 1027 1028 1029 1030 1031 |
# File 'ground_station/cfn_config.rb', line 1026 def initialize(units: nil, value: nil) @units = units Jsii::Type.check_type(@units, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "units") unless @units.nil? @value = value Jsii::Type.check_type(@value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "value") unless @value.nil? end |
Instance Attribute Details
#units ⇒ String? (readonly)
The units of the frequency.
1037 1038 1039 |
# File 'ground_station/cfn_config.rb', line 1037 def units @units end |
#value ⇒ Numeric? (readonly)
The value of the frequency.
Valid values are between 2200 to 2300 MHz and 7750 to 8400 MHz for downlink and 2025 to 2120 MHz for uplink.
1044 1045 1046 |
# File 'ground_station/cfn_config.rb', line 1044 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
1046 1047 1048 1049 1050 1051 |
# File 'ground_station/cfn_config.rb', line 1046 def self.jsii_properties { :units => "units", :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
1053 1054 1055 1056 1057 1058 1059 1060 |
# File 'ground_station/cfn_config.rb', line 1053 def to_jsii result = {} result.merge!({ "units" => @units, "value" => @value, }) result.compact end |