public static final class EventPattern.Builder extends Object
EventPattern.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
EventPattern |
build() |
EventPattern.Builder |
withAccount(List<String> value)
The 12-digit number identifying an AWS account.
|
EventPattern.Builder |
withDetail(Object value)
A JSON object, whose content is at the discretion of the service
originating the event.
|
EventPattern.Builder |
withDetailType(List<String> value)
Identifies, in combination with the source field, the fields and values
that appear in the detail field.
|
EventPattern.Builder |
withId(List<String> value)
A unique value is generated for every event.
|
EventPattern.Builder |
withRegion(List<String> value)
Identifies the AWS region where the event originated.
|
EventPattern.Builder |
withResources(List<software.amazon.awscdk.Arn> value)
This JSON array contains ARNs that identify resources that are involved
in the event.
|
EventPattern.Builder |
withSource(List<String> value)
Identifies the service that sourced the event.
|
EventPattern.Builder |
withTime(List<String> value)
The event timestamp, which can be specified by the service originating
the event.
|
EventPattern.Builder |
withVersion(List<String> value)
By default, this is set to 0 (zero) in all events.
|
public EventPattern.Builder withVersion(List<String> value)
public EventPattern.Builder withId(List<String> value)
public EventPattern.Builder withDetailType(List<String> value)
public EventPattern.Builder withSource(List<String> value)
http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespacespublic EventPattern.Builder withAccount(List<String> value)
public EventPattern.Builder withTime(List<String> value)
public EventPattern.Builder withRegion(List<String> value)
public EventPattern.Builder withResources(List<software.amazon.awscdk.Arn> value)
public EventPattern.Builder withDetail(Object value)
public EventPattern build()
Copyright © 2018. All rights reserved.