public interface EventPattern
extends software.amazon.jsii.JsiiSerializable
https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/CloudWatchEventsandEventPatterns.html| Modifier and Type | Interface and Description |
|---|---|
static class |
EventPattern.Builder
A fluent builder class for
EventPattern. |
static class |
EventPattern.Jsii$Pojo
A PoJo (plain-old-java-object) class that implements
EventPattern. |
static class |
EventPattern.Jsii$Proxy
A proxy class which for javascript object literal which adhere to this interface.
|
| Modifier and Type | Method and Description |
|---|---|
static EventPattern.Builder |
builder() |
List<String> |
getAccount()
The 12-digit number identifying an AWS account.
|
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<software.amazon.awscdk.Arn> |
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.
|
void |
setAccount(List<String> value)
The 12-digit number identifying an AWS account.
|
void |
setDetail(Object value)
A JSON object, whose content is at the discretion of the service
originating the event.
|
void |
setDetailType(List<String> value)
Identifies, in combination with the source field, the fields and values
that appear in the detail field.
|
void |
setId(List<String> value)
A unique value is generated for every event.
|
void |
setRegion(List<String> value)
Identifies the AWS region where the event originated.
|
void |
setResources(List<software.amazon.awscdk.Arn> value)
This JSON array contains ARNs that identify resources that are involved
in the event.
|
void |
setSource(List<String> value)
Identifies the service that sourced the event.
|
void |
setTime(List<String> value)
The event timestamp, which can be specified by the service originating
the event.
|
void |
setVersion(List<String> value)
By default, this is set to 0 (zero) in all events.
|
List<String> getId()
void setId(List<String> value)
List<String> getDetailType()
void setDetailType(List<String> value)
List<String> getSource()
http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespacesvoid setSource(List<String> value)
http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespacesList<String> getTime()
void setTime(List<String> value)
List<software.amazon.awscdk.Arn> getResources()
void setResources(List<software.amazon.awscdk.Arn> value)
Object getDetail()
void setDetail(Object value)
static EventPattern.Builder builder()
Copyright © 2018. All rights reserved.