@Stability(value=Stable)
public static interface CfnBucket.NotificationConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
// 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.*;
NotificationConfigurationProperty notificationConfigurationProperty = NotificationConfigurationProperty.builder()
.lambdaConfigurations(List.of(LambdaConfigurationProperty.builder()
.event("event")
.function("function")
// the properties below are optional
.filter(NotificationFilterProperty.builder()
.s3Key(S3KeyFilterProperty.builder()
.rules(List.of(FilterRuleProperty.builder()
.name("name")
.value("value")
.build()))
.build())
.build())
.build()))
.queueConfigurations(List.of(QueueConfigurationProperty.builder()
.event("event")
.queue("queue")
// the properties below are optional
.filter(NotificationFilterProperty.builder()
.s3Key(S3KeyFilterProperty.builder()
.rules(List.of(FilterRuleProperty.builder()
.name("name")
.value("value")
.build()))
.build())
.build())
.build()))
.topicConfigurations(List.of(TopicConfigurationProperty.builder()
.event("event")
.topic("topic")
// the properties below are optional
.filter(NotificationFilterProperty.builder()
.s3Key(S3KeyFilterProperty.builder()
.rules(List.of(FilterRuleProperty.builder()
.name("name")
.value("value")
.build()))
.build())
.build())
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnBucket.NotificationConfigurationProperty.Builder
A builder for
CfnBucket.NotificationConfigurationProperty |
static class |
CfnBucket.NotificationConfigurationProperty.Jsii$Proxy
An implementation for
CfnBucket.NotificationConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnBucket.NotificationConfigurationProperty.Builder |
builder() |
default Object |
getLambdaConfigurations()
`CfnBucket.NotificationConfigurationProperty.LambdaConfigurations`.
|
default Object |
getQueueConfigurations()
`CfnBucket.NotificationConfigurationProperty.QueueConfigurations`.
|
default Object |
getTopicConfigurations()
`CfnBucket.NotificationConfigurationProperty.TopicConfigurations`.
|
@Stability(value=Stable) @Nullable default Object getLambdaConfigurations()
@Stability(value=Stable) @Nullable default Object getQueueConfigurations()
@Stability(value=Stable) @Nullable default Object getTopicConfigurations()
@Stability(value=Stable) static CfnBucket.NotificationConfigurationProperty.Builder builder()
Copyright © 2021. All rights reserved.