interface S3EventProperty
This page is available in another version. Click here for the v2 documentation.
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.SAM.CfnFunction.S3EventProperty |
![]() | software.amazon.awscdk.services.sam.CfnFunction.S3EventProperty |
![]() | aws_cdk.aws_sam.CfnFunction.S3EventProperty |
![]() | @aws-cdk/aws-sam » CfnFunction » S3EventProperty |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as sam from '@aws-cdk/aws-sam';
const s3EventProperty: sam.CfnFunction.S3EventProperty = {
bucket: 'bucket',
events: 'events',
// the properties below are optional
filter: {
s3Key: {
rules: [{
name: 'name',
value: 'value',
}],
},
},
};
Properties
Name | Type | Description |
---|---|---|
bucket | string | CfnFunction.S3EventProperty.Bucket . |
events | string | IResolvable | string[] | CfnFunction.S3EventProperty.Events . |
filter? | IResolvable | S3 | CfnFunction.S3EventProperty.Filter . |
bucket
Type:
string
CfnFunction.S3EventProperty.Bucket
.
events
Type:
string |
IResolvable
| string[]
CfnFunction.S3EventProperty.Events
.
filter?
Type:
IResolvable
|
S3
(optional)
CfnFunction.S3EventProperty.Filter
.