Class: AWSCDK::CloudWatch::DefaultValue
- Inherits:
-
Jsii::Object
- Object
- Jsii::Object
- AWSCDK::CloudWatch::DefaultValue
- Defined in:
- cloud_watch/default_value.rb
Overview
Default value for use in DashboardVariableOptions.
Class Method Summary collapse
-
.FIRST ⇒ AWSCDK::CloudWatch::DefaultValue
A special value for use with search expressions to have the default value be the first value returned from search.
- .jsii_overridable_methods ⇒ Object
-
.value(value) ⇒ AWSCDK::CloudWatch::DefaultValue
Create a default value.
Instance Method Summary collapse
-
#initialize(*args) ⇒ DefaultValue
constructor
A new instance of DefaultValue.
- #val ⇒ Object
Constructor Details
#initialize(*args) ⇒ DefaultValue
Returns a new instance of DefaultValue.
8 9 10 |
# File 'cloud_watch/default_value.rb', line 8 def initialize(*args) raise NoMethodError, "aws-cdk-lib.aws_cloudwatch.DefaultValue does not have a visible constructor; use the provided factory methods" end |
Class Method Details
.FIRST ⇒ AWSCDK::CloudWatch::DefaultValue
A special value for use with search expressions to have the default value be the first value returned from search.
30 31 32 |
# File 'cloud_watch/default_value.rb', line 30 def self.FIRST() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_cloudwatch.DefaultValue", "FIRST") end |
.jsii_overridable_methods ⇒ Object
12 13 14 15 16 |
# File 'cloud_watch/default_value.rb', line 12 def self.jsii_overridable_methods { :val => { kind: :property, name: "val", is_optional: false }, } end |
.value(value) ⇒ AWSCDK::CloudWatch::DefaultValue
Create a default value.
22 23 24 25 |
# File 'cloud_watch/default_value.rb', line 22 def self.value(value) Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJhbnkifQ==")), "value") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_cloudwatch.DefaultValue", "value", [value]) end |
Instance Method Details
#val ⇒ Object
35 36 37 |
# File 'cloud_watch/default_value.rb', line 35 def val() jsii_get_property("val") end |