Show / Hide Table of Contents

Class GetQueue

Inheritance
System.Object
GetQueue
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.Sqs
Assembly: Pulumi.Aws.dll
Syntax
public static class GetQueue

Methods

View Source

InvokeAsync(GetQueueArgs, InvokeOptions)

Use this data source to get the ARN and URL of queue in AWS Simple Queue Service (SQS). By using this data source, you can reference SQS queues without having to hardcode the ARNs as input.

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var example = Output.Create(Aws.Sqs.GetQueue.InvokeAsync(new Aws.Sqs.GetQueueArgs
    {
        Name = "queue",
    }));
}

}

{{% /example %}} {{% /examples %}}

Declaration
public static Task<GetQueueResult> InvokeAsync(GetQueueArgs args, InvokeOptions options = null)
Parameters
Type Name Description
GetQueueArgs args
InvokeOptions options
Returns
Type Description
System.Threading.Tasks.Task<GetQueueResult>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.