We recommend new projects start with resources from the AWS provider.
published on Monday, Mar 30, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Mar 30, 2026 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)
public static Output<GetTopicInlinePolicyResult> getTopicInlinePolicy(GetTopicInlinePolicyArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:sns:getTopicInlinePolicy
arguments:
# arguments dictionaryThe following arguments are supported:
- Topic
Arn string - The Amazon Resource Name (ARN) of the topic to which you want to add the policy.
- Topic
Arn string - The Amazon Resource Name (ARN) of the topic to which you want to add the policy.
- topic
Arn String - The Amazon Resource Name (ARN) of the topic to which you want to add the policy.
- topic
Arn 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.
- topic
Arn 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:
- Policy
Document object A policy document that contains permissions to add to the specified SNS topics.
Search the CloudFormation User Guide for
AWS::SNS::TopicInlinePolicyfor more information about the expected schema for this property.
- Policy
Document interface{} A policy document that contains permissions to add to the specified SNS topics.
Search the CloudFormation User Guide for
AWS::SNS::TopicInlinePolicyfor more information about the expected schema for this property.
- policy
Document Object A policy document that contains permissions to add to the specified SNS topics.
Search the CloudFormation User Guide for
AWS::SNS::TopicInlinePolicyfor 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::TopicInlinePolicyfor 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::TopicInlinePolicyfor 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::TopicInlinePolicyfor 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.
published on Monday, Mar 30, 2026 by Pulumi
