PagerDutyConfigurationProperty Struct
PagerDuty integration configuration.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_devopsagent as devopsagent } from 'aws-cdk-lib';
const pagerDutyConfigurationProperty: devopsagent.CfnAssociation.PagerDutyConfigurationProperty = {
customerEmail: 'customerEmail',
services: ['services'],
// the properties below are optional
enableWebhookUpdates: false,
};
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_devopsagent as devopsagent
pager_duty_configuration_property = devopsagent.CfnAssociation.PagerDutyConfigurationProperty(
customer_email="customerEmail",
services=["services"],
# the properties below are optional
enable_webhook_updates=False
)
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.devopsagent.*;
PagerDutyConfigurationProperty pagerDutyConfigurationProperty = PagerDutyConfigurationProperty.builder()
.customerEmail("customerEmail")
.services(List.of("services"))
// the properties below are optional
.enableWebhookUpdates(false)
.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.DevOpsAgent;
var pagerDutyConfigurationProperty = new PagerDutyConfigurationProperty {
CustomerEmail = "customerEmail",
Services = new [] { "services" },
// the properties below are optional
EnableWebhookUpdates = false
};
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{
CustomerEmail: jsii.String("customerEmail"),
Services: []*string{
jsii.String("services"),
},
// the properties below are optional
EnableWebhookUpdates: jsii.Boolean(false),
}
Properties
customerEmailstringcustomer_emailstrcustomerEmailStringCustomerEmailstringCustomerEmail*string required #Email to be used in PagerDuty API header.
enableWebhookUpdatesoptionalboolean | IResolvableenable_webhook_updatesoptionaltyping.Union[bool, IResolvable]enableWebhookUpdatesoptionalBooleanEnableWebhookUpdatesoptionalboolEnableWebhookUpdatesoptionalinterface{} #When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.
servicesstring[]servicestyping.List[str]servicesList<String>Servicesstring[]Services*[]*string required #List of PagerDuty service IDs available for the association.