Class CfnContact
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.ssmcontacts.CfnContact
- All Implemented Interfaces:
IEnvironmentAware,IInspectable,ITaggableV2,IContactRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-04T09:27:50.981Z")
@Stability(Stable)
public class CfnContact
extends CfnResource
implements IInspectable, IContactRef, ITaggableV2
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.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ssmcontacts.*;
CfnContact cfnContact = CfnContact.Builder.create(this, "MyCfnContact")
.alias("alias")
.displayName("displayName")
.type("type")
// the properties below are optional
.plan(List.of(StageProperty.builder()
.durationInMinutes(123)
.rotationIds(List.of("rotationIds"))
.targets(List.of(TargetsProperty.builder()
.channelTargetInfo(ChannelTargetInfoProperty.builder()
.channelId("channelId")
.retryIntervalInMinutes(123)
.build())
.contactTargetInfo(ContactTargetInfoProperty.builder()
.contactId("contactId")
.isEssential(false)
.build())
.build()))
.build()))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnContact.static interfaceInformation about the contact channel that Incident Manager uses to engage the contact.static interfaceThe contact that Incident Manager is engaging during an incident.static interfaceTheStageproperty type specifies a set amount of time that an escalation plan or engagement plan engages the specified contacts or contact methods.static interfaceThe contact or contact channel that's being engaged.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.ssmcontacts.IContactRef
IContactRef.Jsii$Default, IContactRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnContact(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnContact(software.amazon.jsii.JsiiObjectRef objRef) CfnContact(software.constructs.Construct scope, String id, CfnContactProps props) -
Method Summary
Modifier and TypeMethodDescriptiongetAlias()The unique and identifiable alias of the contact or escalation plan.The Amazon Resource Name (ARN) of theContactresource, such asarn:aws:ssm-contacts:us-west-2:123456789012:contact/contactalias.Tag Manager which manages the tags for this resource.A reference to a Contact resource.The full name of the contact or escalation plan.getPlan()A list of stages.getTags()getType()The type of contact.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidThe unique and identifiable alias of the contact or escalation plan.voidsetDisplayName(String value) The full name of the contact or escalation plan.voidA list of stages.voidsetPlan(IResolvable value) A list of stages.voidvoidThe type of contact.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnContact
protected CfnContact(software.amazon.jsii.JsiiObjectRef objRef) -
CfnContact
protected CfnContact(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnContact
@Stability(Stable) public CfnContact(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnContactProps props) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) of theContactresource, such asarn:aws:ssm-contacts:us-west-2:123456789012:contact/contactalias. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getContactRef
A reference to a Contact resource.- Specified by:
getContactRefin interfaceIContactRef
-
getAlias
The unique and identifiable alias of the contact or escalation plan. -
setAlias
The unique and identifiable alias of the contact or escalation plan. -
getDisplayName
The full name of the contact or escalation plan. -
setDisplayName
The full name of the contact or escalation plan. -
getType
The type of contact. -
setType
The type of contact. -
getPlan
A list of stages.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnContact.StageProperty> -
setPlan
A list of stages. -
setPlan
A list of stages. -
getTags
-
setTags
-