#[non_exhaustive]pub struct SnsTopicConfiguration { /* private fields */ }
Expand description
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.
Implementations§
source§impl SnsTopicConfiguration
impl SnsTopicConfiguration
sourcepub fn topic_policy(&self) -> Option<&str>
pub fn topic_policy(&self) -> Option<&str>
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.
source§impl SnsTopicConfiguration
impl SnsTopicConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SnsTopicConfiguration
.
Trait Implementations§
source§impl Clone for SnsTopicConfiguration
impl Clone for SnsTopicConfiguration
source§fn clone(&self) -> SnsTopicConfiguration
fn clone(&self) -> SnsTopicConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SnsTopicConfiguration
impl Debug for SnsTopicConfiguration
source§impl PartialEq<SnsTopicConfiguration> for SnsTopicConfiguration
impl PartialEq<SnsTopicConfiguration> for SnsTopicConfiguration
source§fn eq(&self, other: &SnsTopicConfiguration) -> bool
fn eq(&self, other: &SnsTopicConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.