CfnEmailContactPropsMixin

class aws_cdk.mixins_preview.aws_notificationscontacts.mixins.CfnEmailContactPropsMixin(props, *, strategy=None)

Bases: Mixin

Configures email contacts for AWS User Notifications .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-notificationscontacts-emailcontact.html

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:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

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

Stability:

experimental

EmailContactProperty

class CfnEmailContactPropsMixin.EmailContactProperty(*, address=None, arn=None, creation_time=None, name=None, status=None, update_time=None)

Bases: object

Configures 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 the EmailContact .

  • 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 the EmailContact was last updated.

See:

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

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-notificationscontacts-emailcontact-emailcontact.html#cfn-notificationscontacts-emailcontact-emailcontact-address

arn

The Amazon Resource Name (ARN) of the contact.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-notificationscontacts-emailcontact-emailcontact.html#cfn-notificationscontacts-emailcontact-emailcontact-arn

creation_time

The creation time of the EmailContact .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-notificationscontacts-emailcontact-emailcontact.html#cfn-notificationscontacts-emailcontact-emailcontact-creationtime

name

The name of the contact.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-notificationscontacts-emailcontact-emailcontact.html#cfn-notificationscontacts-emailcontact-emailcontact-name

status

The status of the contact.

Only activated contacts receive emails.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-notificationscontacts-emailcontact-emailcontact.html#cfn-notificationscontacts-emailcontact-emailcontact-status

update_time

The time the EmailContact was last updated.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-notificationscontacts-emailcontact-emailcontact.html#cfn-notificationscontacts-emailcontact-emailcontact-updatetime