Skip to content
v2.276.0

PagerDutyConfigurationProperty Struct ​

Details about the PagerDuty configuration for a 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 pagerDutyConfigurationProperty: ssmincidents.CfnResponsePlan.PagerDutyConfigurationProperty = {
  name: 'name',
  pagerDutyIncidentConfiguration: {
    serviceId: 'serviceId',
  },
  secretId: 'secretId',
};
python
# 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

pager_duty_configuration_property = ssmincidents.CfnResponsePlan.PagerDutyConfigurationProperty(
    name="name",
    pager_duty_incident_configuration=ssmincidents.CfnResponsePlan.PagerDutyIncidentConfigurationProperty(
        service_id="serviceId"
    ),
    secret_id="secretId"
)
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.*;

PagerDutyConfigurationProperty pagerDutyConfigurationProperty = PagerDutyConfigurationProperty.builder()
        .name("name")
        .pagerDutyIncidentConfiguration(PagerDutyIncidentConfigurationProperty.builder()
                .serviceId("serviceId")
                .build())
        .secretId("secretId")
        .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 pagerDutyConfigurationProperty = new PagerDutyConfigurationProperty {
    Name = "name",
    PagerDutyIncidentConfiguration = new PagerDutyIncidentConfigurationProperty {
        ServiceId = "serviceId"
    },
    SecretId = "secretId"
};
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"

pagerDutyConfigurationProperty := &PagerDutyConfigurationProperty{
	Name: jsii.String("name"),
	PagerDutyIncidentConfiguration: &PagerDutyIncidentConfigurationProperty{
		ServiceId: jsii.String("serviceId"),
	},
	SecretId: jsii.String("secretId"),
}

Properties ​

namestringnamestrnameStringNamestringName*stringrequired#
The name of the PagerDuty configuration.
pagerDutyIncidentConfigurationIResolvable | CfnResponsePlan.PagerDutyIncidentConfigurationPropertypager_duty_incident_configurationtyping.Union[IResolvable, PagerDutyIncidentConfigurationProperty]pagerDutyIncidentConfigurationIResolvablePagerDutyIncidentConfigurationIResolvablePagerDutyIncidentConfigurationinterface{}required#
Details about the PagerDuty service associated with the configuration.
secretIdstringsecret_idstrsecretIdStringSecretIdstringSecretId*stringrequired#
The ID of the AWS Secrets Manager secret that stores your PagerDuty key, either a General Access REST API Key or User Token REST API Key, and other user credentials.