interface ResourceBindOptions
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Lambda.ResourceBindOptions |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslambda#ResourceBindOptions |
Java | software.amazon.awscdk.services.lambda.ResourceBindOptions |
Python | aws_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
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.