interface PermissionReference
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Lambda.PermissionReference |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awslambda#PermissionReference |
![]() | software.amazon.awscdk.services.lambda.PermissionReference |
![]() | aws_cdk.aws_lambda.PermissionReference |
![]() | 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.