Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

LambdaProjectResource

Handle
📦 Aspire.Hosting.AWS v13.7.3
type LambdaProjectResource interface {
IComputeResource
IContainerFilesDestinationResource
Resource
ResourceWithArgs
ResourceWithEndpoints
ResourceWithEnvironment
ResourceWithWaitSupport
}

Methods

WithDynamoDBStreamsEventSource(
tableName string,
options ...*DynamoDBStreamsEventSourceOptions,
) LambdaProjectResource
tableNamestring
options...*DynamoDBStreamsEventSourceOptionsOptional settings, described under Options.

Optional parameters are passed as the existing *DynamoDBStreamsEventSourceOptions struct.

LambdaProjectResource

Returns a handle; failures surface later via Err().

methodWithSQSEventSourcebuilder
WithSQSEventSource(
queueUrl string,
options ...*SQSEventSourceOptions,
) LambdaProjectResource
queueUrlstring
options...*SQSEventSourceOptionsOptional settings, described under Options.

Optional parameters are passed as the existing *SQSEventSourceOptions struct.

LambdaProjectResource

Returns a handle; failures surface later via Err().