CfnContactListPropsMixin

class aws_cdk.mixins_preview.aws_ses.mixins.CfnContactListPropsMixin(props, *, strategy=None)

Bases: Mixin

A list that contains contacts that have subscribed to a particular topic or topics.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-contactlist.html

CloudformationResource:

AWS::SES::ContactList

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_ses import mixins as ses_mixins

cfn_contact_list_props_mixin = ses_mixins.CfnContactListPropsMixin(ses_mixins.CfnContactListMixinProps(
    contact_list_name="contactListName",
    description="description",
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    topics=[ses_mixins.CfnContactListPropsMixin.TopicProperty(
        default_subscription_status="defaultSubscriptionStatus",
        description="description",
        display_name="displayName",
        topic_name="topicName"
    )]
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::SES::ContactList.

Parameters:
  • props (Union[CfnContactListMixinProps, 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:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['contactListName', 'description', 'tags', 'topics']

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

TopicProperty

class CfnContactListPropsMixin.TopicProperty(*, default_subscription_status=None, description=None, display_name=None, topic_name=None)

Bases: object

An interest group, theme, or label within a list.

Lists can have multiple topics.

Parameters:
  • default_subscription_status (Optional[str]) – The default subscription status to be applied to a contact if the contact has not noted their preference for subscribing to a topic.

  • description (Optional[str]) – A description of what the topic is about, which the contact will see.

  • display_name (Optional[str]) – The name of the topic the contact will see.

  • topic_name (Optional[str]) – The name of the topic.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-contactlist-topic.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_ses import mixins as ses_mixins

topic_property = ses_mixins.CfnContactListPropsMixin.TopicProperty(
    default_subscription_status="defaultSubscriptionStatus",
    description="description",
    display_name="displayName",
    topic_name="topicName"
)

Attributes

default_subscription_status

The default subscription status to be applied to a contact if the contact has not noted their preference for subscribing to a topic.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-contactlist-topic.html#cfn-ses-contactlist-topic-defaultsubscriptionstatus

description

A description of what the topic is about, which the contact will see.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-contactlist-topic.html#cfn-ses-contactlist-topic-description

display_name

The name of the topic the contact will see.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-contactlist-topic.html#cfn-ses-contactlist-topic-displayname

topic_name

The name of the topic.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-contactlist-topic.html#cfn-ses-contactlist-topic-topicname