Module: AWSCDK::RegionInfo::IFact

Defined in:
region_info/i_fact.rb

Overview

A fact that can be registered about a particular region.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.jsii_overridable_methodsObject



30
31
32
33
34
35
36
# File 'region_info/i_fact.rb', line 30

def self.jsii_overridable_methods
  {
    :name => { kind: :property, name: "name", is_optional: false },
    :region => { kind: :property, name: "region", is_optional: false },
    :value => { kind: :property, name: "value", is_optional: true },
  }
end

Instance Method Details

#nameString

The name of this fact.

Standardized values are provided by the Facts class.

Returns:

  • (String)


12
13
14
# File 'region_info/i_fact.rb', line 12

def name()
  jsii_get_property("name")
end

#regionString

The region for which this fact applies.

Returns:

  • (String)


19
20
21
# File 'region_info/i_fact.rb', line 19

def region()
  jsii_get_property("region")
end

#valueString?

The value of this fact.

Returns:

  • (String, nil)


26
27
28
# File 'region_info/i_fact.rb', line 26

def value()
  jsii_get_property("value")
end