AWS Fundamentals Logo
AWS Fundamentals
AWS::SNS::TopicInlinePolicy

SNS TopicInlinePolicy

Schema for AWS::SNS::TopicInlinePolicy

Properties

2 configurable properties. 2 required. Click a row to see details.

Filter:
PropertyTypeFlags
PolicyDocument
object
Required
TopicArn
string
RequiredCreate-only

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::SNS::TopicInlinePolicy

Resources:
  MyResource:
    Type: AWS::SNS::TopicInlinePolicy
    Properties:
      PolicyDocument: {}
      TopicArn: "arn:aws:service:region:account:resource"

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

sns:SetTopicAttributessns:GetTopicAttributes

read

sns:GetTopicAttributes

delete

sns:SetTopicAttributessns:GetTopicAttributes

update

sns:SetTopicAttributessns:GetTopicAttributes

Get the SNS Cheat Sheet

Everything you need to know about SNS on one page. HD quality, print-friendly.

Download Free Infographic

Quick Facts

ServiceSNS
Properties2
Required2
TaggingNot supported
Primary IDTopicArn

Supported Operations

CreateReadDeleteUpdate

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

TopicArn

External Links