Skip to content

/AWS1/CL_AANSNSTOPICCONF

The proposed access control configuration for an Amazon SNS topic. You can propose a configuration for a new Amazon SNS topic or an existing Amazon SNS topic that you own by specifying the policy. If the configuration is for an existing Amazon SNS topic and you do not specify the Amazon SNS policy, then the access preview uses the existing Amazon SNS policy for the topic. If the access preview is for a new resource and you do not specify the policy, then the access preview assumes an Amazon SNS topic without a policy. To propose deletion of an existing Amazon SNS topic policy, you can specify an empty string for the Amazon SNS policy. For more information, see Topic.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_topicpolicy TYPE /AWS1/AANSNSTOPICPOLICY /AWS1/AANSNSTOPICPOLICY

The JSON policy text that defines who can access an Amazon SNS topic. For more information, see Example cases for Amazon SNS access control in the Amazon SNS Developer Guide.


Queryable Attributes

topicPolicy

The JSON policy text that defines who can access an Amazon SNS topic. For more information, see Example cases for Amazon SNS access control in the Amazon SNS Developer Guide.

Accessible with the following methods

Method Description
GET_TOPICPOLICY() Getter for TOPICPOLICY, with configurable default
ASK_TOPICPOLICY() Getter for TOPICPOLICY w/ exceptions if field has no value
HAS_TOPICPOLICY() Determine if TOPICPOLICY has a value