CfnSMSChannelPropsMixin
- class aws_cdk.mixins_preview.aws_pinpoint.mixins.CfnSMSChannelPropsMixin(props, *, strategy=None)
Bases:
MixinA channel is a type of platform that you can deliver messages to.
To send an SMS text message, you send the message through the SMS channel. Before you can use Amazon Pinpoint to send text messages, you have to enable the SMS channel for an Amazon Pinpoint application.
The SMSChannel resource represents the status, sender ID, and other settings for the SMS channel for an application.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-smschannel.html
- CloudformationResource:
AWS::Pinpoint::SMSChannel
- 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_pinpoint import mixins as pinpoint_mixins cfn_sMSChannel_props_mixin = pinpoint_mixins.CfnSMSChannelPropsMixin(pinpoint_mixins.CfnSMSChannelMixinProps( application_id="applicationId", enabled=False, sender_id="senderId", short_code="shortCode" ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::Pinpoint::SMSChannel.- Parameters:
props (
Union[CfnSMSChannelMixinProps,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 = ['applicationId', 'enabled', 'senderId', 'shortCode']
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