# LambdaProjectResource

- Module: [Aspire.Hosting.AWS](/reference/api/typescript/aspire.hosting.aws.md)
- Version: `13.7.2`
- Kind: `handle`
- Source: [GitHub](https://github.com/aws/integrations-on-dotnet-aspire-for-aws)

## Definition

```typescript
interface LambdaProjectResource
  extends IComputeResource,
    IContainerFilesDestinationResource,
    IResource,
    IResourceWithArgs,
    IResourceWithEndpoints,
    IResourceWithEnvironment,
    IResourceWithProbes,
    IResourceWithWaitSupport,
    IResourceWithServiceDiscovery {
  withDynamoDBStreamsEventSource(
      tableName: string,
      options?: DynamoDBStreamsEventSourceOptions): LambdaProjectResource;
  withSQSEventSource(
      queueUrl: string,
      options?: SQSEventSourceOptions): LambdaProjectResource;
}
```

## Methods

- [withDynamoDBStreamsEventSource](/reference/api/typescript/aspire.hosting.aws/lambdaprojectresource/withdynamodbstreamseventsource.md) -- `method`
    ```typescript
  withDynamoDBStreamsEventSource(tableName: string, options?: DynamoDBStreamsEventSourceOptions): LambdaProjectResource
  ```
- [withSQSEventSource](/reference/api/typescript/aspire.hosting.aws/lambdaprojectresource/withsqseventsource.md) -- `method`
    ```typescript
  withSQSEventSource(queueUrl: string, options?: SQSEventSourceOptions): LambdaProjectResource
  ```
