checkly.AlertChannel
Explore with Pulumi AI
Allows you to define alerting channels for the checks and groups in your account
Example Usage
using Pulumi;
using Checkly = Pulumi.Checkly;
class MyStack : Stack
{
public MyStack()
{
// An Email alert channel
var emailAc = new Checkly.AlertChannel("emailAc", new Checkly.AlertChannelArgs
{
Email = new Checkly.Inputs.AlertChannelEmailArgs
{
Address = "john@example.com",
},
SendRecovery = true,
SendFailure = false,
SendDegraded = true,
SslExpiry = true,
SslExpiryThreshold = 22,
});
// A SMS alert channel
var smsAc = new Checkly.AlertChannel("smsAc", new Checkly.AlertChannelArgs
{
Sms = new Checkly.Inputs.AlertChannelSmsArgs
{
Name = "john",
Number = "+5491100001111",
},
SendRecovery = true,
SendFailure = true,
});
// A Slack alert channel
var slackAc = new Checkly.AlertChannel("slackAc", new Checkly.AlertChannelArgs
{
Slack = new Checkly.Inputs.AlertChannelSlackArgs
{
Channel = "#checkly-notifications",
Url = "https://hooks.slack.com/services/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",
},
});
// An Opsgenie alert channel
var opsgenieAc = new Checkly.AlertChannel("opsgenieAc", new Checkly.AlertChannelArgs
{
Opsgenie = new Checkly.Inputs.AlertChannelOpsgenieArgs
{
Name = "opsalerts",
ApiKey = "fookey",
Region = "fooregion",
Priority = "foopriority",
},
});
// An Pagerduty alert channel
var pagerdutyAc = new Checkly.AlertChannel("pagerdutyAc", new Checkly.AlertChannelArgs
{
Pagerduty = new Checkly.Inputs.AlertChannelPagerdutyArgs
{
Account = "checkly",
ServiceKey = "key1",
ServiceName = "pdalert",
},
});
// An Webhook alert channel
var webhookAc = new Checkly.AlertChannel("webhookAc", new Checkly.AlertChannelArgs
{
Webhook = new Checkly.Inputs.AlertChannelWebhookArgs
{
Name = "foo",
Method = "get",
Template = "footemplate",
Url = "https://example.com/foo",
WebhookSecret = "foosecret",
},
});
// Connecting the alert channel to a check
var exampleCheck = new Checkly.Check("exampleCheck", new Checkly.CheckArgs
{
AlertChannelSubscriptions =
{
new Checkly.Inputs.CheckAlertChannelSubscriptionArgs
{
ChannelId = emailAc.Id,
Activated = true,
},
new Checkly.Inputs.CheckAlertChannelSubscriptionArgs
{
ChannelId = smsAc.Id,
Activated = true,
},
},
});
}
}
package main
import (
"github.com/checkly/pulumi-checkly/sdk/go/checkly"
"github.com/pulumi/pulumi-checkly/sdk/go/checkly"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
emailAc, err := checkly.NewAlertChannel(ctx, "emailAc", &checkly.AlertChannelArgs{
Email: &AlertChannelEmailArgs{
Address: pulumi.String("john@example.com"),
},
SendRecovery: pulumi.Bool(true),
SendFailure: pulumi.Bool(false),
SendDegraded: pulumi.Bool(true),
SslExpiry: pulumi.Bool(true),
SslExpiryThreshold: pulumi.Int(22),
})
if err != nil {
return err
}
smsAc, err := checkly.NewAlertChannel(ctx, "smsAc", &checkly.AlertChannelArgs{
Sms: &AlertChannelSmsArgs{
Name: pulumi.String("john"),
Number: pulumi.String("+5491100001111"),
},
SendRecovery: pulumi.Bool(true),
SendFailure: pulumi.Bool(true),
})
if err != nil {
return err
}
_, err = checkly.NewAlertChannel(ctx, "slackAc", &checkly.AlertChannelArgs{
Slack: &AlertChannelSlackArgs{
Channel: pulumi.String("#checkly-notifications"),
Url: pulumi.String("https://hooks.slack.com/services/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"),
},
})
if err != nil {
return err
}
_, err = checkly.NewAlertChannel(ctx, "opsgenieAc", &checkly.AlertChannelArgs{
Opsgenie: &AlertChannelOpsgenieArgs{
Name: pulumi.String("opsalerts"),
ApiKey: pulumi.String("fookey"),
Region: pulumi.String("fooregion"),
Priority: pulumi.String("foopriority"),
},
})
if err != nil {
return err
}
_, err = checkly.NewAlertChannel(ctx, "pagerdutyAc", &checkly.AlertChannelArgs{
Pagerduty: &AlertChannelPagerdutyArgs{
Account: pulumi.String("checkly"),
ServiceKey: pulumi.String("key1"),
ServiceName: pulumi.String("pdalert"),
},
})
if err != nil {
return err
}
_, err = checkly.NewAlertChannel(ctx, "webhookAc", &checkly.AlertChannelArgs{
Webhook: &AlertChannelWebhookArgs{
Name: pulumi.String("foo"),
Method: pulumi.String("get"),
Template: pulumi.String("footemplate"),
Url: pulumi.String("https://example.com/foo"),
WebhookSecret: pulumi.String("foosecret"),
},
})
if err != nil {
return err
}
_, err = checkly.NewCheck(ctx, "exampleCheck", &checkly.CheckArgs{
AlertChannelSubscriptions: CheckAlertChannelSubscriptionArray{
&CheckAlertChannelSubscriptionArgs{
ChannelId: emailAc.ID(),
Activated: pulumi.Bool(true),
},
&CheckAlertChannelSubscriptionArgs{
ChannelId: smsAc.ID(),
Activated: pulumi.Bool(true),
},
},
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_checkly as checkly
# An Email alert channel
email_ac = checkly.AlertChannel("emailAc",
email=checkly.AlertChannelEmailArgs(
address="john@example.com",
),
send_recovery=True,
send_failure=False,
send_degraded=True,
ssl_expiry=True,
ssl_expiry_threshold=22)
# A SMS alert channel
sms_ac = checkly.AlertChannel("smsAc",
sms=checkly.AlertChannelSmsArgs(
name="john",
number="+5491100001111",
),
send_recovery=True,
send_failure=True)
# A Slack alert channel
slack_ac = checkly.AlertChannel("slackAc", slack=checkly.AlertChannelSlackArgs(
channel="#checkly-notifications",
url="https://hooks.slack.com/services/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",
))
# An Opsgenie alert channel
opsgenie_ac = checkly.AlertChannel("opsgenieAc", opsgenie=checkly.AlertChannelOpsgenieArgs(
name="opsalerts",
api_key="fookey",
region="fooregion",
priority="foopriority",
))
# An Pagerduty alert channel
pagerduty_ac = checkly.AlertChannel("pagerdutyAc", pagerduty=checkly.AlertChannelPagerdutyArgs(
account="checkly",
service_key="key1",
service_name="pdalert",
))
# An Webhook alert channel
webhook_ac = checkly.AlertChannel("webhookAc", webhook=checkly.AlertChannelWebhookArgs(
name="foo",
method="get",
template="footemplate",
url="https://example.com/foo",
webhook_secret="foosecret",
))
# Connecting the alert channel to a check
example_check = checkly.Check("exampleCheck", alert_channel_subscriptions=[
checkly.CheckAlertChannelSubscriptionArgs(
channel_id=email_ac.id,
activated=True,
),
checkly.CheckAlertChannelSubscriptionArgs(
channel_id=sms_ac.id,
activated=True,
),
])
import * as pulumi from "@pulumi/pulumi";
import * as pulumi from "@checkly/pulumi";
// An Email alert channel
const emailAc = new checkly.AlertChannel("emailAc", {
email: {
address: "john@example.com",
},
sendRecovery: true,
sendFailure: false,
sendDegraded: true,
sslExpiry: true,
sslExpiryThreshold: 22,
});
// A SMS alert channel
const smsAc = new checkly.AlertChannel("smsAc", {
sms: {
name: "john",
number: "+5491100001111",
},
sendRecovery: true,
sendFailure: true,
});
// A Slack alert channel
const slackAc = new checkly.AlertChannel("slackAc", {slack: {
channel: "#checkly-notifications",
url: "https://hooks.slack.com/services/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",
}});
// An Opsgenie alert channel
const opsgenieAc = new checkly.AlertChannel("opsgenieAc", {opsgenie: {
name: "opsalerts",
apiKey: "fookey",
region: "fooregion",
priority: "foopriority",
}});
// An Pagerduty alert channel
const pagerdutyAc = new checkly.AlertChannel("pagerdutyAc", {pagerduty: {
account: "checkly",
serviceKey: "key1",
serviceName: "pdalert",
}});
// An Webhook alert channel
const webhookAc = new checkly.AlertChannel("webhookAc", {webhook: {
name: "foo",
method: "get",
template: "footemplate",
url: "https://example.com/foo",
webhookSecret: "foosecret",
}});
// Connecting the alert channel to a check
const exampleCheck = new checkly.Check("exampleCheck", {alertChannelSubscriptions: [
{
channelId: emailAc.id,
activated: true,
},
{
channelId: smsAc.id,
activated: true,
},
]});
Coming soon!
Create AlertChannel Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AlertChannel(name: string, args?: AlertChannelArgs, opts?: CustomResourceOptions);
@overload
def AlertChannel(resource_name: str,
args: Optional[AlertChannelArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def AlertChannel(resource_name: str,
opts: Optional[ResourceOptions] = None,
email: Optional[AlertChannelEmailArgs] = None,
opsgenie: Optional[AlertChannelOpsgenieArgs] = None,
pagerduty: Optional[AlertChannelPagerdutyArgs] = None,
send_degraded: Optional[bool] = None,
send_failure: Optional[bool] = None,
send_recovery: Optional[bool] = None,
slack: Optional[AlertChannelSlackArgs] = None,
sms: Optional[AlertChannelSmsArgs] = None,
ssl_expiry: Optional[bool] = None,
ssl_expiry_threshold: Optional[int] = None,
webhook: Optional[AlertChannelWebhookArgs] = None)
func NewAlertChannel(ctx *Context, name string, args *AlertChannelArgs, opts ...ResourceOption) (*AlertChannel, error)
public AlertChannel(string name, AlertChannelArgs? args = null, CustomResourceOptions? opts = null)
public AlertChannel(String name, AlertChannelArgs args)
public AlertChannel(String name, AlertChannelArgs args, CustomResourceOptions options)
type: checkly:AlertChannel
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AlertChannelArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AlertChannelArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AlertChannelArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AlertChannelArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AlertChannelArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var alertChannelResource = new Checkly.AlertChannel("alertChannelResource", new()
{
Email = new Checkly.Inputs.AlertChannelEmailArgs
{
Address = "string",
},
Opsgenie = new Checkly.Inputs.AlertChannelOpsgenieArgs
{
ApiKey = "string",
Name = "string",
Priority = "string",
Region = "string",
},
Pagerduty = new Checkly.Inputs.AlertChannelPagerdutyArgs
{
ServiceKey = "string",
Account = "string",
ServiceName = "string",
},
SendDegraded = false,
SendFailure = false,
SendRecovery = false,
Slack = new Checkly.Inputs.AlertChannelSlackArgs
{
Channel = "string",
Url = "string",
},
Sms = new Checkly.Inputs.AlertChannelSmsArgs
{
Name = "string",
Number = "string",
},
SslExpiry = false,
SslExpiryThreshold = 0,
Webhook = new Checkly.Inputs.AlertChannelWebhookArgs
{
Name = "string",
Url = "string",
Headers =
{
{ "string", "any" },
},
Method = "string",
QueryParameters =
{
{ "string", "any" },
},
Template = "string",
WebhookSecret = "string",
},
});
example, err := checkly.NewAlertChannel(ctx, "alertChannelResource", &checkly.AlertChannelArgs{
Email: &checkly.AlertChannelEmailArgs{
Address: pulumi.String("string"),
},
Opsgenie: &checkly.AlertChannelOpsgenieArgs{
ApiKey: pulumi.String("string"),
Name: pulumi.String("string"),
Priority: pulumi.String("string"),
Region: pulumi.String("string"),
},
Pagerduty: &checkly.AlertChannelPagerdutyArgs{
ServiceKey: pulumi.String("string"),
Account: pulumi.String("string"),
ServiceName: pulumi.String("string"),
},
SendDegraded: pulumi.Bool(false),
SendFailure: pulumi.Bool(false),
SendRecovery: pulumi.Bool(false),
Slack: &checkly.AlertChannelSlackArgs{
Channel: pulumi.String("string"),
Url: pulumi.String("string"),
},
Sms: &checkly.AlertChannelSmsArgs{
Name: pulumi.String("string"),
Number: pulumi.String("string"),
},
SslExpiry: pulumi.Bool(false),
SslExpiryThreshold: pulumi.Int(0),
Webhook: &checkly.AlertChannelWebhookArgs{
Name: pulumi.String("string"),
Url: pulumi.String("string"),
Headers: pulumi.Map{
"string": pulumi.Any("any"),
},
Method: pulumi.String("string"),
QueryParameters: pulumi.Map{
"string": pulumi.Any("any"),
},
Template: pulumi.String("string"),
WebhookSecret: pulumi.String("string"),
},
})
var alertChannelResource = new AlertChannel("alertChannelResource", AlertChannelArgs.builder()
.email(AlertChannelEmailArgs.builder()
.address("string")
.build())
.opsgenie(AlertChannelOpsgenieArgs.builder()
.apiKey("string")
.name("string")
.priority("string")
.region("string")
.build())
.pagerduty(AlertChannelPagerdutyArgs.builder()
.serviceKey("string")
.account("string")
.serviceName("string")
.build())
.sendDegraded(false)
.sendFailure(false)
.sendRecovery(false)
.slack(AlertChannelSlackArgs.builder()
.channel("string")
.url("string")
.build())
.sms(AlertChannelSmsArgs.builder()
.name("string")
.number("string")
.build())
.sslExpiry(false)
.sslExpiryThreshold(0)
.webhook(AlertChannelWebhookArgs.builder()
.name("string")
.url("string")
.headers(Map.of("string", "any"))
.method("string")
.queryParameters(Map.of("string", "any"))
.template("string")
.webhookSecret("string")
.build())
.build());
alert_channel_resource = checkly.AlertChannel("alertChannelResource",
email=checkly.AlertChannelEmailArgs(
address="string",
),
opsgenie=checkly.AlertChannelOpsgenieArgs(
api_key="string",
name="string",
priority="string",
region="string",
),
pagerduty=checkly.AlertChannelPagerdutyArgs(
service_key="string",
account="string",
service_name="string",
),
send_degraded=False,
send_failure=False,
send_recovery=False,
slack=checkly.AlertChannelSlackArgs(
channel="string",
url="string",
),
sms=checkly.AlertChannelSmsArgs(
name="string",
number="string",
),
ssl_expiry=False,
ssl_expiry_threshold=0,
webhook=checkly.AlertChannelWebhookArgs(
name="string",
url="string",
headers={
"string": "any",
},
method="string",
query_parameters={
"string": "any",
},
template="string",
webhook_secret="string",
))
const alertChannelResource = new checkly.AlertChannel("alertChannelResource", {
email: {
address: "string",
},
opsgenie: {
apiKey: "string",
name: "string",
priority: "string",
region: "string",
},
pagerduty: {
serviceKey: "string",
account: "string",
serviceName: "string",
},
sendDegraded: false,
sendFailure: false,
sendRecovery: false,
slack: {
channel: "string",
url: "string",
},
sms: {
name: "string",
number: "string",
},
sslExpiry: false,
sslExpiryThreshold: 0,
webhook: {
name: "string",
url: "string",
headers: {
string: "any",
},
method: "string",
queryParameters: {
string: "any",
},
template: "string",
webhookSecret: "string",
},
});
type: checkly:AlertChannel
properties:
email:
address: string
opsgenie:
apiKey: string
name: string
priority: string
region: string
pagerduty:
account: string
serviceKey: string
serviceName: string
sendDegraded: false
sendFailure: false
sendRecovery: false
slack:
channel: string
url: string
sms:
name: string
number: string
sslExpiry: false
sslExpiryThreshold: 0
webhook:
headers:
string: any
method: string
name: string
queryParameters:
string: any
template: string
url: string
webhookSecret: string
AlertChannel Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The AlertChannel resource accepts the following input properties:
- Email
Alert
Channel Email - Opsgenie
Alert
Channel Opsgenie - Pagerduty
Alert
Channel Pagerduty - Send
Degraded bool - (Default
false
) - Send
Failure bool - (Default
true
) - Send
Recovery bool - (Default
true
) - Slack
Alert
Channel Slack - Sms
Alert
Channel Sms - Ssl
Expiry bool - (Default
false
) - Ssl
Expiry intThreshold - Value must be between 1 and 30 (Default
30
) - Webhook
Alert
Channel Webhook
- Email
Alert
Channel Email Args - Opsgenie
Alert
Channel Opsgenie Args - Pagerduty
Alert
Channel Pagerduty Args - Send
Degraded bool - (Default
false
) - Send
Failure bool - (Default
true
) - Send
Recovery bool - (Default
true
) - Slack
Alert
Channel Slack Args - Sms
Alert
Channel Sms Args - Ssl
Expiry bool - (Default
false
) - Ssl
Expiry intThreshold - Value must be between 1 and 30 (Default
30
) - Webhook
Alert
Channel Webhook Args
- email
Alert
Channel Email - opsgenie
Alert
Channel Opsgenie - pagerduty
Alert
Channel Pagerduty - send
Degraded Boolean - (Default
false
) - send
Failure Boolean - (Default
true
) - send
Recovery Boolean - (Default
true
) - slack
Alert
Channel Slack - sms
Alert
Channel Sms - ssl
Expiry Boolean - (Default
false
) - ssl
Expiry IntegerThreshold - Value must be between 1 and 30 (Default
30
) - webhook
Alert
Channel Webhook
- email
Alert
Channel Email - opsgenie
Alert
Channel Opsgenie - pagerduty
Alert
Channel Pagerduty - send
Degraded boolean - (Default
false
) - send
Failure boolean - (Default
true
) - send
Recovery boolean - (Default
true
) - slack
Alert
Channel Slack - sms
Alert
Channel Sms - ssl
Expiry boolean - (Default
false
) - ssl
Expiry numberThreshold - Value must be between 1 and 30 (Default
30
) - webhook
Alert
Channel Webhook
- email
Alert
Channel Email Args - opsgenie
Alert
Channel Opsgenie Args - pagerduty
Alert
Channel Pagerduty Args - send_
degraded bool - (Default
false
) - send_
failure bool - (Default
true
) - send_
recovery bool - (Default
true
) - slack
Alert
Channel Slack Args - sms
Alert
Channel Sms Args - ssl_
expiry bool - (Default
false
) - ssl_
expiry_ intthreshold - Value must be between 1 and 30 (Default
30
) - webhook
Alert
Channel Webhook Args
- email Property Map
- opsgenie Property Map
- pagerduty Property Map
- send
Degraded Boolean - (Default
false
) - send
Failure Boolean - (Default
true
) - send
Recovery Boolean - (Default
true
) - slack Property Map
- sms Property Map
- ssl
Expiry Boolean - (Default
false
) - ssl
Expiry NumberThreshold - Value must be between 1 and 30 (Default
30
) - webhook Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the AlertChannel resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing AlertChannel Resource
Get an existing AlertChannel resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AlertChannelState, opts?: CustomResourceOptions): AlertChannel
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
email: Optional[AlertChannelEmailArgs] = None,
opsgenie: Optional[AlertChannelOpsgenieArgs] = None,
pagerduty: Optional[AlertChannelPagerdutyArgs] = None,
send_degraded: Optional[bool] = None,
send_failure: Optional[bool] = None,
send_recovery: Optional[bool] = None,
slack: Optional[AlertChannelSlackArgs] = None,
sms: Optional[AlertChannelSmsArgs] = None,
ssl_expiry: Optional[bool] = None,
ssl_expiry_threshold: Optional[int] = None,
webhook: Optional[AlertChannelWebhookArgs] = None) -> AlertChannel
func GetAlertChannel(ctx *Context, name string, id IDInput, state *AlertChannelState, opts ...ResourceOption) (*AlertChannel, error)
public static AlertChannel Get(string name, Input<string> id, AlertChannelState? state, CustomResourceOptions? opts = null)
public static AlertChannel get(String name, Output<String> id, AlertChannelState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Email
Alert
Channel Email - Opsgenie
Alert
Channel Opsgenie - Pagerduty
Alert
Channel Pagerduty - Send
Degraded bool - (Default
false
) - Send
Failure bool - (Default
true
) - Send
Recovery bool - (Default
true
) - Slack
Alert
Channel Slack - Sms
Alert
Channel Sms - Ssl
Expiry bool - (Default
false
) - Ssl
Expiry intThreshold - Value must be between 1 and 30 (Default
30
) - Webhook
Alert
Channel Webhook
- Email
Alert
Channel Email Args - Opsgenie
Alert
Channel Opsgenie Args - Pagerduty
Alert
Channel Pagerduty Args - Send
Degraded bool - (Default
false
) - Send
Failure bool - (Default
true
) - Send
Recovery bool - (Default
true
) - Slack
Alert
Channel Slack Args - Sms
Alert
Channel Sms Args - Ssl
Expiry bool - (Default
false
) - Ssl
Expiry intThreshold - Value must be between 1 and 30 (Default
30
) - Webhook
Alert
Channel Webhook Args
- email
Alert
Channel Email - opsgenie
Alert
Channel Opsgenie - pagerduty
Alert
Channel Pagerduty - send
Degraded Boolean - (Default
false
) - send
Failure Boolean - (Default
true
) - send
Recovery Boolean - (Default
true
) - slack
Alert
Channel Slack - sms
Alert
Channel Sms - ssl
Expiry Boolean - (Default
false
) - ssl
Expiry IntegerThreshold - Value must be between 1 and 30 (Default
30
) - webhook
Alert
Channel Webhook
- email
Alert
Channel Email - opsgenie
Alert
Channel Opsgenie - pagerduty
Alert
Channel Pagerduty - send
Degraded boolean - (Default
false
) - send
Failure boolean - (Default
true
) - send
Recovery boolean - (Default
true
) - slack
Alert
Channel Slack - sms
Alert
Channel Sms - ssl
Expiry boolean - (Default
false
) - ssl
Expiry numberThreshold - Value must be between 1 and 30 (Default
30
) - webhook
Alert
Channel Webhook
- email
Alert
Channel Email Args - opsgenie
Alert
Channel Opsgenie Args - pagerduty
Alert
Channel Pagerduty Args - send_
degraded bool - (Default
false
) - send_
failure bool - (Default
true
) - send_
recovery bool - (Default
true
) - slack
Alert
Channel Slack Args - sms
Alert
Channel Sms Args - ssl_
expiry bool - (Default
false
) - ssl_
expiry_ intthreshold - Value must be between 1 and 30 (Default
30
) - webhook
Alert
Channel Webhook Args
- email Property Map
- opsgenie Property Map
- pagerduty Property Map
- send
Degraded Boolean - (Default
false
) - send
Failure Boolean - (Default
true
) - send
Recovery Boolean - (Default
true
) - slack Property Map
- sms Property Map
- ssl
Expiry Boolean - (Default
false
) - ssl
Expiry NumberThreshold - Value must be between 1 and 30 (Default
30
) - webhook Property Map
Supporting Types
AlertChannelEmail, AlertChannelEmailArgs
- Address string
- Address string
- address String
- address string
- address str
- address String
AlertChannelOpsgenie, AlertChannelOpsgenieArgs
AlertChannelPagerduty, AlertChannelPagerdutyArgs
- Service
Key string - Account string
- Service
Name string
- Service
Key string - Account string
- Service
Name string
- service
Key String - account String
- service
Name String
- service
Key string - account string
- service
Name string
- service_
key str - account str
- service_
name str
- service
Key String - account String
- service
Name String
AlertChannelSlack, AlertChannelSlackArgs
AlertChannelSms, AlertChannelSmsArgs
AlertChannelWebhook, AlertChannelWebhookArgs
- Name string
- Url string
- Headers Dictionary<string, object>
- Method string
- Query
Parameters Dictionary<string, object> - Template string
- Webhook
Secret string
- Name string
- Url string
- Headers map[string]interface{}
- Method string
- Query
Parameters map[string]interface{} - Template string
- Webhook
Secret string
- name String
- url String
- headers Map<String,Object>
- method String
- query
Parameters Map<String,Object> - template String
- webhook
Secret String
- name string
- url string
- headers {[key: string]: any}
- method string
- query
Parameters {[key: string]: any} - template string
- webhook
Secret string
- name str
- url str
- headers Mapping[str, Any]
- method str
- query_
parameters Mapping[str, Any] - template str
- webhook_
secret str
- name String
- url String
- headers Map<Any>
- method String
- query
Parameters Map<Any> - template String
- webhook
Secret String
Package Details
- Repository
- checkly checkly/pulumi-checkly
- License
- MIT
- Notes
- This Pulumi package is based on the
checkly
Terraform Provider.