Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithSQSEventSource

Method
📦 Aspire.Hosting.AWS v13.7.3
func (LambdaProjectResource) WithSQSEventSource(
queueUrl string,
options ...*SQSEventSourceOptions,
) LambdaProjectResource

Signature

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().

Applies to

This method applies to the following types: