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
,ITaggable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-11T15:56:06.560Z")
@Stability(Stable)
public class CfnResponsePlan
extends CfnResource
implements IInspectable, 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
Modifier and TypeClassDescriptionstatic interface
TheAction
property type specifies the configuration to launch.static final class
A fluent builder forCfnResponsePlan
.static interface
The AWS Chatbot chat channel used for collaboration during an incident.static interface
When you add a runbook to a response plan, you can specify the parameters for the runbook to use at runtime.static interface
The dynamic parameter value.static interface
TheIncidentTemplate
property type specifies details used to create an incident when using this response plan.static interface
Information about third-party services integrated into a response plan.static interface
The Amazon SNS topic that's used by AWS Chatbot to notify the incidents chat channel.static interface
Details about the PagerDuty configuration for a response plan.static interface
Details about the PagerDuty service where the response plan creates an incident.static interface
TheSsmAutomation
property type specifies details about the Systems Manager Automation runbook that will be used as the runbook during an incident.static interface
The 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.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnResponsePlan
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnResponsePlan
(software.amazon.jsii.JsiiObjectRef objRef) CfnResponsePlan
(software.constructs.Construct scope, String id, CfnResponsePlanProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe actions that the response plan starts at the beginning of an incident.The ARN of the response plan.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()
Tag Manager which manages the tags for this resource.An array of key-value pairs to apply to this resource.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setActions
(List<Object> value) The actions that the response plan starts at the beginning of an incident.void
setActions
(IResolvable value) The actions that the response plan starts at the beginning of an incident.void
setChatChannel
(IResolvable value) The AWS Chatbot chat channel used for collaboration during an incident.void
The AWS Chatbot chat channel used for collaboration during an incident.void
setDisplayName
(String value) The human readable name of the response plan.void
setEngagements
(List<String> value) The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during an incident.void
setIncidentTemplate
(IResolvable value) Details used to create an incident when using this response plan.void
Details used to create an incident when using this response plan.void
setIntegrations
(List<Object> value) Information about third-party services integrated into the response plan.void
setIntegrations
(IResolvable value) Information about third-party services integrated into the response plan.void
The name of the response plan.void
setTagsRaw
(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, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
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
-
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) - 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:
inspect
in 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:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrArn
The ARN of the response plan. -
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getTags
Tag Manager which manages the tags for this resource. -
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. -
getTagsRaw
An array of key-value pairs to apply to this resource. -
setTagsRaw
An array of key-value pairs to apply to this resource.
-