Class: AWSCDK::GroundStation::CfnConfig::EirpProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::GroundStation::CfnConfig::EirpProperty
- Defined in:
- ground_station/cfn_config.rb
Overview
Defines an equivalent isotropically radiated power (EIRP).
Instance Attribute Summary collapse
-
#units ⇒ String?
readonly
The units of the EIRP.
-
#value ⇒ Numeric?
readonly
The value of the EIRP.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(units: nil, value: nil) ⇒ EirpProperty
constructor
A new instance of EirpProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(units: nil, value: nil) ⇒ EirpProperty
Returns a new instance of EirpProperty.
934 935 936 937 938 939 |
# File 'ground_station/cfn_config.rb', line 934 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 EIRP.
945 946 947 |
# File 'ground_station/cfn_config.rb', line 945 def units @units end |
#value ⇒ Numeric? (readonly)
The value of the EIRP.
Valid values are between 20.0 to 50.0 dBW.
952 953 954 |
# File 'ground_station/cfn_config.rb', line 952 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
954 955 956 957 958 959 |
# File 'ground_station/cfn_config.rb', line 954 def self.jsii_properties { :units => "units", :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
961 962 963 964 965 966 967 968 |
# File 'ground_station/cfn_config.rb', line 961 def to_jsii result = {} result.merge!({ "units" => @units, "value" => @value, }) result.compact end |