libZSservicesZSamazonka-devops-guruZSamazonka-devops-guru
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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. For more information, see Permissions for cross account Amazon SNS topics.

If you use an Amazon SNS topic that is encrypted by an AWS Key Management Service customer-managed key (CMK), then you must add permissions to the CMK. For more information, see Permissions for AWS 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
Eq SnsChannelConfig Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.SnsChannelConfig

Read SnsChannelConfig Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.SnsChannelConfig

Show 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 #

NFData SnsChannelConfig Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.SnsChannelConfig

Methods

rnf :: SnsChannelConfig -> () #

Hashable SnsChannelConfig Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.SnsChannelConfig

ToJSON SnsChannelConfig Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.SnsChannelConfig

FromJSON 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" "libZSservicesZSamazonka-devops-guruZSamazonka-devops-guru" '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.