topic_inline_policy
Gets an individual topic_inline_policy
resource
Overview
Name | topic_inline_policy |
Type | Resource |
Description | topic_inline_policy |
Id | awscc.sns.topic_inline_policy |
Fields
Name | Datatype | Description |
---|---|---|
policy_document | object | A policy document that contains permissions to add to the specified SNS topics. |
topic_arn | string | The Amazon Resource Name (ARN) of the topic to which you want to add the policy. |
region | string | AWS 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