Class: AWSCDK::CloudWatch::Color

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

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ Color

Returns a new instance of Color.

Raises:

  • (NoMethodError)


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

.BLUEString

blue - hex #1f77b4.

Returns:

  • (String)


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

.BROWNString

brown - hex #8c564b.

Returns:

  • (String)


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

.GREENString

green - hex #2ca02c.

Returns:

  • (String)


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

.GREYString

grey - hex #7f7f7f.

Returns:

  • (String)


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_methodsObject



12
13
14
15
# File 'cloud_watch/color.rb', line 12

def self.jsii_overridable_methods
  {
  }
end

.ORANGEString

orange - hex #ff7f0e.

Returns:

  • (String)


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

.PINKString

pink - hex #e377c2.

Returns:

  • (String)


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

.PURPLEString

purple - hex #9467bd.

Returns:

  • (String)


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

.REDString

red - hex #d62728.

Returns:

  • (String)


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