CfnNotificationHubPropsMixin

class aws_cdk.mixins_preview.aws_notifications.mixins.CfnNotificationHubPropsMixin(props, *, strategy=None)

Bases: Mixin

Configures a NotificationHub for AWS User Notifications .

For more information about notification hub, see the AWS User Notifications User Guide .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-notifications-notificationhub.html

CloudformationResource:

AWS::Notifications::NotificationHub

Mixin:

true

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.mixins_preview import mixins
from aws_cdk.mixins_preview.aws_notifications import mixins as notifications_mixins

cfn_notification_hub_props_mixin = notifications_mixins.CfnNotificationHubPropsMixin(notifications_mixins.CfnNotificationHubMixinProps(
    region="region"
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::Notifications::NotificationHub.

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['region']

Static Methods

classmethod is_mixin(x)

(experimental) Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

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

Stability:

experimental

NotificationHubStatusSummaryProperty

class CfnNotificationHubPropsMixin.NotificationHubStatusSummaryProperty(*, notification_hub_status=None, notification_hub_status_reason=None)

Bases: object

Provides additional information about the current NotificationHub status.

Parameters:
  • notification_hub_status (Optional[str]) – Indicates the current status of the NotificationHub .

  • notification_hub_status_reason (Optional[str]) – An explanation for the current status.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-notifications-notificationhub-notificationhubstatussummary.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.mixins_preview.aws_notifications import mixins as notifications_mixins

notification_hub_status_summary_property = notifications_mixins.CfnNotificationHubPropsMixin.NotificationHubStatusSummaryProperty(
    notification_hub_status="notificationHubStatus",
    notification_hub_status_reason="notificationHubStatusReason"
)

Attributes

notification_hub_status

Indicates the current status of the NotificationHub .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-notifications-notificationhub-notificationhubstatussummary.html#cfn-notifications-notificationhub-notificationhubstatussummary-notificationhubstatus

notification_hub_status_reason

An explanation for the current status.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-notifications-notificationhub-notificationhubstatussummary.html#cfn-notifications-notificationhub-notificationhubstatussummary-notificationhubstatusreason