amazonka-devops-guru-2.0: Amazon DevOps Guru 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.DevOpsGuru.Types.SnsChannelConfig

Description

 
Synopsis

Documentation

data SnsChannelConfig Source #

Contains the Amazon Resource Name (ARN) of an Amazon Simple Notification Service topic.

If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission to it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. DevOps Guru only supports standard SNS topics. For more information, see Permissions for cross account Amazon SNS topics.

If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission to it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. For more information, see Permissions for cross account Amazon SNS topics.

If you use an Amazon SNS topic that is encrypted by an Amazon Web Services Key Management Service customer-managed key (CMK), then you must add permissions to the CMK. For more information, see Permissions for Amazon Web Services KMS–encrypted Amazon SNS topics.

See: newSnsChannelConfig smart constructor.

Constructors

SnsChannelConfig' 

Fields

  • topicArn :: Maybe Text

    The Amazon Resource Name (ARN) of an Amazon Simple Notification Service topic.

Instances

Instances details
FromJSON SnsChannelConfig Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.SnsChannelConfig

ToJSON SnsChannelConfig Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.SnsChannelConfig

Generic SnsChannelConfig Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.SnsChannelConfig

Associated Types

type Rep SnsChannelConfig :: Type -> Type #

Read SnsChannelConfig Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.SnsChannelConfig

Show SnsChannelConfig Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.SnsChannelConfig

NFData SnsChannelConfig Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.SnsChannelConfig

Methods

rnf :: SnsChannelConfig -> () #

Eq SnsChannelConfig Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.SnsChannelConfig

Hashable SnsChannelConfig Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.SnsChannelConfig

type Rep SnsChannelConfig Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.SnsChannelConfig

type Rep SnsChannelConfig = D1 ('MetaData "SnsChannelConfig" "Amazonka.DevOpsGuru.Types.SnsChannelConfig" "amazonka-devops-guru-2.0-C03FLSgo73f1Pu5ftIREHS" 'False) (C1 ('MetaCons "SnsChannelConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "topicArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newSnsChannelConfig :: SnsChannelConfig Source #

Create a value of SnsChannelConfig 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:topicArn:SnsChannelConfig', snsChannelConfig_topicArn - The Amazon Resource Name (ARN) of an Amazon Simple Notification Service topic.

snsChannelConfig_topicArn :: Lens' SnsChannelConfig (Maybe Text) Source #

The Amazon Resource Name (ARN) of an Amazon Simple Notification Service topic.