@Generated(value="jsii-pacmak/1.1.0 (build df55f5e)", date="2020-04-10T14:28:19.280Z") @Stability(value=Stable) public class EventField extends software.amazon.jsii.JsiiObject implements IResolvable
software.amazon.jsii.JsiiObject.InitializationModeIResolvable.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
EventField(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
EventField(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static String |
fromPath(String path)
Extract a custom JSON path from the event.
|
static String |
getAccount()
Extract the account from the event.
|
List<String> |
getCreationStack()
The creation stack of this resolvable which will be appended to errors thrown during resolution.
|
static String |
getDetailType()
Extract the detail type from the event.
|
String |
getDisplayHint() |
static String |
getEventId()
Extract the event ID from the event.
|
String |
getPath() |
static String |
getRegion()
Extract the region from the event.
|
static String |
getSource()
Extract the source from the event.
|
static String |
getTime()
Extract the time from the event.
|
Object |
resolve(IResolveContext _ctx)
Produce the Token's value at resolution time.
|
String |
toJSON() |
String |
toString()
Return a string representation of this resolvable object.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSetprotected EventField(software.amazon.jsii.JsiiObjectRef objRef)
protected EventField(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable) @NotNull public static String fromPath(@NotNull String path)
path - This parameter is required.@Stability(value=Stable) @NotNull public Object resolve(@NotNull IResolveContext _ctx)
resolve in interface IResolvable_ctx - This parameter is required.@Stability(value=Stable) @NotNull public String toJSON()
@Stability(value=Stable) @NotNull public String toString()
Returns a reversible string representation.
toString in interface IResolvabletoString in class Object@Stability(value=Stable) @NotNull public static String getAccount()
@Stability(value=Stable) @NotNull public static String getDetailType()
@Stability(value=Stable) @NotNull public static String getEventId()
@Stability(value=Stable) @NotNull public static String getRegion()
@Stability(value=Stable) @NotNull public static String getSource()
@Stability(value=Stable) @NotNull public static String getTime()
@Stability(value=Stable) @NotNull public List<String> getCreationStack()
If this returns an empty array the stack will not be attached.
getCreationStack in interface IResolvable@Stability(value=Stable) @NotNull public String getDisplayHint()
@Stability(value=Stable) @NotNull public String getPath()
Copyright © 2020. All rights reserved.