Class: AWSCDK::RUM::CfnAppMonitor::CustomEventsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::RUM::CfnAppMonitor::CustomEventsProperty
- Defined in:
- rum/cfn_app_monitor.rb
Overview
This structure specifies whether this app monitor allows the web client to define and send custom events.
Instance Attribute Summary collapse
-
#status ⇒ String?
readonly
Set this to
ENABLEDto allow the web client to send custom events for this app monitor.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(status: nil) ⇒ CustomEventsProperty
constructor
A new instance of CustomEventsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(status: nil) ⇒ CustomEventsProperty
Returns a new instance of CustomEventsProperty.
783 784 785 786 |
# File 'rum/cfn_app_monitor.rb', line 783 def initialize(status: nil) @status = status Jsii::Type.check_type(@status, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "status") unless @status.nil? end |
Instance Attribute Details
#status ⇒ String? (readonly)
Set this to ENABLED to allow the web client to send custom events for this app monitor.
Valid values are ENABLED and DISABLED .
794 795 796 |
# File 'rum/cfn_app_monitor.rb', line 794 def status @status end |
Class Method Details
.jsii_properties ⇒ Object
796 797 798 799 800 |
# File 'rum/cfn_app_monitor.rb', line 796 def self.jsii_properties { :status => "status", } end |
Instance Method Details
#to_jsii ⇒ Object
802 803 804 805 806 807 808 |
# File 'rum/cfn_app_monitor.rb', line 802 def to_jsii result = {} result.merge!({ "status" => @status, }) result.compact end |