Freigeben über


SQSResourceExtensions.AddSQSQueue Method

Definition

Adds an Amazon SQS queue.

public static Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.AWS.CDK.IConstructResource<Amazon.CDK.AWS.SQS.Queue>> AddSQSQueue (this Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.AWS.CDK.IStackResource> builder, string name, Amazon.CDK.AWS.SQS.IQueueProps? props = default);
static member AddSQSQueue : Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.AWS.CDK.IStackResource> * string * Amazon.CDK.AWS.SQS.IQueueProps -> Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.AWS.CDK.IConstructResource<Amazon.CDK.AWS.SQS.Queue>>
<Extension()>
Public Function AddSQSQueue (builder As IResourceBuilder(Of IStackResource), name As String, Optional props As IQueueProps = Nothing) As IResourceBuilder(Of IConstructResource(Of Queue))

Parameters

builder
IResourceBuilder<IStackResource>

The builder for the AWS CDK stack.

name
String

The name of the resource.

props
Amazon.CDK.AWS.SQS.IQueueProps

The properties of the queue.

Returns

IResourceBuilder<IConstructResource<Amazon.CDK.AWS.SQS.Queue>>

Applies to