Class: AWSCDK::RUM::CfnAppMonitor::CustomEventsProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(status: nil) ⇒ CustomEventsProperty

Returns a new instance of CustomEventsProperty.

Parameters:

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

    Set this to ENABLED to allow the web client to send custom events for this app monitor.



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

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



796
797
798
799
800
# File 'rum/cfn_app_monitor.rb', line 796

def self.jsii_properties
  {
    :status => "status",
  }
end

Instance Method Details

#to_jsiiObject



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