If you need to reference existing alert channels that were created outside of your CLI project, use
fromId().Configuration
Slack Alert Channel Options
string[]
required
The Slack channels to alert. Can also include DM handles, e.g. “@John Doe”
General Alert Channel Options
These options are valid for all alert channels types.boolean
Whether to send notifications when checks recover from a failed or degraded state. Default value is
true.boolean
Whether to send notifications when checks become degraded. Default value is
false.boolean
Whether to send notifications when a SSL/TLS certificate is about to expire. Default value is Learn more about SSL alerts.
false.number
Number of days before the SSL/TLS certificate expiry date to send notifications. Only relevant when Learn more about SSL alerts.
sslExpiry is enabled. Default value is 30.