@Stability(value=Stable)
public static interface CfnBucket.NotificationFilterProperty
extends software.amazon.jsii.JsiiSerializable
For information about key name filtering, see Configuring Event Notifications in the Amazon S3 User Guide .
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.s3.*;
NotificationFilterProperty notificationFilterProperty = NotificationFilterProperty.builder()
.s3Key(S3KeyFilterProperty.builder()
.rules(List.of(FilterRuleProperty.builder()
.name("name")
.value("value")
.build()))
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnBucket.NotificationFilterProperty.Builder
A builder for
CfnBucket.NotificationFilterProperty |
static class |
CfnBucket.NotificationFilterProperty.Jsii$Proxy
An implementation for
CfnBucket.NotificationFilterProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnBucket.NotificationFilterProperty.Builder |
builder() |
Object |
getS3Key()
A container for object key name prefix and suffix filtering rules.
|
@Stability(value=Stable) @NotNull Object getS3Key()
@Stability(value=Stable) static CfnBucket.NotificationFilterProperty.Builder builder()
Copyright © 2022. All rights reserved.