interface S3EventProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.SAM.Mixins.CfnFunctionPropsMixin.S3EventProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awssam/mixins#CfnFunctionPropsMixin_S3EventProperty |
Java | software.amazon.awscdk.mixins.preview.services.sam.mixins.CfnFunctionPropsMixin.S3EventProperty |
Python | aws_cdk.mixins_preview.aws_sam.mixins.CfnFunctionPropsMixin.S3EventProperty |
TypeScript | @aws-cdk/mixins-preview » aws_sam » mixins » CfnFunctionPropsMixin » S3EventProperty |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as sam_mixins } from '@aws-cdk/mixins-preview/aws-sam';
const s3EventProperty: sam_mixins.CfnFunctionPropsMixin.S3EventProperty = {
bucket: 'bucket',
events: 'events',
filter: {
s3Key: {
rules: [{
name: 'name',
value: 'value',
}],
},
},
};
Properties
| Name | Type | Description |
|---|---|---|
| bucket? | string | |
| events? | string | |
| filter? | IResolvable | S3 |
bucket?
Type:
string
(optional)
events?
Type:
string
(optional)
filter?
Type:
IResolvable | S3
(optional)

.NET
Go
Java
Python
TypeScript