Permission

class Permission : KotlinCustomResource

Resource Type definition for AWS::Lambda::Permission

Properties

Link copied to clipboard
val action: Output<String>

The action that the principal can use on the function.

Link copied to clipboard
val eventSourceToken: Output<String>?

For Alexa Smart Home functions, a token that must be supplied by the invoker.

Link copied to clipboard
val functionName: Output<String>

The name of the Lambda function, version, or alias.

Link copied to clipboard

The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val principal: Output<String>

The AWS service or account that invokes the function. If you specify a service, use SourceArn or SourceAccount to limit who can invoke the function through that service.

Link copied to clipboard
val principalOrgId: Output<String>?

The identifier for your organization in AWS Organizations. Use this to grant permissions to all the AWS accounts under this organization.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val sourceAccount: Output<String>?

For Amazon S3, the ID of the account that owns the resource. Use this together with SourceArn to ensure that the resource is owned by the specified account. It is possible for an Amazon S3 bucket to be deleted by its owner and recreated by another account.

Link copied to clipboard
val sourceArn: Output<String>?

For AWS services, the ARN of the AWS resource that invokes the function. For example, an Amazon S3 bucket or Amazon SNS topic.

Link copied to clipboard
val urn: Output<String>