interface PermissionReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Lambda.PermissionReference |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslambda#PermissionReference |
Java | software.amazon.awscdk.services.lambda.PermissionReference |
Python | aws_cdk.aws_lambda.PermissionReference |
TypeScript | aws-cdk-lib » aws_lambda » PermissionReference |
A reference to a Permission resource.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lambda as lambda } from 'aws-cdk-lib';
const permissionReference: lambda.PermissionReference = {
functionName: 'functionName',
permissionId: 'permissionId',
};
Properties
| Name | Type | Description |
|---|---|---|
| function | string | The FunctionName of the Permission resource. |
| permission | string | The Id of the Permission resource. |
functionName
Type:
string
The FunctionName of the Permission resource.
permissionId
Type:
string
The Id of the Permission resource.

.NET
Go
Java
Python
TypeScript