CfnEmailContactPropsMixin
- class aws_cdk.mixins_preview.aws_notificationscontacts.mixins.CfnEmailContactPropsMixin(props, *, strategy=None)
Bases:
MixinConfigures email contacts for AWS User Notifications .
- See:
- CloudformationResource:
AWS::NotificationsContacts::EmailContact
- 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_notificationscontacts import mixins as notificationscontacts_mixins cfn_email_contact_props_mixin = notificationscontacts_mixins.CfnEmailContactPropsMixin(notificationscontacts_mixins.CfnEmailContactMixinProps( email_address="emailAddress", name="name", tags=[CfnTag( key="key", value="value" )] ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::NotificationsContacts::EmailContact.- Parameters:
props (
Union[CfnEmailContactMixinProps,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 = ['emailAddress', 'name', 'tags']
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
EmailContactProperty
- class CfnEmailContactPropsMixin.EmailContactProperty(*, address=None, arn=None, creation_time=None, name=None, status=None, update_time=None)
Bases:
objectConfigures email contacts for AWS User Notifications .
You must activate the email contact using the activation token that you will receive when the email contact is set up.
- Parameters:
address (
Optional[str]) – The email address of the contact.arn (
Optional[str]) – The Amazon Resource Name (ARN) of the contact.creation_time (
Optional[str]) – The creation time of theEmailContact.name (
Optional[str]) – The name of the contact.status (
Optional[str]) – The status of the contact. Only activated contacts receive emails.update_time (
Optional[str]) – The time theEmailContactwas last updated.
- 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_notificationscontacts import mixins as notificationscontacts_mixins email_contact_property = notificationscontacts_mixins.CfnEmailContactPropsMixin.EmailContactProperty( address="address", arn="arn", creation_time="creationTime", name="name", status="status", update_time="updateTime" )
Attributes
- address
The email address of the contact.
- arn
The Amazon Resource Name (ARN) of the contact.
- creation_time
The creation time of the
EmailContact.
- name
The name of the contact.
- status
The status of the contact.
Only activated contacts receive emails.
- update_time
The time the
EmailContactwas last updated.