Interface CfnBucket.LambdaConfigurationProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnBucket.LambdaConfigurationProperty.Jsii$Proxy
Enclosing class:
CfnBucket

@Stability(Stable) public static interface CfnBucket.LambdaConfigurationProperty extends software.amazon.jsii.JsiiSerializable
Describes the AWS Lambda functions to invoke and the events for which to invoke them.

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.*;
 LambdaConfigurationProperty lambdaConfigurationProperty = 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();
 

See Also: