CfnContactProps

class aws_cdk.aws_ssmcontacts.CfnContactProps(*, alias, display_name, plan, type)

Bases: object

Properties for defining a AWS::SSMContacts::Contact.

Parameters
  • alias (str) – AWS::SSMContacts::Contact.Alias.

  • display_name (str) – AWS::SSMContacts::Contact.DisplayName.

  • plan (Union[IResolvable, Sequence[Union[StageProperty, IResolvable]]]) – AWS::SSMContacts::Contact.Plan.

  • type (str) – AWS::SSMContacts::Contact.Type.

Link

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

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_ssmcontacts as ssmcontacts

cfn_contact_props = ssmcontacts.CfnContactProps(
    alias="alias",
    display_name="displayName",
    plan=[ssmcontacts.CfnContact.StageProperty(
        duration_in_minutes=123,

        # the properties below are optional
        targets=[ssmcontacts.CfnContact.TargetsProperty(
            channel_target_info=ssmcontacts.CfnContact.ChannelTargetInfoProperty(
                channel_id="channelId",
                retry_interval_in_minutes=123
            ),
            contact_target_info=ssmcontacts.CfnContact.ContactTargetInfoProperty(
                contact_id="contactId",
                is_essential=False
            )
        )]
    )],
    type="type"
)

Attributes

alias

AWS::SSMContacts::Contact.Alias.

Link

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

Return type

str

display_name

AWS::SSMContacts::Contact.DisplayName.

Link

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

Return type

str

plan

AWS::SSMContacts::Contact.Plan.

Link

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

Return type

Union[IResolvable, List[Union[StageProperty, IResolvable]]]

type

AWS::SSMContacts::Contact.Type.

Link

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

Return type

str