CfnNotificationHubPropsMixin
- class aws_cdk.mixins_preview.aws_notifications.mixins.CfnNotificationHubPropsMixin(props, *, strategy=None)
Bases:
MixinConfigures a
NotificationHubfor AWS User Notifications .For more information about notification hub, see the AWS User Notifications User Guide .
- See:
- 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:
props (
Union[CfnNotificationHubMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- 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
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental
NotificationHubStatusSummaryProperty
- class CfnNotificationHubPropsMixin.NotificationHubStatusSummaryProperty(*, notification_hub_status=None, notification_hub_status_reason=None)
Bases:
objectProvides additional information about the current
NotificationHubstatus.- Parameters:
notification_hub_status (
Optional[str]) – Indicates the current status of theNotificationHub.notification_hub_status_reason (
Optional[str]) – An explanation for the current status.
- See:
- 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.
- notification_hub_status_reason
An explanation for the current status.