CfnNotificationPropsMixin

class aws_cdk.mixins_preview.aws_connect.mixins.CfnNotificationPropsMixin(props, *, strategy=None)

Bases: Mixin

Resource 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:

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 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.

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: object

The 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-notification-notificationcontent.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_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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-notification-notificationcontent.html#cfn-connect-notification-notificationcontent-dede

en_us

Localized notification content.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-notification-notificationcontent.html#cfn-connect-notification-notificationcontent-enus

es_es

Localized notification content.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-notification-notificationcontent.html#cfn-connect-notification-notificationcontent-eses

fr_fr

Localized notification content.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-notification-notificationcontent.html#cfn-connect-notification-notificationcontent-frfr

id_id

Localized notification content.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-notification-notificationcontent.html#cfn-connect-notification-notificationcontent-idid

it_it

Localized notification content.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-notification-notificationcontent.html#cfn-connect-notification-notificationcontent-itit

ja_jp

Localized notification content.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-notification-notificationcontent.html#cfn-connect-notification-notificationcontent-jajp

ko_kr

Localized notification content.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-notification-notificationcontent.html#cfn-connect-notification-notificationcontent-kokr

pt_br

Localized notification content.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-notification-notificationcontent.html#cfn-connect-notification-notificationcontent-ptbr

zh_cn

Localized notification content.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-notification-notificationcontent.html#cfn-connect-notification-notificationcontent-zhcn

zh_tw

Localized notification content.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-notification-notificationcontent.html#cfn-connect-notification-notificationcontent-zhtw