@Stability(value=Stable)
public static interface CfnFunction.S3EventProperty
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.sam.*;
S3EventProperty s3EventProperty = S3EventProperty.builder()
.bucket("bucket")
.events("events")
// the properties below are optional
.filter(S3NotificationFilterProperty.builder()
.s3Key(S3KeyFilterProperty.builder()
.rules(List.of(S3KeyFilterRuleProperty.builder()
.name("name")
.value("value")
.build()))
.build())
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnFunction.S3EventProperty.Builder
A builder for
CfnFunction.S3EventProperty |
static class |
CfnFunction.S3EventProperty.Jsii$Proxy
An implementation for
CfnFunction.S3EventProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnFunction.S3EventProperty.Builder |
builder() |
String |
getBucket()
`CfnFunction.S3EventProperty.Bucket`.
|
Object |
getEvents()
`CfnFunction.S3EventProperty.Events`.
|
default Object |
getFilter()
`CfnFunction.S3EventProperty.Filter`.
|
@Stability(value=Stable) @NotNull String getBucket()
@Stability(value=Stable) @NotNull Object getEvents()
@Stability(value=Stable) @Nullable default Object getFilter()
@Stability(value=Stable) static CfnFunction.S3EventProperty.Builder builder()
Copyright © 2022. All rights reserved.