Skip to content
v2.278.0

CfnNotificationChannelPropsMixin Mixin ​

Adds a notification channel to DevOps Guru.

A notification channel is used to notify you about important DevOps Guru events, such as when an insight is generated.

If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission to send 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 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 .

Initializer ​

ts
new CfnNotificationChannelPropsMixin(props: CfnNotificationChannelMixinProps, options?: CfnPropertyMixinOptions)
python
CfnNotificationChannelPropsMixin(props: CfnNotificationChannelMixinProps, options: typing.Optional[CfnPropertyMixinOptions] = None)
java
new CfnNotificationChannelPropsMixin(CfnNotificationChannelMixinProps props, CfnPropertyMixinOptions options)
csharp
new CfnNotificationChannelPropsMixin(CfnNotificationChannelMixinProps props, CfnPropertyMixinOptions? options = null)
go
NewCfnNotificationChannelPropsMixin(Props CfnNotificationChannelMixinProps, Options CfnPropertyMixinOptions)

Methods ​

applyTo(construct: IConstruct): voiddef apply_to(self, construct: IConstruct) -> Nonepublic void applyTo(IConstruct construct)public void ApplyTo(IConstruct construct)func ApplyTo(Construct IConstruct) #
Apply the mixin properties to the construct.
isMixin(x: any): boolean@staticmethod def is_mixin(x: Any) -> boolpublic static Boolean isMixin(Object x)public static bool IsMixin(object x)func IsMixin(X interface{}) *bool static #
Checks if `x` is a Mixin.
1 parameter · returns

Parameters

  • xxxxX — Any object.

Returns: true if x is an object created from a class which extends Mixin.

supports(construct: IConstruct): booleandef supports(self, construct: IConstruct) -> boolpublic Boolean supports(IConstruct construct)public bool Supports(IConstruct construct)func Supports(Construct IConstruct) *bool #
Check if this mixin supports the given construct.