Interface CfnResponsePlanProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnResponsePlanProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-10T13:40:15.700Z")
@Stability(Stable)
public interface CfnResponsePlanProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnResponsePlan.
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.*;
CfnResponsePlanProps cfnResponsePlanProps = CfnResponsePlanProps.builder()
.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 TypeInterfaceDescriptionstatic final classA builder forCfnResponsePlanPropsstatic final classAn implementation forCfnResponsePlanProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnResponsePlanProps.Builderbuilder()default ObjectThe actions that the response plan starts at the beginning of an incident.default ObjectThe chat channel used for collaboration during an incident.default StringThe 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.default ObjectInformation about third-party services integrated into the response plan.getName()The name of the response plan.getTags()An array of key-value pairs to apply to this resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getIncidentTemplate
Details used to create an incident when using this response plan.Returns union: either
IResolvableorCfnResponsePlan.IncidentTemplateProperty- See Also:
-
getName
The name of the response plan.- See Also:
-
getActions
The actions that the response plan starts at the beginning of an incident.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnResponsePlan.ActionProperty>- See Also:
-
getChatChannel
The chat channel used for collaboration during an incident.Returns union: either
IResolvableorCfnResponsePlan.ChatChannelProperty- See Also:
-
getDisplayName
The human readable name of the response plan.- See Also:
-
getEngagements
The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during an incident.- See Also:
-
getIntegrations
Information about third-party services integrated into the response plan.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnResponsePlan.IntegrationProperty>- See Also:
-
getTags
An array of key-value pairs to apply to this resource.For more information, see Tag .
- See Also:
-
builder
- Returns:
- a
CfnResponsePlanProps.BuilderofCfnResponsePlanProps
-