Class: AWSCDK::GroundStation::CfnConfig::SpectrumConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::GroundStation::CfnConfig::SpectrumConfigProperty
- Defined in:
- ground_station/cfn_config.rb
Overview
Defines a spectrum.
Instance Attribute Summary collapse
-
#bandwidth ⇒ AWSCDK::IResolvable, ...
readonly
The bandwidth of the spectrum.
-
#center_frequency ⇒ AWSCDK::IResolvable, ...
readonly
The center frequency of the spectrum.
-
#polarization ⇒ String?
readonly
The polarization of the spectrum.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(bandwidth: nil, center_frequency: nil, polarization: nil) ⇒ SpectrumConfigProperty
constructor
A new instance of SpectrumConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(bandwidth: nil, center_frequency: nil, polarization: nil) ⇒ SpectrumConfigProperty
Returns a new instance of SpectrumConfigProperty.
1168 1169 1170 1171 1172 1173 1174 1175 |
# File 'ground_station/cfn_config.rb', line 1168 def initialize(bandwidth: nil, center_frequency: nil, polarization: nil) @bandwidth = bandwidth.is_a?(Hash) ? ::AWSCDK::GroundStation::CfnConfig::FrequencyBandwidthProperty.new(**bandwidth.transform_keys(&:to_sym)) : bandwidth Jsii::Type.check_type(@bandwidth, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19ncm91bmRzdGF0aW9uLkNmbkNvbmZpZy5GcmVxdWVuY3lCYW5kd2lkdGhQcm9wZXJ0eSJ9XX19")), "bandwidth") unless @bandwidth.nil? @center_frequency = center_frequency.is_a?(Hash) ? ::AWSCDK::GroundStation::CfnConfig::FrequencyProperty.new(**center_frequency.transform_keys(&:to_sym)) : center_frequency Jsii::Type.check_type(@center_frequency, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19ncm91bmRzdGF0aW9uLkNmbkNvbmZpZy5GcmVxdWVuY3lQcm9wZXJ0eSJ9XX19")), "centerFrequency") unless @center_frequency.nil? @polarization = polarization Jsii::Type.check_type(@polarization, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "polarization") unless @polarization.nil? end |
Instance Attribute Details
#bandwidth ⇒ AWSCDK::IResolvable, ... (readonly)
The bandwidth of the spectrum. AWS Ground Station currently has the following bandwidth limitations:.
- For
AntennaDownlinkDemodDecodeconfig, valid values are between 125 kHz to 650 MHz. - For
AntennaDownlinkconfig, valid values are between 10 kHz to 54 MHz. - For
AntennaUplinkConfig, valid values are between 10 kHz to 54 MHz.
1185 1186 1187 |
# File 'ground_station/cfn_config.rb', line 1185 def bandwidth @bandwidth end |
#center_frequency ⇒ AWSCDK::IResolvable, ... (readonly)
The center frequency of the spectrum.
Valid values are between 2200 to 2300 MHz and 7750 to 8400 MHz for downlink and 2025 to 2120 MHz for uplink.
1192 1193 1194 |
# File 'ground_station/cfn_config.rb', line 1192 def center_frequency @center_frequency end |
#polarization ⇒ String? (readonly)
The polarization of the spectrum.
Valid values are "RIGHT_HAND" and "LEFT_HAND" . Capturing both "RIGHT_HAND" and "LEFT_HAND" polarization requires two separate configs.
1199 1200 1201 |
# File 'ground_station/cfn_config.rb', line 1199 def polarization @polarization end |
Class Method Details
.jsii_properties ⇒ Object
1201 1202 1203 1204 1205 1206 1207 |
# File 'ground_station/cfn_config.rb', line 1201 def self.jsii_properties { :bandwidth => "bandwidth", :center_frequency => "centerFrequency", :polarization => "polarization", } end |
Instance Method Details
#to_jsii ⇒ Object
1209 1210 1211 1212 1213 1214 1215 1216 1217 |
# File 'ground_station/cfn_config.rb', line 1209 def to_jsii result = {} result.merge!({ "bandwidth" => @bandwidth, "centerFrequency" => @center_frequency, "polarization" => @polarization, }) result.compact end |