CfnNotificationPropsMixin
- class aws_cdk.mixins_preview.aws_connect.mixins.CfnNotificationPropsMixin(props, *, strategy=None)
Bases:
MixinResource Type definition for AWS::Connect::Notification.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-notification.html
- CloudformationResource:
AWS::Connect::Notification
- Mixin:
true
- ExampleMetadata:
fixture=_generated
Example:
from aws_cdk import CfnTag # 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_connect import mixins as connect_mixins cfn_notification_props_mixin = connect_mixins.CfnNotificationPropsMixin(connect_mixins.CfnNotificationMixinProps( content=connect_mixins.CfnNotificationPropsMixin.NotificationContentProperty( de_de="deDe", en_us="enUs", es_es="esEs", fr_fr="frFr", id_id="idId", it_it="itIt", ja_jp="jaJp", ko_kr="koKr", pt_br="ptBr", zh_cn="zhCn", zh_tw="zhTw" ), expires_at="expiresAt", instance_arn="instanceArn", priority="priority", recipients=["recipients"], tags=[CfnTag( key="key", value="value" )] ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::Connect::Notification.- Parameters:
props (
Union[CfnNotificationMixinProps,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:
None
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['content', 'expiresAt', 'instanceArn', 'priority', 'recipients', 'tags']
Static Methods
- classmethod is_mixin(x)
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.
NotificationContentProperty
- class CfnNotificationPropsMixin.NotificationContentProperty(*, de_de=None, en_us=None, es_es=None, fr_fr=None, id_id=None, it_it=None, ja_jp=None, ko_kr=None, pt_br=None, zh_cn=None, zh_tw=None)
Bases:
objectThe content of a notification.
- Parameters:
de_de (
Optional[str]) – Localized notification content.en_us (
Optional[str]) – Localized notification content.es_es (
Optional[str]) – Localized notification content.fr_fr (
Optional[str]) – Localized notification content.id_id (
Optional[str]) – Localized notification content.it_it (
Optional[str]) – Localized notification content.ja_jp (
Optional[str]) – Localized notification content.ko_kr (
Optional[str]) – Localized notification content.pt_br (
Optional[str]) – Localized notification content.zh_cn (
Optional[str]) – Localized notification content.zh_tw (
Optional[str]) – Localized notification content.
- 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_connect import mixins as connect_mixins notification_content_property = connect_mixins.CfnNotificationPropsMixin.NotificationContentProperty( de_de="deDe", en_us="enUs", es_es="esEs", fr_fr="frFr", id_id="idId", it_it="itIt", ja_jp="jaJp", ko_kr="koKr", pt_br="ptBr", zh_cn="zhCn", zh_tw="zhTw" )
Attributes
- de_de
Localized notification content.
- en_us
Localized notification content.
- es_es
Localized notification content.
- fr_fr
Localized notification content.
- id_id
Localized notification content.
- it_it
Localized notification content.
- ja_jp
Localized notification content.
- ko_kr
Localized notification content.
- pt_br
Localized notification content.
- zh_cn
Localized notification content.