LambdaProjectResource.WithSQSEventSource

Method
📦 Aspire.Hosting.AWS v13.7.4
type LambdaProjectResource interface {
// ... omitted for brevity
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().

Defined on

This method is defined on the following type: