CfnContactPropsMixin
- class aws_cdk.mixins_preview.aws_ssmcontacts.mixins.CfnContactPropsMixin(props, *, strategy=None)
Bases:
MixinThe
AWS::SSMContacts::Contactresource 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:
- 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
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental
ChannelTargetInfoProperty
- class CfnContactPropsMixin.ChannelTargetInfoProperty(*, channel_id=None, retry_interval_in_minutes=None)
Bases:
objectInformation 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:
- 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.
- retry_interval_in_minutes
The number of minutes to wait before retrying to send engagement if the engagement initially failed.
ContactTargetInfoProperty
- class CfnContactPropsMixin.ContactTargetInfoProperty(*, contact_id=None, is_essential=None)
Bases:
objectThe 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:
- 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.
- is_essential
A Boolean value determining if the contact’s acknowledgement stops the progress of stages in the plan.
StageProperty
- class CfnContactPropsMixin.StageProperty(*, duration_in_minutes=None, rotation_ids=None, targets=None)
Bases:
objectThe
Stageproperty 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:
- 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.
- rotation_ids
The Amazon Resource Names (ARNs) of the on-call rotations associated with the plan.
- targets
The contacts or contact methods that the escalation plan or engagement plan is engaging.
TargetsProperty
- class CfnContactPropsMixin.TargetsProperty(*, channel_target_info=None, contact_target_info=None)
Bases:
objectThe contact or contact channel that’s being engaged.
- Parameters:
channel_target_info (
Union[IResolvable,ChannelTargetInfoProperty,Dict[str,Any],None]) – Information about the contact channel that Incident Manager engages.contact_target_info (
Union[IResolvable,ContactTargetInfoProperty,Dict[str,Any],None]) – The contact that Incident Manager is engaging during an incident.
- See:
- 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.
- contact_target_info
The contact that Incident Manager is engaging during an incident.