Class: AWSCDK::GroundStation::CfnConfig::FrequencyProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
ground_station/cfn_config.rb

Overview

Defines a frequency.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(units: nil, value: nil) ⇒ FrequencyProperty

Returns a new instance of FrequencyProperty.

Parameters:

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

    The units of the frequency.

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

    The value of the frequency.



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

#unitsString? (readonly)

The units of the frequency.



1037
1038
1039
# File 'ground_station/cfn_config.rb', line 1037

def units
  @units
end

#valueNumeric? (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_propertiesObject



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_jsiiObject



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