interface S3EventProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.SAM.CfnFunction.S3EventProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awssam#CfnFunction_S3EventProperty |
![]() | software.amazon.awscdk.services.sam.CfnFunction.S3EventProperty |
![]() | aws_cdk.aws_sam.CfnFunction.S3EventProperty |
![]() | aws-cdk-lib » 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 { aws_sam as sam } from 'aws-cdk-lib';
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 | |
events | string | |
filter? | IResolvable | S3 |
bucket
Type:
string
events
Type:
string
filter?
Type:
IResolvable
|
S3
(optional)