@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-20T22:19:58.212Z") public interface OnCloudTrailBucketEventOptions extends OnEventOptions
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.events.*; import software.amazon.awscdk.services.s3.*; Object detail; IRuleTarget ruleTarget; OnCloudTrailBucketEventOptions onCloudTrailBucketEventOptions = OnCloudTrailBucketEventOptions.builder() .description("description") .eventPattern(EventPattern.builder() .account(List.of("account")) .detail(Map.of( "detailKey", detail)) .detailType(List.of("detailType")) .id(List.of("id")) .region(List.of("region")) .resources(List.of("resources")) .source(List.of("source")) .time(List.of("time")) .version(List.of("version")) .build()) .paths(List.of("paths")) .ruleName("ruleName") .target(ruleTarget) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
OnCloudTrailBucketEventOptions.Builder
A builder for
OnCloudTrailBucketEventOptions |
static class |
OnCloudTrailBucketEventOptions.Jsii$Proxy
An implementation for
OnCloudTrailBucketEventOptions |
Modifier and Type | Method and Description |
---|---|
static OnCloudTrailBucketEventOptions.Builder |
builder() |
default java.util.List<java.lang.String> |
getPaths()
Only watch changes to these object paths.
|
getDescription, getEventPattern, getRuleName, getTarget
default java.util.List<java.lang.String> getPaths()
Default: - Watch changes to all objects
static OnCloudTrailBucketEventOptions.Builder builder()
builder
in interface OnEventOptions
OnCloudTrailBucketEventOptions.Builder
of OnCloudTrailBucketEventOptions