interface FunctionReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Interfaces.Lambda.FunctionReference |
Go | github.com/aws/aws-cdk-go/awscdk/v2/interfaces/awslambda#FunctionReference |
Java | software.amazon.awscdk.interfaces.lambda.FunctionReference |
Python | aws_cdk.interfaces.aws_lambda.FunctionReference |
TypeScript | aws-cdk-lib » interfaces » aws_lambda » FunctionReference |
A reference to a Function 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 interfaces_aws_lambda } from 'aws-cdk-lib/interfaces';
const functionReference: interfaces_aws_lambda.FunctionReference = {
functionArn: 'functionArn',
functionName: 'functionName',
};
Properties
| Name | Type | Description |
|---|---|---|
| function | string | The ARN of the Function resource. |
| function | string | The FunctionName of the Function resource. |
functionArn
Type:
string
The ARN of the Function resource.
functionName
Type:
string
The FunctionName of the Function resource.

.NET
Go
Java
Python
TypeScript