Class CfnResponsePlan
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.ssmincidents.CfnResponsePlan
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IResponsePlanRef,ITaggable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-12-01T16:02:30.345Z")
@Stability(Stable)
public class CfnResponsePlan
extends CfnResource
implements IInspectable, IResponsePlanRef, ITaggable
The
AWS::SSMIncidents::ResponsePlan resource specifies the details of the response plan that are used when creating an incident.
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.ssmincidents.*;
CfnResponsePlan cfnResponsePlan = CfnResponsePlan.Builder.create(this, "MyCfnResponsePlan")
.incidentTemplate(IncidentTemplateProperty.builder()
.impact(123)
.title("title")
// the properties below are optional
.dedupeString("dedupeString")
.incidentTags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.notificationTargets(List.of(NotificationTargetItemProperty.builder()
.snsTopicArn("snsTopicArn")
.build()))
.summary("summary")
.build())
.name("name")
// the properties below are optional
.actions(List.of(ActionProperty.builder()
.ssmAutomation(SsmAutomationProperty.builder()
.documentName("documentName")
.roleArn("roleArn")
// the properties below are optional
.documentVersion("documentVersion")
.dynamicParameters(List.of(DynamicSsmParameterProperty.builder()
.key("key")
.value(DynamicSsmParameterValueProperty.builder()
.variable("variable")
.build())
.build()))
.parameters(List.of(SsmParameterProperty.builder()
.key("key")
.values(List.of("values"))
.build()))
.targetAccount("targetAccount")
.build())
.build()))
.chatChannel(ChatChannelProperty.builder()
.chatbotSns(List.of("chatbotSns"))
.build())
.displayName("displayName")
.engagements(List.of("engagements"))
.integrations(List.of(IntegrationProperty.builder()
.pagerDutyConfiguration(PagerDutyConfigurationProperty.builder()
.name("name")
.pagerDutyIncidentConfiguration(PagerDutyIncidentConfigurationProperty.builder()
.serviceId("serviceId")
.build())
.secretId("secretId")
.build())
.build()))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceTheActionproperty type specifies the configuration to launch.static final classA fluent builder forCfnResponsePlan.static interfaceThe chat channel used for collaboration during an incident.static interfaceWhen you add a runbook to a response plan, you can specify the parameters for the runbook to use at runtime.static interfaceThe dynamic parameter value.static interfaceTheIncidentTemplateproperty type specifies details used to create an incident when using this response plan.static interfaceInformation about third-party services integrated into a response plan.static interfaceThe Amazon topic that's used by to notify the incidents chat channel.static interfaceDetails about the PagerDuty configuration for a response plan.static interfaceDetails about the PagerDuty service where the response plan creates an incident.static interfaceTheSsmAutomationproperty type specifies details about the Systems Manager Automation runbook that will be used as the runbook during an incident.static interfaceThe key-value pair parameters to use when running the Automation runbook.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.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.ssmincidents.IResponsePlanRef
IResponsePlanRef.Jsii$Default, IResponsePlanRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnResponsePlan(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnResponsePlan(software.amazon.jsii.JsiiObjectRef objRef) CfnResponsePlan(software.constructs.Construct scope, String id, CfnResponsePlanProps props) Create a newAWS::SSMIncidents::ResponsePlan. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForResponsePlan(IResponsePlanRef resource) The actions that the response plan starts at the beginning of an incident.The ARN of the response plan.The chat channel used for collaboration during an incident.The human readable name of the response plan.The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during an incident.Details used to create an incident when using this response plan.Information about third-party services integrated into the response plan.getName()The name of the response plan.A reference to a ResponsePlan resource.getTags()Tag Manager which manages the tags for this resource.An array of key-value pairs to apply to this resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnResponsePlan.renderProperties(Map<String, Object> props) voidsetActions(List<Object> value) The actions that the response plan starts at the beginning of an incident.voidsetActions(IResolvable value) The actions that the response plan starts at the beginning of an incident.voidsetChatChannel(IResolvable value) The chat channel used for collaboration during an incident.voidThe chat channel used for collaboration during an incident.voidsetDisplayName(String value) The human readable name of the response plan.voidsetEngagements(List<String> value) The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during an incident.voidsetIncidentTemplate(IResolvable value) Details used to create an incident when using this response plan.voidDetails used to create an incident when using this response plan.voidsetIntegrations(List<Object> value) Information about third-party services integrated into the response plan.voidsetIntegrations(IResolvable value) Information about third-party services integrated into the response plan.voidThe name of the response plan.voidsetTagsRaw(List<CfnTag> value) An array of key-value pairs to apply to this resource.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.interfaces.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
-
CfnResponsePlan
protected CfnResponsePlan(software.amazon.jsii.JsiiObjectRef objRef) -
CfnResponsePlan
protected CfnResponsePlan(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnResponsePlan
@Stability(Stable) public CfnResponsePlan(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnResponsePlanProps props) Create a newAWS::SSMIncidents::ResponsePlan.- 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
-
arnForResponsePlan
@Stability(Stable) @NotNull public static String arnForResponsePlan(@NotNull IResponsePlanRef resource) - Parameters:
resource- This parameter is required.
-
isCfnResponsePlan
Checks whether the given object is a CfnResponsePlan.- Parameters:
x- This parameter is required.
-
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 ARN of the response plan. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getResponsePlanRef
A reference to a ResponsePlan resource.- Specified by:
getResponsePlanRefin interfaceIResponsePlanRef
-
getTags
Tag Manager which manages the tags for this resource. -
getIncidentTemplate
Details used to create an incident when using this response plan.Returns union: either
IResolvableorCfnResponsePlan.IncidentTemplateProperty -
setIncidentTemplate
Details used to create an incident when using this response plan. -
setIncidentTemplate
@Stability(Stable) public void setIncidentTemplate(@NotNull CfnResponsePlan.IncidentTemplateProperty value) Details used to create an incident when using this response plan. -
getName
The name of the response plan. -
setName
The name of the response plan. -
getActions
The actions that the response plan starts at the beginning of an incident.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnResponsePlan.ActionProperty> -
setActions
The actions that the response plan starts at the beginning of an incident. -
setActions
The actions that the response plan starts at the beginning of an incident. -
getChatChannel
The chat channel used for collaboration during an incident.Returns union: either
IResolvableorCfnResponsePlan.ChatChannelProperty -
setChatChannel
The chat channel used for collaboration during an incident. -
setChatChannel
The chat channel used for collaboration during an incident. -
getDisplayName
The human readable name of the response plan. -
setDisplayName
The human readable name of the response plan. -
getEngagements
The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during an incident. -
setEngagements
The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during an incident. -
getIntegrations
Information about third-party services integrated into the response plan.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnResponsePlan.IntegrationProperty> -
setIntegrations
Information about third-party services integrated into the response plan. -
setIntegrations
Information about third-party services integrated into the response plan. -
getTagsRaw
An array of key-value pairs to apply to this resource. -
setTagsRaw
An array of key-value pairs to apply to this resource.
-