1. Packages
  2. AWS Native
  3. API Docs
  4. sns
  5. getTopicInlinePolicy

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi

aws-native.sns.getTopicInlinePolicy

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi

    Schema for AWS::SNS::TopicInlinePolicy

    Using getTopicInlinePolicy

    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 getTopicInlinePolicy(args: GetTopicInlinePolicyArgs, opts?: InvokeOptions): Promise<GetTopicInlinePolicyResult>
    function getTopicInlinePolicyOutput(args: GetTopicInlinePolicyOutputArgs, opts?: InvokeOptions): Output<GetTopicInlinePolicyResult>
    def get_topic_inline_policy(topic_arn: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetTopicInlinePolicyResult
    def get_topic_inline_policy_output(topic_arn: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetTopicInlinePolicyResult]
    func LookupTopicInlinePolicy(ctx *Context, args *LookupTopicInlinePolicyArgs, opts ...InvokeOption) (*LookupTopicInlinePolicyResult, error)
    func LookupTopicInlinePolicyOutput(ctx *Context, args *LookupTopicInlinePolicyOutputArgs, opts ...InvokeOption) LookupTopicInlinePolicyResultOutput

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

    public static class GetTopicInlinePolicy 
    {
        public static Task<GetTopicInlinePolicyResult> InvokeAsync(GetTopicInlinePolicyArgs args, InvokeOptions? opts = null)
        public static Output<GetTopicInlinePolicyResult> Invoke(GetTopicInlinePolicyInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTopicInlinePolicyResult> getTopicInlinePolicy(GetTopicInlinePolicyArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:sns:getTopicInlinePolicy
      arguments:
        # arguments dictionary

    The following arguments are supported:

    TopicArn string
    The Amazon Resource Name (ARN) of the topic to which you want to add the policy.
    TopicArn string
    The Amazon Resource Name (ARN) of the topic to which you want to add the policy.
    topicArn String
    The Amazon Resource Name (ARN) of the topic to which you want to add the policy.
    topicArn string
    The Amazon Resource Name (ARN) of the topic to which you want to add the policy.
    topic_arn str
    The Amazon Resource Name (ARN) of the topic to which you want to add the policy.
    topicArn String
    The Amazon Resource Name (ARN) of the topic to which you want to add the policy.

    getTopicInlinePolicy Result

    The following output properties are available:

    PolicyDocument object

    A policy document that contains permissions to add to the specified SNS topics.

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

    PolicyDocument interface{}

    A policy document that contains permissions to add to the specified SNS topics.

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

    policyDocument Object

    A policy document that contains permissions to add to the specified SNS topics.

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

    policyDocument any

    A policy document that contains permissions to add to the specified SNS topics.

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

    policy_document Any

    A policy document that contains permissions to add to the specified SNS topics.

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

    policyDocument Any

    A policy document that contains permissions to add to the specified SNS topics.

    Search the CloudFormation User Guide for AWS::SNS::TopicInlinePolicy 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

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi