Skip to main content

topic_inline_policy

Gets an individual topic_inline_policy resource

Overview

Nametopic_inline_policy
TypeResource
Descriptiontopic_inline_policy
Idawscc.sns.topic_inline_policy

Fields

NameDatatypeDescription
policy_documentobjectA policy document that contains permissions to add to the specified SNS topics.
topic_arnstringThe Amazon Resource Name (ARN) of the topic to which you want to add the policy.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
policy_document,
topic_arn
FROM awscc.sns.topic_inline_policy
WHERE data__Identifier = '<TopicArn>';

Permissions

To operate on the topic_inline_policy resource, the following permissions are required:

Read

sns:GetTopicAttributes

Delete

sns:SetTopicAttributes,
sns:GetTopicAttributes

Update

sns:SetTopicAttributes,
sns:GetTopicAttributes