# ResourceBindOptions

- Source: [`aws-lambda/lib/code.ts`](https://github.com/aws/aws-cdk/blob/v2.277.0/packages/aws-cdk-lib/aws-lambda/lib/code.ts#L566)

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `resourceProperty`: string = Code — The name of the CloudFormation property to annotate with asset metadata.
