Skip to content

Multiple emailKeyPrefix in the same function #145

@toddgdaugherty

Description

@toddgdaugherty

Can I add more than one emailKeyPrefix value? I'm trying to decide whether to create multiple folders within a bucket. One for each email address on the same domain. I'm considering this just in case I need to manually search for something. I'm not really sure what the best practice is for SES. I assume that if I decide to go that route, I'll need to create a separate Email Receiving rule for each address. What I don't know however is whether I can use the same Lambda function for multiple emailKeyPrefixes. Is there any way to check all subfolders within a bucket using a wildcard or even better for versatility, list multiple emailKeyPrefixes? If not, I assume I would also have to create a separate Lambda function for each rule, correct? Is it even worth it? Thoughts or any experience with this would be much appreciated.
Signed,
Obsessive compulsive planner.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions