CfnPushTemplateProps

class aws_cdk.aws_pinpoint.CfnPushTemplateProps(*, adm=None, apns=None, baidu=None, default=None, default_substitutions=None, gcm=None, tags=None, template_description=None, template_name)

Bases: object

Properties for defining a AWS::Pinpoint::PushTemplate.

Parameters
Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-pushtemplate.html

Example:

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

# tags is of type object

cfn_push_template_props = pinpoint.CfnPushTemplateProps(
    template_name="templateName",

    # the properties below are optional
    adm=pinpoint.CfnPushTemplate.AndroidPushNotificationTemplateProperty(
        action="action",
        body="body",
        image_icon_url="imageIconUrl",
        image_url="imageUrl",
        small_image_icon_url="smallImageIconUrl",
        sound="sound",
        title="title",
        url="url"
    ),
    apns=pinpoint.CfnPushTemplate.APNSPushNotificationTemplateProperty(
        action="action",
        body="body",
        media_url="mediaUrl",
        sound="sound",
        title="title",
        url="url"
    ),
    baidu=pinpoint.CfnPushTemplate.AndroidPushNotificationTemplateProperty(
        action="action",
        body="body",
        image_icon_url="imageIconUrl",
        image_url="imageUrl",
        small_image_icon_url="smallImageIconUrl",
        sound="sound",
        title="title",
        url="url"
    ),
    default=pinpoint.CfnPushTemplate.DefaultPushNotificationTemplateProperty(
        action="action",
        body="body",
        sound="sound",
        title="title",
        url="url"
    ),
    default_substitutions="defaultSubstitutions",
    gcm=pinpoint.CfnPushTemplate.AndroidPushNotificationTemplateProperty(
        action="action",
        body="body",
        image_icon_url="imageIconUrl",
        image_url="imageUrl",
        small_image_icon_url="smallImageIconUrl",
        sound="sound",
        title="title",
        url="url"
    ),
    tags=tags,
    template_description="templateDescription"
)

Attributes

adm

AWS::Pinpoint::PushTemplate.ADM.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-pushtemplate.html#cfn-pinpoint-pushtemplate-adm

Return type

Union[IResolvable, AndroidPushNotificationTemplateProperty, None]

apns

AWS::Pinpoint::PushTemplate.APNS.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-pushtemplate.html#cfn-pinpoint-pushtemplate-apns

Return type

Union[IResolvable, APNSPushNotificationTemplateProperty, None]

baidu

AWS::Pinpoint::PushTemplate.Baidu.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-pushtemplate.html#cfn-pinpoint-pushtemplate-baidu

Return type

Union[IResolvable, AndroidPushNotificationTemplateProperty, None]

default

AWS::Pinpoint::PushTemplate.Default.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-pushtemplate.html#cfn-pinpoint-pushtemplate-default

Return type

Union[IResolvable, DefaultPushNotificationTemplateProperty, None]

default_substitutions

AWS::Pinpoint::PushTemplate.DefaultSubstitutions.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-pushtemplate.html#cfn-pinpoint-pushtemplate-defaultsubstitutions

Return type

Optional[str]

gcm

AWS::Pinpoint::PushTemplate.GCM.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-pushtemplate.html#cfn-pinpoint-pushtemplate-gcm

Return type

Union[IResolvable, AndroidPushNotificationTemplateProperty, None]

tags

AWS::Pinpoint::PushTemplate.Tags.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-pushtemplate.html#cfn-pinpoint-pushtemplate-tags

Return type

Any

template_description

AWS::Pinpoint::PushTemplate.TemplateDescription.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-pushtemplate.html#cfn-pinpoint-pushtemplate-templatedescription

Return type

Optional[str]

template_name

AWS::Pinpoint::PushTemplate.TemplateName.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-pushtemplate.html#cfn-pinpoint-pushtemplate-templatename

Return type

str