CfnNotificationChannelProps

class aws_cdk.aws_devopsguru.CfnNotificationChannelProps(*, config)

Bases: object

Properties for defining a CfnNotificationChannel.

Parameters

config (Union[NotificationChannelConfigProperty, Dict[str, Any], IResolvable]) – A NotificationChannelConfig object that contains information about configured notification channels.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsguru-notificationchannel.html

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_devopsguru as devopsguru

cfn_notification_channel_props = devopsguru.CfnNotificationChannelProps(
    config=devopsguru.CfnNotificationChannel.NotificationChannelConfigProperty(
        filters=devopsguru.CfnNotificationChannel.NotificationFilterConfigProperty(
            message_types=["messageTypes"],
            severities=["severities"]
        ),
        sns=devopsguru.CfnNotificationChannel.SnsChannelConfigProperty(
            topic_arn="topicArn"
        )
    )
)

Attributes

config

A NotificationChannelConfig object that contains information about configured notification channels.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsguru-notificationchannel.html#cfn-devopsguru-notificationchannel-config

Return type

Union[NotificationChannelConfigProperty, IResolvable]