ResourceBindOptions Struct
| Source | aws-lambda/lib/code.ts |
|---|
Example
ts
// 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',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_lambda as lambda_
resource_bind_options = lambda.ResourceBindOptions(
resource_property="resourceProperty"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lambda.*;
ResourceBindOptions resourceBindOptions = ResourceBindOptions.builder()
.resourceProperty("resourceProperty")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lambda;
var resourceBindOptions = new ResourceBindOptions {
ResourceProperty = "resourceProperty"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
resourceBindOptions := &ResourceBindOptions{
ResourceProperty: jsii.String("resourceProperty"),
}
Properties
resourcePropertyoptionalstringresource_propertyoptionalstrresourcePropertyoptionalStringResourcePropertyoptionalstringResourcePropertyoptional*string = Code #The name of the CloudFormation property to annotate with asset metadata.