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

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

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

aws-native.sqs.getQueueInlinePolicy

Explore with Pulumi AI

aws-native logo

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

AWS Native v0.126.0 published on Monday, Sep 30, 2024 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>
    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]
    func LookupQueueInlinePolicy(ctx *Context, args *LookupQueueInlinePolicyArgs, opts ...InvokeOption) (*LookupQueueInlinePolicyResult, error)
    func LookupQueueInlinePolicyOutput(ctx *Context, args *LookupQueueInlinePolicyOutputArgs, opts ...InvokeOption) LookupQueueInlinePolicyResultOutput

    > 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)
    }
    public static CompletableFuture<GetQueueInlinePolicyResult> getQueueInlinePolicy(GetQueueInlinePolicyArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:sqs:getQueueInlinePolicy
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Queue string
    The URL of the SQS queue.
    Queue string
    The URL of the SQS queue.
    queue String
    The URL of the SQS queue.
    queue string
    The URL of the SQS queue.
    queue str
    The URL of the SQS queue.
    queue 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
    aws-native logo

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

    AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi