@Stability(value=Stable) @Internal public static final class EventPattern.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements EventPattern
EventPatternsoftware.amazon.jsii.JsiiObject.InitializationModeEventPattern.Builder, EventPattern.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(EventPattern.Builder builder)
Constructor that initializes the object based on literal property values passed by the
EventPattern.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
List<String> |
getAccount()
The 12-digit number identifying an AWS account.
|
Map<String,Object> |
getDetail()
A JSON object, whose content is at the discretion of the service originating the event.
|
List<String> |
getDetailType()
Identifies, in combination with the source field, the fields and values that appear in the detail field.
|
List<String> |
getId()
A unique value is generated for every event.
|
List<String> |
getRegion()
Identifies the AWS region where the event originated.
|
List<String> |
getResources()
This JSON array contains ARNs that identify resources that are involved in the event.
|
List<String> |
getSource()
Identifies the service that sourced the event.
|
List<String> |
getTime()
The event timestamp, which can be specified by the service originating the event.
|
List<String> |
getVersion()
By default, this is set to 0 (zero) in all events.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(EventPattern.Builder builder)
EventPattern.Builder.public final List<String> getAccount()
EventPatternDefault: - No filtering on account
getAccount in interface EventPatternpublic final Map<String,Object> getDetail()
EventPatternDefault: - No filtering on detail
getDetail in interface EventPatternpublic final List<String> getDetailType()
EventPatternRepresents the "detail-type" event field.
Default: - No filtering on detail type
getDetailType in interface EventPatternpublic final List<String> getId()
EventPatternThis can be helpful in tracing events as they move through rules to targets, and are processed.
Default: - No filtering on id
getId in interface EventPatternpublic final List<String> getRegion()
EventPatternDefault: - No filtering on region
getRegion in interface EventPatternpublic final List<String> getResources()
EventPatternInclusion of these ARNs is at the discretion of the service.
For example, Amazon EC2 instance state-changes include Amazon EC2 instance ARNs, Auto Scaling events include ARNs for both instances and Auto Scaling groups, but API calls with AWS CloudTrail do not include resource ARNs.
Default: - No filtering on resource
getResources in interface EventPatternpublic final List<String> getSource()
EventPatternAll events sourced from within AWS begin with "aws." Customer-generated events can have any value here, as long as it doesn't begin with "aws." We recommend the use of Java package-name style reverse domain-name strings.
To find the correct value for source for an AWS service, see the table in AWS Service Namespaces. For example, the source value for Amazon CloudFront is aws.cloudfront.
Default: - No filtering on source
getSource in interface EventPatternpublic final List<String> getTime()
EventPatternIf the event spans a time interval, the service might choose to report the start time, so this value can be noticeably before the time the event is actually received.
Default: - No filtering on time
getTime in interface EventPatternpublic final List<String> getVersion()
EventPatternDefault: - No filtering on version
getVersion in interface EventPattern@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.