amazonka-accessanalyzer-2.0: Amazon Access Analyzer SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.AccessAnalyzer.Types.SnsTopicConfiguration

Description

 
Synopsis

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.

Constructors

SnsTopicConfiguration' 

Fields

Instances

Instances details
FromJSON SnsTopicConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.SnsTopicConfiguration

ToJSON SnsTopicConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.SnsTopicConfiguration

Generic SnsTopicConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.SnsTopicConfiguration

Associated Types

type Rep SnsTopicConfiguration :: Type -> Type #

Read SnsTopicConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.SnsTopicConfiguration

Show SnsTopicConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.SnsTopicConfiguration

NFData SnsTopicConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.SnsTopicConfiguration

Methods

rnf :: SnsTopicConfiguration -> () #

Eq SnsTopicConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.SnsTopicConfiguration

Hashable SnsTopicConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.SnsTopicConfiguration

type Rep SnsTopicConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.SnsTopicConfiguration

type Rep SnsTopicConfiguration = D1 ('MetaData "SnsTopicConfiguration" "Amazonka.AccessAnalyzer.Types.SnsTopicConfiguration" "amazonka-accessanalyzer-2.0-A0JZirwj4a95MolJaaBere" 'False) (C1 ('MetaCons "SnsTopicConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "topicPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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.