@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:31.228Z") @Stability(value=Experimental) public class EventField extends software.amazon.jsii.JsiiObject implements IResolvable
software.amazon.jsii.JsiiObject.InitializationModeIResolvable.Jsii$Default, IResolvable.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)
(experimental) Extract a custom JSON path from the event.
|
static String |
getAccount()
(experimental) Extract the account from the event.
|
List<String> |
getCreationStack()
(experimental) The creation stack of this resolvable which will be appended to errors thrown during resolution.
|
static String |
getDetailType()
(experimental) Extract the detail type from the event.
|
String |
getDisplayHint()
(experimental) Human readable display hint about the event pattern.
|
static String |
getEventId()
(experimental) Extract the event ID from the event.
|
String |
getPath()
(experimental) the path to a field in the event pattern.
|
static String |
getRegion()
(experimental) Extract the region from the event.
|
static String |
getSource()
(experimental) Extract the source from the event.
|
static String |
getTime()
(experimental) Extract the time from the event.
|
Object |
resolve(IResolveContext _ctx)
(experimental) Produce the Token's value at resolution time.
|
String |
toJSON()
(experimental) Convert the path to the field in the event pattern to JSON.
|
String |
toString()
(experimental) Return a string representation of this resolvable object.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected EventField(software.amazon.jsii.JsiiObjectRef objRef)
protected EventField(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental) @NotNull public static String fromPath(@NotNull String path)
path - This parameter is required.@Stability(value=Experimental) @NotNull public Object resolve(@NotNull IResolveContext _ctx)
resolve in interface IResolvable_ctx - This parameter is required.@Stability(value=Experimental) @NotNull public String toJSON()
@Stability(value=Experimental) @NotNull public String toString()
Returns a reversible string representation.
toString in interface IResolvabletoString in class Object@Stability(value=Experimental) @NotNull public static String getAccount()
@Stability(value=Experimental) @NotNull public static String getDetailType()
@Stability(value=Experimental) @NotNull public static String getEventId()
@Stability(value=Experimental) @NotNull public static String getRegion()
@Stability(value=Experimental) @NotNull public static String getSource()
@Stability(value=Experimental) @NotNull public static String getTime()
@Stability(value=Experimental) @NotNull public List<String> getCreationStack()
This may return an array with a single informational element indicating how to get this property populated, if it was skipped for performance reasons.
getCreationStack in interface IResolvable@Stability(value=Experimental) @NotNull public String getDisplayHint()
@Stability(value=Experimental) @NotNull public String getPath()
Copyright © 2021. All rights reserved.