@Generated(value="jsii-pacmak/0.17.0 (build 7d5d104)", date="2019-09-30T08:21:19.259Z") @Stability(value=Experimental) public class Fact extends software.amazon.jsii.JsiiObject
| Modifier | Constructor and Description |
|---|---|
protected |
Fact(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
Fact(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static String |
find(String region,
String name)
Retrieves a fact from this Fact database.
|
static List<String> |
getRegions()
EXPERIMENTAL
|
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, setObjRefprotected Fact(software.amazon.jsii.JsiiObjectRef objRef)
protected Fact(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental) public static String find(String region, String name)
region - the name of the region (e.g: `us-east-1`). This parameter is required.name - the name of the fact being looked up (see the `FactName` class for details). This parameter is required.@Stability(value=Experimental) public static void register(IFact fact, Boolean allowReplacing)
fact - the new fact to be registered. This parameter is required.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. This parameter is required.@Stability(value=Experimental) public static void unregister(String region, String name, String value)
region - the region for which the fact is to be removed. This parameter is required.name - the name of the fact to remove. This parameter is required.value - the value that should be removed (removal will fail if the value is specified, but does not match the current stored value).@Stability(value=Experimental) public static void unregister(String region, String name)
region - the region for which the fact is to be removed. This parameter is required.name - the name of the fact to remove. This parameter is required.Copyright © 2019. All rights reserved.