Module: AWSCDK::CloudWatch::IVariable

Included in:
DashboardVariable
Defined in:
cloud_watch/i_variable.rb

Overview

A single dashboard variable.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.jsii_overridable_methodsObject



14
15
16
17
18
# File 'cloud_watch/i_variable.rb', line 14

def self.jsii_overridable_methods
  {
    :to_json => { kind: :method, name: "toJson", is_optional: false },
  }
end

Instance Method Details

#to_jsonObject

Return the variable JSON for use in the dashboard.

Returns:

  • (Object)


10
11
12
# File 'cloud_watch/i_variable.rb', line 10

def to_json()
  jsii_call_method("toJson", [])
end