View definition

(AddPermissionInput).Principal

Defined in github.com/aws/aws-sdk-go/service/lambda/api.go

Description

The principal who is getting this permission. It can be Amazon S3 service Principal (s3.amazonaws.com) if you want Amazon S3 to invoke the function, an AWS account ID if you are granting cross-account permission, or any valid AWS service principal such as sns.amazonaws.com. For example, you might want to allow a custom application in another AWS account to push events to AWS Lambda by invoking your function.

Principal is referenced in 1 repository

github.com/aws/aws-sdk-go