@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:53.665Z") @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)
(experimental) Retrieves a fact from this Fact database.
|
static List<String> |
getRegions() |
static void |
register(IFact fact)
(experimental) Registers a new fact in this Fact database.
|
static void |
register(IFact fact,
Boolean allowReplacing)
(experimental) Registers a new fact in this Fact database.
|
static String |
requireFact(String region,
String name)
(experimental) Retrieve a fact from the Fact database.
|
static void |
unregister(String region,
String name)
(experimental) Removes a fact from the database.
|
static void |
unregister(String region,
String name,
String value)
(experimental) Removes a fact from the database.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected Fact(software.amazon.jsii.JsiiObjectRef objRef)
protected Fact(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental) @Nullable public static String find(@NotNull String region, @NotNull 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(@NotNull
IFact fact,
@Nullable
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(@NotNull
IFact fact)
fact - the new fact to be registered. This parameter is required.@Stability(value=Experimental) @NotNull public static String requireFact(@NotNull String region, @NotNull String name)
(retrieval will fail if the specified region or fact name does not exist.)
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 unregister(@NotNull
String region,
@NotNull
String name,
@Nullable
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(@NotNull
String region,
@NotNull
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 © 2021. All rights reserved.