interface ResourceBindOptions
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Lambda.ResourceBindOptions |
Java | software.amazon.awscdk.services.lambda.ResourceBindOptions |
Python | aws_cdk.aws_lambda.ResourceBindOptions |
TypeScript (source) | @aws-cdk/aws-lambda » ResourceBindOptions |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as lambda from '@aws-cdk/aws-lambda';
const resourceBindOptions: lambda.ResourceBindOptions = {
resourceProperty: 'resourceProperty',
};
Properties
| Name | Type | Description |
|---|---|---|
| resource | string | The name of the CloudFormation property to annotate with asset metadata. |
resourceProperty?
Type:
string
(optional, default: Code)
The name of the CloudFormation property to annotate with asset metadata.

.NET
Java
Python
TypeScript (