aws-cdk-lib.aws_lambda.ResourceBindOptions

interface ResourceBindOptions

LanguageType name
.NETAmazon.CDK.AWS.Lambda.ResourceBindOptions
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslambda#ResourceBindOptions
Javasoftware.amazon.awscdk.services.lambda.ResourceBindOptions
Pythonaws_cdk.aws_lambda.ResourceBindOptions
TypeScript (source)aws-cdk-lib » aws_lambda » ResourceBindOptions

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 resourceBindOptions: lambda.ResourceBindOptions = {
  resourceProperty: 'resourceProperty',
};

Properties

NameTypeDescription
resourceProperty?stringThe 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