@Generated(value="jsii-pacmak/0.14.0 (build a586a1a)", date="2019-07-08T12:55:17.335Z") @Stability(value=Experimental) public class Fact extends software.amazon.jsii.JsiiObject
| Modifier | Constructor and Description |
|---|---|
protected |
Fact(software.amazon.jsii.JsiiObject.InitializationMode mode) |
| Modifier and Type | Method and Description |
|---|---|
static String |
find(String region,
String name)
Retrieves a fact from this Fact database.
|
static void |
register(IFact fact)
Registers a new fact in this Fact database.
|
static void |
register(IFact fact,
Boolean allowReplacing)
Registers a new fact in this Fact database.
|
static void |
unregister(String region,
String name)
Removes a fact from the database.
|
static void |
unregister(String region,
String name,
String value)
Removes a fact from the database.
|
jsiiAsyncCall, jsiiCall, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticGet, jsiiStaticSet@Stability(value=Experimental) @Nullable public static String find(String region, String name)
region - the name of the region (e.g: `us-east-1`).name - the name of the fact being looked up (see the `FactName` class for details).@Stability(value=Experimental) public static void register(IFact fact, @Nullable Boolean allowReplacing)
fact - the new fact to be registered.allowReplacing - whether new facts can replace existing facts or not.@Stability(value=Experimental) public static void register(IFact fact)
fact - the new fact to be registered.@Stability(value=Experimental) public static void unregister(String region, String name, @Nullable String value)
region - the region for which the fact is to be removed.name - the name of the fact to remove.value - the value that should be removed (removal will fail if the value is specified, but does not match the current stored value).Copyright © 2019. All rights reserved.