Class CfnResponsePlan
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.ssmincidents.CfnResponsePlan
- 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.831Z")
@Stability(Stable)
public class CfnResponsePlan
extends CfnResource
implements IInspectable
A CloudFormation
AWS::SSMIncidents::ResponsePlan.
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();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceTheActionproperty type specifies the configuration to launch.static final classA fluent builder forCfnResponsePlan.static interfaceThe AWS Chatbot chat channel used for collaboration during an incident.static interfaceWhen you add a runbook to a response plan, you can specify the parameters the runbook should 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 SNS topic that's used by AWS Chatbot 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 document that will be used as a runbook during an incident.static interfaceThe key-value pair parameters to use when running the automation document.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionCfnResponsePlan(Construct scope, String id, CfnResponsePlanProps props) Create a newAWS::SSMIncidents::ResponsePlan.protectedCfnResponsePlan(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnResponsePlan(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionThe actions that the response plan starts at the beginning of an incident.The AWS Chatbot 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.getTags()An array of key-value pairs to apply to this resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.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 AWS Chatbot chat channel used for collaboration during an incident.voidThe AWS Chatbot 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.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, validatePropertiesMethods inherited from class software.amazon.awscdk.core.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods 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.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 Construct scope, @NotNull String id, @NotNull CfnResponsePlanProps props) Create a newAWS::SSMIncidents::ResponsePlan.- 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:
inspectin 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:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getTags
An array of key-value pairs to apply to this resource.For more information, see Tag .
-
getIncidentTemplate
Details used to create an incident when using this response plan. -
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. -
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 AWS Chatbot chat channel used for collaboration during an incident. -
setChatChannel
The AWS Chatbot chat channel used for collaboration during an incident. -
setChatChannel
The AWS Chatbot 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. -
setIntegrations
Information about third-party services integrated into the response plan. -
setIntegrations
Information about third-party services integrated into the response plan.
-