Class CfnContact
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.core.CfnElement
software.amazon.awscdk.core.CfnRefElement
software.amazon.awscdk.core.CfnResource
software.amazon.awscdk.services.ssmcontacts.CfnContact
- All Implemented Interfaces:
IConstruct
,IDependable
,IInspectable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:35.816Z")
@Stability(Stable)
public class CfnContact
extends CfnResource
implements IInspectable
A CloudFormation
AWS::SSMContacts::Contact
.
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())) .build();
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnContact
.static interface
Information about the contact channel that Incident Manager uses to engage the contact.static interface
The contact that Incident Manager is engaging during an incident.static interface
TheStage
property type specifies a set amount of time that an escalation plan or engagement plan engages the specified contacts or contact methods.static interface
The contact or contact channel that's being engaged.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionCfnContact
(Construct scope, String id, CfnContactProps props) Create a newAWS::SSMContacts::Contact
.protected
CfnContact
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnContact
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptiongetAlias()
The unique and identifiable alias of the contact or escalation plan.The Amazon Resource Name (ARN) of theContact
resource, such asarn:aws:ssm-contacts:us-west-2:123456789012:contact/contactalias
.The full name of the contact or escalation plan.getPlan()
A list of stages.getType()
Refers to the type of contact:.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
The unique and identifiable alias of the contact or escalation plan.void
setDisplayName
(String value) The full name of the contact or escalation plan.void
A list of stages.void
setPlan
(IResolvable value) A list of stages.void
Refers to the type of contact:.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.core.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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 Construct scope, @NotNull String id, @NotNull CfnContactProps props) Create a newAWS::SSMContacts::Contact
.- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
props
-- resource properties.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
-- tree inspector to collect and process attributes.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) of theContact
resource, such asarn:aws:ssm-contacts:us-west-2:123456789012:contact/contactalias
. -
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
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
Refers to the type of contact:.PERSONAL
: A single, individual contact.ESCALATION
: An escalation plan.ONCALL_SCHEDULE
: An on-call schedule.
-
setType
Refers to the type of contact:.PERSONAL
: A single, individual contact.ESCALATION
: An escalation plan.ONCALL_SCHEDULE
: An on-call schedule.
-
getPlan
A list of stages.A contact has an engagement plan with stages that contact specified contact channels. An escalation plan uses stages that contact specified contacts.
-
setPlan
A list of stages.A contact has an engagement plan with stages that contact specified contact channels. An escalation plan uses stages that contact specified contacts.
-
setPlan
A list of stages.A contact has an engagement plan with stages that contact specified contact channels. An escalation plan uses stages that contact specified contacts.
-