interface ResourceBindOptions
This page is available in another version. Click here for the v2 documentation.
| 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.
See also: https://github.com/aws/aws-cdk/issues/1432

.NET
Java
Python
TypeScript (