Interface OnCloudTrailBucketEventOptions

All Superinterfaces:
EventCommonOptions, software.amazon.jsii.JsiiSerializable, OnEventOptions
All Known Implementing Classes:
OnCloudTrailBucketEventOptions.Jsii$Proxy

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-24T02:42:44.100Z") @Stability(Stable) public interface OnCloudTrailBucketEventOptions extends software.amazon.jsii.JsiiSerializable, OnEventOptions
Options for the onCloudTrailPutObject method.

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();