Skip to content
This repository was archived by the owner on Jan 28, 2025. It is now read-only.
This repository was archived by the owner on Jan 28, 2025. It is now read-only.

Cloudfront configuration for custom lambda @ edge  #297

Closed
@skycremaschinin

Description

@skycremaschinin

Describe the bug
i need to link a custom lambda @ edge to viewer-request event

To Reproduce
add following section (according to aws-cloudfront component) in serverless.yml
defaults:
lambda@edge: # added to cloudfront default cache behavior
viewer-request: arn:aws:lambda:us-east-1:123:function:myFunc:version

Expected behavior
Lambda @ edge is attached to default behavior on viewer-request

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions