@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.816Z") @Stability(value=Stable) 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.*;
import software.constructs.*;
Construct construct;
Object detail;
IRuleTarget ruleTarget;
OnCloudTrailBucketEventOptions onCloudTrailBucketEventOptions = OnCloudTrailBucketEventOptions.builder()
.crossStackScope(construct)
.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()
Only watch changes to these object paths.
|
getTargetgetCrossStackScope, getDescription, getEventPattern, getRuleName@Stability(value=Stable) @Nullable default List<String> getPaths()
Default: - Watch changes to all objects
@Stability(value=Stable) static OnCloudTrailBucketEventOptions.Builder builder()
builder in interface EventCommonOptionsbuilder in interface OnEventOptionsOnCloudTrailBucketEventOptions.Builder of OnCloudTrailBucketEventOptionsCopyright © 2022. All rights reserved.