AwsS3BucketSnsNotificationRuleArgs
interface AwsS3BucketSnsNotificationRuleArgs {
eventTypes: string[];
filter?: AwsS3BucketNotificationDestinationFilterArgs;
topicArn: Input<string>;
}SNS notification rule.
Example
CODE
const snsNotification: AwsS3BucketSnsNotificationRuleArgs = {
topicArn: topic.arn,
eventTypes: ['s3:ObjectCreated:*'],
};Properties
eventTypes: string[]
One or more S3 event types.
filter: AwsS3BucketNotificationDestinationFilterArgs
Optional object key filter.
topicArn: Input<string>
Target SNS topic ARN.