1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. sqs
  5. getQueueInlinePolicy

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

aws-native.sqs.getQueueInlinePolicy

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

Schema for SQS QueueInlinePolicy

Using getQueueInlinePolicy

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getQueueInlinePolicy(args: GetQueueInlinePolicyArgs, opts?: InvokeOptions): Promise<GetQueueInlinePolicyResult>
function getQueueInlinePolicyOutput(args: GetQueueInlinePolicyOutputArgs, opts?: InvokeOptions): Output<GetQueueInlinePolicyResult>
Copy
def get_queue_inline_policy(queue: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetQueueInlinePolicyResult
def get_queue_inline_policy_output(queue: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetQueueInlinePolicyResult]
Copy
func LookupQueueInlinePolicy(ctx *Context, args *LookupQueueInlinePolicyArgs, opts ...InvokeOption) (*LookupQueueInlinePolicyResult, error)
func LookupQueueInlinePolicyOutput(ctx *Context, args *LookupQueueInlinePolicyOutputArgs, opts ...InvokeOption) LookupQueueInlinePolicyResultOutput
Copy

> Note: This function is named LookupQueueInlinePolicy in the Go SDK.

public static class GetQueueInlinePolicy 
{
    public static Task<GetQueueInlinePolicyResult> InvokeAsync(GetQueueInlinePolicyArgs args, InvokeOptions? opts = null)
    public static Output<GetQueueInlinePolicyResult> Invoke(GetQueueInlinePolicyInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetQueueInlinePolicyResult> getQueueInlinePolicy(GetQueueInlinePolicyArgs args, InvokeOptions options)
public static Output<GetQueueInlinePolicyResult> getQueueInlinePolicy(GetQueueInlinePolicyArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws-native:sqs:getQueueInlinePolicy
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Queue This property is required. string
The URL of the SQS queue.
Queue This property is required. string
The URL of the SQS queue.
queue This property is required. String
The URL of the SQS queue.
queue This property is required. string
The URL of the SQS queue.
queue This property is required. str
The URL of the SQS queue.
queue This property is required. String
The URL of the SQS queue.

getQueueInlinePolicy Result

The following output properties are available:

PolicyDocument object

A policy document that contains permissions to add to the specified SQS queue

Search the CloudFormation User Guide for AWS::SQS::QueueInlinePolicy for more information about the expected schema for this property.

PolicyDocument interface{}

A policy document that contains permissions to add to the specified SQS queue

Search the CloudFormation User Guide for AWS::SQS::QueueInlinePolicy for more information about the expected schema for this property.

policyDocument Object

A policy document that contains permissions to add to the specified SQS queue

Search the CloudFormation User Guide for AWS::SQS::QueueInlinePolicy for more information about the expected schema for this property.

policyDocument any

A policy document that contains permissions to add to the specified SQS queue

Search the CloudFormation User Guide for AWS::SQS::QueueInlinePolicy for more information about the expected schema for this property.

policy_document Any

A policy document that contains permissions to add to the specified SQS queue

Search the CloudFormation User Guide for AWS::SQS::QueueInlinePolicy for more information about the expected schema for this property.

policyDocument Any

A policy document that contains permissions to add to the specified SQS queue

Search the CloudFormation User Guide for AWS::SQS::QueueInlinePolicy for more information about the expected schema for this property.

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi