Skip to content
v2.277.0

IncidentTemplateProperty Struct ​

The IncidentTemplate property type specifies details used to create an incident when using this response plan.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ssmincidents as ssmincidents } from 'aws-cdk-lib';
const incidentTemplateProperty: ssmincidents.CfnResponsePlan.IncidentTemplateProperty = {
  impact: 123,
  title: 'title',

  // the properties below are optional
  dedupeString: 'dedupeString',
  incidentTags: [{
    key: 'key',
    value: 'value',
  }],
  notificationTargets: [{
    snsTopicArn: 'snsTopicArn',
  }],
  summary: 'summary',
};
python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ssmincidents as ssmincidents

incident_template_property = ssmincidents.CfnResponsePlan.IncidentTemplateProperty(
    impact=123,
    title="title",

    # the properties below are optional
    dedupe_string="dedupeString",
    incident_tags=[CfnTag(
        key="key",
        value="value"
    )],
    notification_targets=[ssmincidents.CfnResponsePlan.NotificationTargetItemProperty(
        sns_topic_arn="snsTopicArn"
    )],
    summary="summary"
)
java
// 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.*;

IncidentTemplateProperty incidentTemplateProperty = 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();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SSMIncidents;

var incidentTemplateProperty = new IncidentTemplateProperty {
    Impact = 123,
    Title = "title",

    // the properties below are optional
    DedupeString = "dedupeString",
    IncidentTags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } },
    NotificationTargets = new [] { new NotificationTargetItemProperty {
        SnsTopicArn = "snsTopicArn"
    } },
    Summary = "summary"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

incidentTemplateProperty := &IncidentTemplateProperty{
	Impact: jsii.Number(123),
	Title: jsii.String("title"),

	// the properties below are optional
	DedupeString: jsii.String("dedupeString"),
	IncidentTags: []interface{}{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
	NotificationTargets: []interface{}{
		&NotificationTargetItemProperty{
			SnsTopicArn: jsii.String("snsTopicArn"),
		},
	},
	Summary: jsii.String("summary"),
}

Properties ​

dedupeStringoptionalstringdedupe_stringoptionalstrdedupeStringoptionalStringDedupeStringoptionalstringDedupeStringoptional*string#
Used to create only one incident record for an incident.
impactnumberimpactint | floatimpactNumberImpactdoubleImpact*float64required#
Defines the impact to the customers. Providing an impact overwrites the impact provided by a response plan.
notes

Possible impacts: - 1 - Critical impact, this typically relates to full application failure that impacts many to all customers.

  • 2 - High impact, partial application failure with impact to many customers.
  • 3 - Medium impact, the application is providing reduced service to customers.
  • 4 - Low impact, customer might aren't impacted by the problem yet.
  • 5 - No impact, customers aren't currently impacted but urgent action is needed to avoid impact.
incidentTagsoptionalIResolvable | IResolvable | CfnTag[]incident_tagsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, CfnTag]]]incidentTagsoptionalIResolvableIncidentTagsoptionalIResolvableIncidentTagsoptionalinterface{}#
Tags to assign to the template.

When the StartIncident API action is called, Incident Manager assigns the tags specified in the template to the incident.

notificationTargetsoptionalIResolvable | IResolvable | CfnResponsePlan.NotificationTargetItemProperty[]notification_targetsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, NotificationTargetItemProperty]]]notificationTargetsoptionalIResolvableNotificationTargetsoptionalIResolvableNotificationTargetsoptionalinterface{}#
The Amazon Simple Notification Service ( Amazon ) targets that uses to notify the chat channel of updates to an incident.

You can also make updates to the incident through the chat channel using the Amazon topics.

summaryoptionalstringsummaryoptionalstrsummaryoptionalStringSummaryoptionalstringSummaryoptional*string#
The summary describes what has happened during the incident.
titlestringtitlestrtitleStringTitlestringTitle*stringrequired#
The title of the incident is a brief and easily recognizable.