CfnPlanProps

class aws_cdk.aws_ssmcontacts.CfnPlanProps(*, contact_id, rotation_ids=None, stages=None)

Bases: object

Properties for defining a CfnPlan.

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

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

  • stages (Union[IResolvable, Sequence[Union[IResolvable, StageProperty, Dict[str, Any]]], None]) – A list of stages that the escalation plan or engagement plan uses to engage contacts and contact methods.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmcontacts-plan.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 import aws_ssmcontacts as ssmcontacts

cfn_plan_props = ssmcontacts.CfnPlanProps(
    contact_id="contactId",

    # the properties below are optional
    rotation_ids=["rotationIds"],
    stages=[ssmcontacts.CfnPlan.StageProperty(
        duration_in_minutes=123,

        # the properties below are optional
        targets=[ssmcontacts.CfnPlan.TargetsProperty(
            channel_target_info=ssmcontacts.CfnPlan.ChannelTargetInfoProperty(
                channel_id="channelId",
                retry_interval_in_minutes=123
            ),
            contact_target_info=ssmcontacts.CfnPlan.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-resource-ssmcontacts-plan.html#cfn-ssmcontacts-plan-contactid

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-resource-ssmcontacts-plan.html#cfn-ssmcontacts-plan-rotationids

stages

A list of stages that the escalation plan or engagement plan uses to engage contacts and contact methods.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmcontacts-plan.html#cfn-ssmcontacts-plan-stages