Skip to content
v2.273.0

FunctionReference Struct ​

A reference to a Function resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lambda as interfaces_lambda } from 'aws-cdk-lib/interfaces';
const functionReference: interfaces_lambda.FunctionReference = {
  functionArn: 'functionArn',
  functionName: 'functionName',
};

Properties ​

functionArnstringfunction_arnstrfunctionArnStringFunctionArnstringFunctionArn*stringrequired#
The ARN of the Function resource.
functionNamestringfunction_namestrfunctionNameStringFunctionNamestringFunctionName*stringrequired#
The FunctionName of the Function resource.