CfnContactPropsMixin

class aws_cdk.mixins_preview.aws_ssmcontacts.mixins.CfnContactPropsMixin(props, *, strategy=None)

Bases: Mixin

The AWS::SSMContacts::Contact resource specifies a contact or escalation plan.

Incident Manager contacts are a subset of actions and data types that you can use for managing responder engagement and interaction.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmcontacts-contact.html

CloudformationResource:

AWS::SSMContacts::Contact

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_ssmcontacts import mixins as ssmcontacts_mixins

cfn_contact_props_mixin = ssmcontacts_mixins.CfnContactPropsMixin(ssmcontacts_mixins.CfnContactMixinProps(
    alias="alias",
    display_name="displayName",
    plan=[ssmcontacts_mixins.CfnContactPropsMixin.StageProperty(
        duration_in_minutes=123,
        rotation_ids=["rotationIds"],
        targets=[ssmcontacts_mixins.CfnContactPropsMixin.TargetsProperty(
            channel_target_info=ssmcontacts_mixins.CfnContactPropsMixin.ChannelTargetInfoProperty(
                channel_id="channelId",
                retry_interval_in_minutes=123
            ),
            contact_target_info=ssmcontacts_mixins.CfnContactPropsMixin.ContactTargetInfoProperty(
                contact_id="contactId",
                is_essential=False
            )
        )]
    )],
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    type="type"
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::SSMContacts::Contact.

Parameters:
  • props (Union[CfnContactMixinProps, 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 = ['alias', 'displayName', 'plan', 'tags', 'type']

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

ChannelTargetInfoProperty

class CfnContactPropsMixin.ChannelTargetInfoProperty(*, channel_id=None, retry_interval_in_minutes=None)

Bases: object

Information about the contact channel that Incident Manager uses to engage the contact.

Parameters:
  • channel_id (Optional[str]) – The Amazon Resource Name (ARN) of the contact channel.

  • retry_interval_in_minutes (Union[int, float, None]) – The number of minutes to wait before retrying to send engagement if the engagement initially failed.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmcontacts-contact-channeltargetinfo.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_ssmcontacts import mixins as ssmcontacts_mixins

channel_target_info_property = ssmcontacts_mixins.CfnContactPropsMixin.ChannelTargetInfoProperty(
    channel_id="channelId",
    retry_interval_in_minutes=123
)

Attributes

channel_id

The Amazon Resource Name (ARN) of the contact channel.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmcontacts-contact-channeltargetinfo.html#cfn-ssmcontacts-contact-channeltargetinfo-channelid

retry_interval_in_minutes

The number of minutes to wait before retrying to send engagement if the engagement initially failed.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmcontacts-contact-channeltargetinfo.html#cfn-ssmcontacts-contact-channeltargetinfo-retryintervalinminutes

ContactTargetInfoProperty

class CfnContactPropsMixin.ContactTargetInfoProperty(*, contact_id=None, is_essential=None)

Bases: object

The contact that Incident Manager is engaging during an incident.

Parameters:
  • contact_id (Optional[str]) – The Amazon Resource Name (ARN) of the contact.

  • is_essential (Union[bool, IResolvable, None]) – A Boolean value determining if the contact’s acknowledgement stops the progress of stages in the plan.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmcontacts-contact-contacttargetinfo.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_ssmcontacts import mixins as ssmcontacts_mixins

contact_target_info_property = ssmcontacts_mixins.CfnContactPropsMixin.ContactTargetInfoProperty(
    contact_id="contactId",
    is_essential=False
)

Attributes

contact_id

The Amazon Resource Name (ARN) of the contact.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmcontacts-contact-contacttargetinfo.html#cfn-ssmcontacts-contact-contacttargetinfo-contactid

is_essential

A Boolean value determining if the contact’s acknowledgement stops the progress of stages in the plan.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmcontacts-contact-contacttargetinfo.html#cfn-ssmcontacts-contact-contacttargetinfo-isessential

StageProperty

class CfnContactPropsMixin.StageProperty(*, duration_in_minutes=None, rotation_ids=None, targets=None)

Bases: object

The Stage property type specifies a set amount of time that an escalation plan or engagement plan engages the specified contacts or contact methods.

Parameters:
  • duration_in_minutes (Union[int, float, None]) – The time to wait until beginning the next stage. The duration can only be set to 0 if a target is specified.

  • rotation_ids (Optional[Sequence[str]]) – The Amazon Resource Names (ARNs) of the on-call rotations associated with the plan.

  • targets (Union[IResolvable, Sequence[Union[IResolvable, TargetsProperty, Dict[str, Any]]], None]) – The contacts or contact methods that the escalation plan or engagement plan is engaging.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmcontacts-contact-stage.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_ssmcontacts import mixins as ssmcontacts_mixins

stage_property = ssmcontacts_mixins.CfnContactPropsMixin.StageProperty(
    duration_in_minutes=123,
    rotation_ids=["rotationIds"],
    targets=[ssmcontacts_mixins.CfnContactPropsMixin.TargetsProperty(
        channel_target_info=ssmcontacts_mixins.CfnContactPropsMixin.ChannelTargetInfoProperty(
            channel_id="channelId",
            retry_interval_in_minutes=123
        ),
        contact_target_info=ssmcontacts_mixins.CfnContactPropsMixin.ContactTargetInfoProperty(
            contact_id="contactId",
            is_essential=False
        )
    )]
)

Attributes

duration_in_minutes

The time to wait until beginning the next stage.

The duration can only be set to 0 if a target is specified.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmcontacts-contact-stage.html#cfn-ssmcontacts-contact-stage-durationinminutes

rotation_ids

The Amazon Resource Names (ARNs) of the on-call rotations associated with the plan.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmcontacts-contact-stage.html#cfn-ssmcontacts-contact-stage-rotationids

targets

The contacts or contact methods that the escalation plan or engagement plan is engaging.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmcontacts-contact-stage.html#cfn-ssmcontacts-contact-stage-targets

TargetsProperty

class CfnContactPropsMixin.TargetsProperty(*, channel_target_info=None, contact_target_info=None)

Bases: object

The contact or contact channel that’s being engaged.

Parameters:
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmcontacts-contact-targets.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_ssmcontacts import mixins as ssmcontacts_mixins

targets_property = ssmcontacts_mixins.CfnContactPropsMixin.TargetsProperty(
    channel_target_info=ssmcontacts_mixins.CfnContactPropsMixin.ChannelTargetInfoProperty(
        channel_id="channelId",
        retry_interval_in_minutes=123
    ),
    contact_target_info=ssmcontacts_mixins.CfnContactPropsMixin.ContactTargetInfoProperty(
        contact_id="contactId",
        is_essential=False
    )
)

Attributes

channel_target_info

Information about the contact channel that Incident Manager engages.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmcontacts-contact-targets.html#cfn-ssmcontacts-contact-targets-channeltargetinfo

contact_target_info

The contact that Incident Manager is engaging during an incident.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmcontacts-contact-targets.html#cfn-ssmcontacts-contact-targets-contacttargetinfo