Skip to content

Wildcard "SourceArn" to represent all "execute-api" s for a particular account #279

@charlie9526

Description

@charlie9526

What I want is to restrict lambda access to API gateways of a known account. I tried that adding following block to the lambda policies. Am I correct?

Conditions:
{
"ArnLike": {
"AWS:SourceArn": "arn:aws:execute-api: 'lambda-region':'account-id':*"
}
}

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