@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:55.499Z") @Stability(value=Experimental) public interface OnCloudTrailBucketEventOptions extends software.amazon.jsii.JsiiSerializable, 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 List<String> |
getPaths()
(experimental) Only watch changes to these object paths.
|
getDescription, getEventPattern, getRuleName, getTarget@Stability(value=Experimental) @Nullable default List<String> getPaths()
Default: - Watch changes to all objects
@Stability(value=Experimental) static OnCloudTrailBucketEventOptions.Builder builder()
builder in interface OnEventOptionsOnCloudTrailBucketEventOptions.Builder of OnCloudTrailBucketEventOptionsCopyright © 2022. All rights reserved.