Class: AWSCDK::CloudWatch::Color
- Inherits:
-
Jsii::Object
- Object
- Jsii::Object
- AWSCDK::CloudWatch::Color
- Defined in:
- cloud_watch/color.rb
Overview
A set of standard colours that can be used in annotations in a GraphWidget.
Class Method Summary collapse
-
.BLUE ⇒ String
blue - hex #1f77b4.
-
.BROWN ⇒ String
brown - hex #8c564b.
-
.GREEN ⇒ String
green - hex #2ca02c.
-
.GREY ⇒ String
grey - hex #7f7f7f.
- .jsii_overridable_methods ⇒ Object
-
.ORANGE ⇒ String
orange - hex #ff7f0e.
-
.PINK ⇒ String
pink - hex #e377c2.
-
.PURPLE ⇒ String
purple - hex #9467bd.
-
.RED ⇒ String
red - hex #d62728.
Instance Method Summary collapse
-
#initialize(*args) ⇒ Color
constructor
A new instance of Color.
Constructor Details
#initialize(*args) ⇒ Color
Returns a new instance of Color.
8 9 10 |
# File 'cloud_watch/color.rb', line 8 def initialize(*args) raise NoMethodError, "aws-cdk-lib.aws_cloudwatch.Color does not have a visible constructor; use the provided factory methods" end |
Class Method Details
.BLUE ⇒ String
blue - hex #1f77b4.
20 21 22 |
# File 'cloud_watch/color.rb', line 20 def self.BLUE() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_cloudwatch.Color", "BLUE") end |
.BROWN ⇒ String
brown - hex #8c564b.
27 28 29 |
# File 'cloud_watch/color.rb', line 27 def self.BROWN() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_cloudwatch.Color", "BROWN") end |
.GREEN ⇒ String
green - hex #2ca02c.
34 35 36 |
# File 'cloud_watch/color.rb', line 34 def self.GREEN() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_cloudwatch.Color", "GREEN") end |
.GREY ⇒ String
grey - hex #7f7f7f.
41 42 43 |
# File 'cloud_watch/color.rb', line 41 def self.GREY() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_cloudwatch.Color", "GREY") end |
.jsii_overridable_methods ⇒ Object
12 13 14 15 |
# File 'cloud_watch/color.rb', line 12 def self.jsii_overridable_methods { } end |
.ORANGE ⇒ String
orange - hex #ff7f0e.
48 49 50 |
# File 'cloud_watch/color.rb', line 48 def self.ORANGE() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_cloudwatch.Color", "ORANGE") end |
.PINK ⇒ String
pink - hex #e377c2.
55 56 57 |
# File 'cloud_watch/color.rb', line 55 def self.PINK() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_cloudwatch.Color", "PINK") end |
.PURPLE ⇒ String
purple - hex #9467bd.
62 63 64 |
# File 'cloud_watch/color.rb', line 62 def self.PURPLE() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_cloudwatch.Color", "PURPLE") end |
.RED ⇒ String
red - hex #d62728.
69 70 71 |
# File 'cloud_watch/color.rb', line 69 def self.RED() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_cloudwatch.Color", "RED") end |