Class: AWSCDK::Interfaces::AWSRUM::AppMonitorReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSRUM::AppMonitorReference
- Defined in:
- interfaces/awsrum/app_monitor_reference.rb
Overview
A reference to a AppMonitor resource.
Instance Attribute Summary collapse
-
#app_monitor_name ⇒ String
readonly
The Name of the AppMonitor resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(app_monitor_name:) ⇒ AppMonitorReference
constructor
A new instance of AppMonitorReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(app_monitor_name:) ⇒ AppMonitorReference
Returns a new instance of AppMonitorReference.
8 9 10 11 |
# File 'interfaces/awsrum/app_monitor_reference.rb', line 8 def initialize(app_monitor_name:) @app_monitor_name = app_monitor_name Jsii::Type.check_type(@app_monitor_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "appMonitorName") end |
Instance Attribute Details
#app_monitor_name ⇒ String (readonly)
The Name of the AppMonitor resource.
16 17 18 |
# File 'interfaces/awsrum/app_monitor_reference.rb', line 16 def app_monitor_name @app_monitor_name end |
Class Method Details
.jsii_properties ⇒ Object
18 19 20 21 22 |
# File 'interfaces/awsrum/app_monitor_reference.rb', line 18 def self.jsii_properties { :app_monitor_name => "appMonitorName", } end |
Instance Method Details
#to_jsii ⇒ Object
24 25 26 27 28 29 30 |
# File 'interfaces/awsrum/app_monitor_reference.rb', line 24 def to_jsii result = {} result.merge!({ "appMonitorName" => @app_monitor_name, }) result.compact end |