Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
data SnsTopicConfiguration Source #
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.
See: newSnsTopicConfiguration
smart constructor.
SnsTopicConfiguration' | |
|
Instances
newSnsTopicConfiguration :: SnsTopicConfiguration Source #
Create a value of SnsTopicConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:topicPolicy:SnsTopicConfiguration'
, snsTopicConfiguration_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.
snsTopicConfiguration_topicPolicy :: Lens' SnsTopicConfiguration (Maybe Text) Source #
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.