public class CloudWatchEvent extends Object implements Serializable
See also https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/CloudWatchEventsandEventPatterns.html
Constructor and Description |
---|
CloudWatchEvent() |
Modifier and Type | Method and Description |
---|---|
String |
getAccount()
Get event AWS account id
|
Object |
getDetail()
Get event detail
|
String |
getDetailType()
Get event detail type, e.g.
|
String |
getId()
Get event id
|
String |
getRegion()
Get event AWS region
|
ArrayList<String> |
getResources()
Get event resources, typically in the form of ARNs
|
String |
getSource()
Get event source service, e.g.
|
String |
getTime()
Get event timestamp
|
String |
getVersion()
Get event message version
|
public String getVersion()
public String getId()
public String getDetailType()
See also https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/EventTypes.html
public String getSource()
public String getAccount()
public String getTime()
public String getRegion()
public ArrayList<String> getResources()
public Object getDetail()
This is a JSON format payload which must be parsed further in accordance to the "source" or "detail-type" of the CloudWatch Event
Copyright © 2022. All rights reserved.