Interface S3EventSelector
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
S3EventSelector.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:40.924Z")
@Stability(Stable)
public interface S3EventSelector
extends software.amazon.jsii.JsiiSerializable
Selecting an S3 bucket and an optional prefix to be logged for data events.
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.cloudtrail.*; import software.amazon.awscdk.services.s3.*; Bucket bucket; S3EventSelector s3EventSelector = S3EventSelector.builder() .bucket(bucket) // the properties below are optional .objectPrefix("objectPrefix") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forS3EventSelector
static final class
An implementation forS3EventSelector
-
Method Summary
Modifier and TypeMethodDescriptionstatic S3EventSelector.Builder
builder()
S3 bucket.default String
Data events for objects whose key matches this prefix will be logged.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBucket
S3 bucket. -
getObjectPrefix
Data events for objects whose key matches this prefix will be logged.Default: - all objects
-
builder
- Returns:
- a
S3EventSelector.Builder
ofS3EventSelector
-