published on Friday, Sep 11, 2026 by incident-io
published on Friday, Sep 11, 2026 by incident-io
Manage the policies that encode how your organisation should handle incidents.
A policy scopes itself to a set of resources with condition_groups, states the
requirements those resources must meet, and describes who to chase when they fall short.
policy_type selects exactly one matching config block: a follow_up policy
carries follow_up config, a schedule policy carries schedule
config, and so on. A vacation_conflict policy has no configuration of its own and
so carries no block.
Example - Require a post-mortem within five working days
import * as pulumi from "@pulumi/pulumi";
import * as incident from "@pulumi/incident";
// The person to chase when a post-mortem falls due. Assignees can also be a
// reference, such as the incident lead; see `assignment_rules.bindings`.
const postmortemOwner = incident.getUser({
email: "quality@example.com",
});
// Look the timestamp up by name rather than pinning an ID, which differs between
// organisations.
const closed = incident.getIncidentTimestamp({
name: "Closed at",
});
// A post-mortem policy: which incidents it covers, what they must satisfy, and
// when that falls due.
//
// There is no policy_type attribute to set. The post_mortem block below is what
// makes this a post-mortem policy, and policy_type is computed from it.
const postmortems = new incident.Policy("postmortems", {
name: "Post-mortems within 5 working days",
description: "Major and above incidents need a post-mortem once they close.",
conditionGroups: [{
conditions: [{
subject: "incident.severity",
operation: "gte",
paramBindings: [{
valueLiteral: "01FCNDV6P870EA6S7TK1DSYD5H",
}],
}],
}],
assignmentRules: {
bindings: [{
valueLiteral: postmortemOwner.then(postmortemOwner => postmortemOwner.id),
}],
reminderDueDateOffsetHours: [
-24,
0,
24,
],
},
postMortem: {
requirements: [{
conditions: [{
subject: "post_mortem.status",
operation: "one_of",
paramBindings: [{
values: ["complete"],
}],
}],
}],
dueDateConfig: {
incidentTimestampId: closed.then(closed => closed.id),
days: {
valueLiteral: "5",
},
calculationType: "weekdays",
},
},
});
import pulumi
import pulumi_incident as incident
# The person to chase when a post-mortem falls due. Assignees can also be a
# reference, such as the incident lead; see `assignment_rules.bindings`.
postmortem_owner = incident.get_user(email="quality@example.com")
# Look the timestamp up by name rather than pinning an ID, which differs between
# organisations.
closed = incident.get_incident_timestamp(name="Closed at")
# A post-mortem policy: which incidents it covers, what they must satisfy, and
# when that falls due.
#
# There is no policy_type attribute to set. The post_mortem block below is what
# makes this a post-mortem policy, and policy_type is computed from it.
postmortems = incident.Policy("postmortems",
name="Post-mortems within 5 working days",
description="Major and above incidents need a post-mortem once they close.",
condition_groups=[{
"conditions": [{
"subject": "incident.severity",
"operation": "gte",
"param_bindings": [{
"value_literal": "01FCNDV6P870EA6S7TK1DSYD5H",
}],
}],
}],
assignment_rules={
"bindings": [{
"value_literal": postmortem_owner.id,
}],
"reminder_due_date_offset_hours": [
-24,
0,
24,
],
},
post_mortem={
"requirements": [{
"conditions": [{
"subject": "post_mortem.status",
"operation": "one_of",
"param_bindings": [{
"values": ["complete"],
}],
}],
}],
"due_date_config": {
"incident_timestamp_id": closed.id,
"days": {
"value_literal": "5",
},
"calculation_type": "weekdays",
},
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/incident/v7/incident"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// The person to chase when a post-mortem falls due. Assignees can also be a
// reference, such as the incident lead; see `assignment_rules.bindings`.
postmortemOwner, err := incident.GetUser(ctx, &incident.GetUserArgs{
Email: pulumi.StringRef("quality@example.com"),
}, nil)
if err != nil {
return err
}
// Look the timestamp up by name rather than pinning an ID, which differs between
// organisations.
closed, err := incident.GetIncidentTimestamp(ctx, &incident.GetIncidentTimestampArgs{
Name: pulumi.StringRef("Closed at"),
}, nil)
if err != nil {
return err
}
// A post-mortem policy: which incidents it covers, what they must satisfy, and
// when that falls due.
//
// There is no policy_type attribute to set. The post_mortem block below is what
// makes this a post-mortem policy, and policy_type is computed from it.
_, err = incident.NewPolicy(ctx, "postmortems", &incident.PolicyArgs{
Name: pulumi.String("Post-mortems within 5 working days"),
Description: pulumi.String("Major and above incidents need a post-mortem once they close."),
ConditionGroups: incident.PolicyConditionGroupArray{
&incident.PolicyConditionGroupArgs{
Conditions: incident.PolicyConditionGroupConditionArray{
&incident.PolicyConditionGroupConditionArgs{
Subject: pulumi.String("incident.severity"),
Operation: pulumi.String("gte"),
ParamBindings: incident.PolicyConditionGroupConditionParamBindingArray{
&incident.PolicyConditionGroupConditionParamBindingArgs{
ValueLiteral: pulumi.String("01FCNDV6P870EA6S7TK1DSYD5H"),
},
},
},
},
},
},
AssignmentRules: &incident.PolicyAssignmentRulesArgs{
Bindings: incident.PolicyAssignmentRulesBindingArray{
&incident.PolicyAssignmentRulesBindingArgs{
ValueLiteral: pulumi.String(postmortemOwner.Id),
},
},
ReminderDueDateOffsetHours: pulumi.Float64Array{
pulumi.Float64(-24),
pulumi.Float64(0),
pulumi.Float64(24),
},
},
PostMortem: &incident.PolicyPostMortemArgs{
Requirements: incident.PolicyPostMortemRequirementArray{
&incident.PolicyPostMortemRequirementArgs{
Conditions: incident.PolicyPostMortemRequirementConditionArray{
&incident.PolicyPostMortemRequirementConditionArgs{
Subject: pulumi.String("post_mortem.status"),
Operation: pulumi.String("one_of"),
ParamBindings: incident.PolicyPostMortemRequirementConditionParamBindingArray{
&incident.PolicyPostMortemRequirementConditionParamBindingArgs{
Values: pulumi.StringArray{
pulumi.String("complete"),
},
},
},
},
},
},
},
DueDateConfig: &incident.PolicyPostMortemDueDateConfigArgs{
IncidentTimestampId: pulumi.String(closed.Id),
Days: &incident.PolicyPostMortemDueDateConfigDaysArgs{
ValueLiteral: pulumi.String("5"),
},
CalculationType: pulumi.String("weekdays"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Incident = Pulumi.Incident;
return await Deployment.RunAsync(() =>
{
// The person to chase when a post-mortem falls due. Assignees can also be a
// reference, such as the incident lead; see `assignment_rules.bindings`.
var postmortemOwner = Incident.GetUser.Invoke(new()
{
Email = "quality@example.com",
});
// Look the timestamp up by name rather than pinning an ID, which differs between
// organisations.
var closed = Incident.GetIncidentTimestamp.Invoke(new()
{
Name = "Closed at",
});
// A post-mortem policy: which incidents it covers, what they must satisfy, and
// when that falls due.
//
// There is no policy_type attribute to set. The post_mortem block below is what
// makes this a post-mortem policy, and policy_type is computed from it.
var postmortems = new Incident.Policy("postmortems", new()
{
Name = "Post-mortems within 5 working days",
Description = "Major and above incidents need a post-mortem once they close.",
ConditionGroups = new[]
{
new Incident.Inputs.PolicyConditionGroupArgs
{
Conditions = new[]
{
new Incident.Inputs.PolicyConditionGroupConditionArgs
{
Subject = "incident.severity",
Operation = "gte",
ParamBindings = new[]
{
new Incident.Inputs.PolicyConditionGroupConditionParamBindingArgs
{
ValueLiteral = "01FCNDV6P870EA6S7TK1DSYD5H",
},
},
},
},
},
},
AssignmentRules = new Incident.Inputs.PolicyAssignmentRulesArgs
{
Bindings = new[]
{
new Incident.Inputs.PolicyAssignmentRulesBindingArgs
{
ValueLiteral = postmortemOwner.Apply(getUserResult => getUserResult.Id),
},
},
ReminderDueDateOffsetHours = new[]
{
-24,
0,
24,
},
},
PostMortem = new Incident.Inputs.PolicyPostMortemArgs
{
Requirements = new[]
{
new Incident.Inputs.PolicyPostMortemRequirementArgs
{
Conditions = new[]
{
new Incident.Inputs.PolicyPostMortemRequirementConditionArgs
{
Subject = "post_mortem.status",
Operation = "one_of",
ParamBindings = new[]
{
new Incident.Inputs.PolicyPostMortemRequirementConditionParamBindingArgs
{
Values = new[]
{
"complete",
},
},
},
},
},
},
},
DueDateConfig = new Incident.Inputs.PolicyPostMortemDueDateConfigArgs
{
IncidentTimestampId = closed.Apply(getIncidentTimestampResult => getIncidentTimestampResult.Id),
Days = new Incident.Inputs.PolicyPostMortemDueDateConfigDaysArgs
{
ValueLiteral = "5",
},
CalculationType = "weekdays",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.incident.IncidentFunctions;
import com.pulumi.incident.inputs.GetUserArgs;
import com.pulumi.incident.inputs.GetIncidentTimestampArgs;
import com.pulumi.incident.Policy;
import com.pulumi.incident.PolicyArgs;
import com.pulumi.incident.inputs.PolicyConditionGroupArgs;
import com.pulumi.incident.inputs.PolicyAssignmentRulesArgs;
import com.pulumi.incident.inputs.PolicyPostMortemArgs;
import com.pulumi.incident.inputs.PolicyPostMortemDueDateConfigArgs;
import com.pulumi.incident.inputs.PolicyPostMortemDueDateConfigDaysArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
// The person to chase when a post-mortem falls due. Assignees can also be a
// reference, such as the incident lead; see `assignment_rules.bindings`.
final var postmortemOwner = IncidentFunctions.getUser(GetUserArgs.builder()
.email("quality@example.com")
.build());
// Look the timestamp up by name rather than pinning an ID, which differs between
// organisations.
final var closed = IncidentFunctions.getIncidentTimestamp(GetIncidentTimestampArgs.builder()
.name("Closed at")
.build());
// A post-mortem policy: which incidents it covers, what they must satisfy, and
// when that falls due.
//
// There is no policy_type attribute to set. The post_mortem block below is what
// makes this a post-mortem policy, and policy_type is computed from it.
var postmortems = new Policy("postmortems", PolicyArgs.builder()
.name("Post-mortems within 5 working days")
.description("Major and above incidents need a post-mortem once they close.")
.conditionGroups(PolicyConditionGroupArgs.builder()
.conditions(PolicyConditionGroupConditionArgs.builder()
.subject("incident.severity")
.operation("gte")
.paramBindings(PolicyConditionGroupConditionParamBindingArgs.builder()
.valueLiteral("01FCNDV6P870EA6S7TK1DSYD5H")
.build())
.build())
.build())
.assignmentRules(PolicyAssignmentRulesArgs.builder()
.bindings(PolicyAssignmentRulesBindingArgs.builder()
.valueLiteral(postmortemOwner.id())
.build())
.reminderDueDateOffsetHours(
-24.0,
0.0,
24.0)
.build())
.postMortem(PolicyPostMortemArgs.builder()
.requirements(PolicyPostMortemRequirementArgs.builder()
.conditions(PolicyPostMortemRequirementConditionArgs.builder()
.subject("post_mortem.status")
.operation("one_of")
.paramBindings(PolicyPostMortemRequirementConditionParamBindingArgs.builder()
.values("complete")
.build())
.build())
.build())
.dueDateConfig(PolicyPostMortemDueDateConfigArgs.builder()
.incidentTimestampId(closed.id())
.days(PolicyPostMortemDueDateConfigDaysArgs.builder()
.valueLiteral("5")
.build())
.calculationType("weekdays")
.build())
.build())
.build());
}
}
resources:
# A post-mortem policy: which incidents it covers, what they must satisfy, and
# when that falls due.
#
# There is no policy_type attribute to set. The post_mortem block below is what
# makes this a post-mortem policy, and policy_type is computed from it.
postmortems:
type: incident:Policy
properties:
name: Post-mortems within 5 working days
description: Major and above incidents need a post-mortem once they close.
conditionGroups:
- conditions:
- subject: incident.severity
operation: gte
paramBindings:
- valueLiteral: 01FCNDV6P870EA6S7TK1DSYD5H
assignmentRules:
bindings:
- valueLiteral: ${postmortemOwner.id}
reminderDueDateOffsetHours:
- -24
- 0
- 24
postMortem:
requirements:
- conditions:
- subject: post_mortem.status
operation: one_of
paramBindings:
- values:
- complete
dueDateConfig:
incidentTimestampId: ${closed.id}
days:
valueLiteral: '5'
calculationType: weekdays
variables:
# The person to chase when a post-mortem falls due. Assignees can also be a
# reference, such as the incident lead; see `assignment_rules.bindings`.
postmortemOwner:
fn::invoke:
function: incident:getUser
arguments:
email: quality@example.com
# Look the timestamp up by name rather than pinning an ID, which differs between
# organisations.
closed:
fn::invoke:
function: incident:getIncidentTimestamp
arguments:
name: Closed at
Example coming soon!
Example - Action follow-ups within 30 days
import * as pulumi from "@pulumi/pulumi";
import * as incident from "@pulumi/incident";
// Who to chase when a follow-up is overdue.
const followupsOwner = incident.getUser({
email: "engineering-manager@example.com",
});
const followupsClosed = incident.getIncidentTimestamp({
name: "Closed at",
});
// A follow-up policy: the follow-ups left behind by an incident have to be dealt
// with, rather than sitting open indefinitely.
const followUps = new incident.Policy("follow_ups", {
name: "Follow-ups actioned within 30 days",
description: "Follow-ups from an incident shouldn't be left open once it closes.",
conditionGroups: [],
assignmentRules: {
bindings: [{
valueLiteral: followupsOwner.then(followupsOwner => followupsOwner.id),
}],
reminderDueDateOffsetHours: [
-24,
24,
],
reminderCadenceBefore: {
interval: "weekly",
},
reminderCadenceAfter: {
interval: "daily",
},
},
followUp: {
requirements: [{
conditions: [{
subject: "follow_up.status",
operation: "not_one_of",
paramBindings: [{
values: ["open"],
}],
}],
}],
dueDateConfig: {
incidentTimestampId: followupsClosed.then(followupsClosed => followupsClosed.id),
days: {
valueLiteral: "30",
},
calculationType: "seven_days",
},
},
});
import pulumi
import pulumi_incident as incident
# Who to chase when a follow-up is overdue.
followups_owner = incident.get_user(email="engineering-manager@example.com")
followups_closed = incident.get_incident_timestamp(name="Closed at")
# A follow-up policy: the follow-ups left behind by an incident have to be dealt
# with, rather than sitting open indefinitely.
follow_ups = incident.Policy("follow_ups",
name="Follow-ups actioned within 30 days",
description="Follow-ups from an incident shouldn't be left open once it closes.",
condition_groups=[],
assignment_rules={
"bindings": [{
"value_literal": followups_owner.id,
}],
"reminder_due_date_offset_hours": [
-24,
24,
],
"reminder_cadence_before": {
"interval": "weekly",
},
"reminder_cadence_after": {
"interval": "daily",
},
},
follow_up={
"requirements": [{
"conditions": [{
"subject": "follow_up.status",
"operation": "not_one_of",
"param_bindings": [{
"values": ["open"],
}],
}],
}],
"due_date_config": {
"incident_timestamp_id": followups_closed.id,
"days": {
"value_literal": "30",
},
"calculation_type": "seven_days",
},
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/incident/v7/incident"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Who to chase when a follow-up is overdue.
followupsOwner, err := incident.GetUser(ctx, &incident.GetUserArgs{
Email: pulumi.StringRef("engineering-manager@example.com"),
}, nil)
if err != nil {
return err
}
followupsClosed, err := incident.GetIncidentTimestamp(ctx, &incident.GetIncidentTimestampArgs{
Name: pulumi.StringRef("Closed at"),
}, nil)
if err != nil {
return err
}
// A follow-up policy: the follow-ups left behind by an incident have to be dealt
// with, rather than sitting open indefinitely.
_, err = incident.NewPolicy(ctx, "follow_ups", &incident.PolicyArgs{
Name: pulumi.String("Follow-ups actioned within 30 days"),
Description: pulumi.String("Follow-ups from an incident shouldn't be left open once it closes."),
ConditionGroups: incident.PolicyConditionGroupArray{},
AssignmentRules: &incident.PolicyAssignmentRulesArgs{
Bindings: incident.PolicyAssignmentRulesBindingArray{
&incident.PolicyAssignmentRulesBindingArgs{
ValueLiteral: pulumi.String(followupsOwner.Id),
},
},
ReminderDueDateOffsetHours: pulumi.Float64Array{
pulumi.Float64(-24),
pulumi.Float64(24),
},
ReminderCadenceBefore: &incident.PolicyAssignmentRulesReminderCadenceBeforeArgs{
Interval: pulumi.String("weekly"),
},
ReminderCadenceAfter: &incident.PolicyAssignmentRulesReminderCadenceAfterArgs{
Interval: pulumi.String("daily"),
},
},
FollowUp: &incident.PolicyFollowUpArgs{
Requirements: incident.PolicyFollowUpRequirementArray{
&incident.PolicyFollowUpRequirementArgs{
Conditions: incident.PolicyFollowUpRequirementConditionArray{
&incident.PolicyFollowUpRequirementConditionArgs{
Subject: pulumi.String("follow_up.status"),
Operation: pulumi.String("not_one_of"),
ParamBindings: incident.PolicyFollowUpRequirementConditionParamBindingArray{
&incident.PolicyFollowUpRequirementConditionParamBindingArgs{
Values: pulumi.StringArray{
pulumi.String("open"),
},
},
},
},
},
},
},
DueDateConfig: &incident.PolicyFollowUpDueDateConfigArgs{
IncidentTimestampId: pulumi.String(followupsClosed.Id),
Days: &incident.PolicyFollowUpDueDateConfigDaysArgs{
ValueLiteral: pulumi.String("30"),
},
CalculationType: pulumi.String("seven_days"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Incident = Pulumi.Incident;
return await Deployment.RunAsync(() =>
{
// Who to chase when a follow-up is overdue.
var followupsOwner = Incident.GetUser.Invoke(new()
{
Email = "engineering-manager@example.com",
});
var followupsClosed = Incident.GetIncidentTimestamp.Invoke(new()
{
Name = "Closed at",
});
// A follow-up policy: the follow-ups left behind by an incident have to be dealt
// with, rather than sitting open indefinitely.
var followUps = new Incident.Policy("follow_ups", new()
{
Name = "Follow-ups actioned within 30 days",
Description = "Follow-ups from an incident shouldn't be left open once it closes.",
ConditionGroups = new[] {},
AssignmentRules = new Incident.Inputs.PolicyAssignmentRulesArgs
{
Bindings = new[]
{
new Incident.Inputs.PolicyAssignmentRulesBindingArgs
{
ValueLiteral = followupsOwner.Apply(getUserResult => getUserResult.Id),
},
},
ReminderDueDateOffsetHours = new[]
{
-24,
24,
},
ReminderCadenceBefore = new Incident.Inputs.PolicyAssignmentRulesReminderCadenceBeforeArgs
{
Interval = "weekly",
},
ReminderCadenceAfter = new Incident.Inputs.PolicyAssignmentRulesReminderCadenceAfterArgs
{
Interval = "daily",
},
},
FollowUp = new Incident.Inputs.PolicyFollowUpArgs
{
Requirements = new[]
{
new Incident.Inputs.PolicyFollowUpRequirementArgs
{
Conditions = new[]
{
new Incident.Inputs.PolicyFollowUpRequirementConditionArgs
{
Subject = "follow_up.status",
Operation = "not_one_of",
ParamBindings = new[]
{
new Incident.Inputs.PolicyFollowUpRequirementConditionParamBindingArgs
{
Values = new[]
{
"open",
},
},
},
},
},
},
},
DueDateConfig = new Incident.Inputs.PolicyFollowUpDueDateConfigArgs
{
IncidentTimestampId = followupsClosed.Apply(getIncidentTimestampResult => getIncidentTimestampResult.Id),
Days = new Incident.Inputs.PolicyFollowUpDueDateConfigDaysArgs
{
ValueLiteral = "30",
},
CalculationType = "seven_days",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.incident.IncidentFunctions;
import com.pulumi.incident.inputs.GetUserArgs;
import com.pulumi.incident.inputs.GetIncidentTimestampArgs;
import com.pulumi.incident.Policy;
import com.pulumi.incident.PolicyArgs;
import com.pulumi.incident.inputs.PolicyAssignmentRulesArgs;
import com.pulumi.incident.inputs.PolicyAssignmentRulesReminderCadenceBeforeArgs;
import com.pulumi.incident.inputs.PolicyAssignmentRulesReminderCadenceAfterArgs;
import com.pulumi.incident.inputs.PolicyFollowUpArgs;
import com.pulumi.incident.inputs.PolicyFollowUpDueDateConfigArgs;
import com.pulumi.incident.inputs.PolicyFollowUpDueDateConfigDaysArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
// Who to chase when a follow-up is overdue.
final var followupsOwner = IncidentFunctions.getUser(GetUserArgs.builder()
.email("engineering-manager@example.com")
.build());
final var followupsClosed = IncidentFunctions.getIncidentTimestamp(GetIncidentTimestampArgs.builder()
.name("Closed at")
.build());
// A follow-up policy: the follow-ups left behind by an incident have to be dealt
// with, rather than sitting open indefinitely.
var followUps = new Policy("followUps", PolicyArgs.builder()
.name("Follow-ups actioned within 30 days")
.description("Follow-ups from an incident shouldn't be left open once it closes.")
.conditionGroups()
.assignmentRules(PolicyAssignmentRulesArgs.builder()
.bindings(PolicyAssignmentRulesBindingArgs.builder()
.valueLiteral(followupsOwner.id())
.build())
.reminderDueDateOffsetHours(
-24.0,
24.0)
.reminderCadenceBefore(PolicyAssignmentRulesReminderCadenceBeforeArgs.builder()
.interval("weekly")
.build())
.reminderCadenceAfter(PolicyAssignmentRulesReminderCadenceAfterArgs.builder()
.interval("daily")
.build())
.build())
.followUp(PolicyFollowUpArgs.builder()
.requirements(PolicyFollowUpRequirementArgs.builder()
.conditions(PolicyFollowUpRequirementConditionArgs.builder()
.subject("follow_up.status")
.operation("not_one_of")
.paramBindings(PolicyFollowUpRequirementConditionParamBindingArgs.builder()
.values("open")
.build())
.build())
.build())
.dueDateConfig(PolicyFollowUpDueDateConfigArgs.builder()
.incidentTimestampId(followupsClosed.id())
.days(PolicyFollowUpDueDateConfigDaysArgs.builder()
.valueLiteral("30")
.build())
.calculationType("seven_days")
.build())
.build())
.build());
}
}
resources:
# A follow-up policy: the follow-ups left behind by an incident have to be dealt
# with, rather than sitting open indefinitely.
followUps:
type: incident:Policy
name: follow_ups
properties:
name: Follow-ups actioned within 30 days
description: Follow-ups from an incident shouldn't be left open once it closes.
conditionGroups: []
assignmentRules:
bindings:
- valueLiteral: ${followupsOwner.id}
reminderDueDateOffsetHours:
- -24
- 24
reminderCadenceBefore:
interval: weekly
reminderCadenceAfter:
interval: daily
followUp:
requirements:
- conditions:
- subject: follow_up.status
operation: not_one_of
paramBindings:
- values:
- open
dueDateConfig:
incidentTimestampId: ${followupsClosed.id}
days:
valueLiteral: '30'
calculationType: seven_days
variables:
# Who to chase when a follow-up is overdue.
followupsOwner:
fn::invoke:
function: incident:getUser
arguments:
email: engineering-manager@example.com
followupsClosed:
fn::invoke:
function: incident:getIncidentTimestamp
arguments:
name: Closed at
Example coming soon!
Example - Book a debrief for major incidents
import * as pulumi from "@pulumi/pulumi";
import * as incident from "@pulumi/incident";
const debriefsOwner = incident.getUser({
email: "incident-manager@example.com",
});
const debriefsClosed = incident.getIncidentTimestamp({
name: "Closed at",
});
// A debrief policy: major incidents need a debrief booked in, not just promised.
//
// This one scopes itself with condition_groups rather than applying to every
// incident, so only the incidents that warrant a debrief are held to it.
const debriefs = new incident.Policy("debriefs", {
name: "Debriefs booked for major incidents",
description: "Anything at major severity or above needs a debrief in the calendar.",
conditionGroups: [{
conditions: [{
subject: "incident.severity",
operation: "gte",
paramBindings: [{
valueLiteral: "01FCNDV6P870EA6S7TK1DSYD5H",
}],
}],
}],
assignmentRules: {
bindings: [{
valueLiteral: debriefsOwner.then(debriefsOwner => debriefsOwner.id),
}],
reminderDueDateOffsetHours: [-24],
},
debrief: {
requirements: [{
conditions: [{
subject: "debrief.is_scheduled",
operation: "is_set",
paramBindings: [],
}],
}],
dueDateConfig: {
incidentTimestampId: debriefsClosed.then(debriefsClosed => debriefsClosed.id),
days: {
valueLiteral: "5",
},
calculationType: "weekdays",
},
},
});
import pulumi
import pulumi_incident as incident
debriefs_owner = incident.get_user(email="incident-manager@example.com")
debriefs_closed = incident.get_incident_timestamp(name="Closed at")
# A debrief policy: major incidents need a debrief booked in, not just promised.
#
# This one scopes itself with condition_groups rather than applying to every
# incident, so only the incidents that warrant a debrief are held to it.
debriefs = incident.Policy("debriefs",
name="Debriefs booked for major incidents",
description="Anything at major severity or above needs a debrief in the calendar.",
condition_groups=[{
"conditions": [{
"subject": "incident.severity",
"operation": "gte",
"param_bindings": [{
"value_literal": "01FCNDV6P870EA6S7TK1DSYD5H",
}],
}],
}],
assignment_rules={
"bindings": [{
"value_literal": debriefs_owner.id,
}],
"reminder_due_date_offset_hours": [-24],
},
debrief={
"requirements": [{
"conditions": [{
"subject": "debrief.is_scheduled",
"operation": "is_set",
"param_bindings": [],
}],
}],
"due_date_config": {
"incident_timestamp_id": debriefs_closed.id,
"days": {
"value_literal": "5",
},
"calculation_type": "weekdays",
},
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/incident/v7/incident"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
debriefsOwner, err := incident.GetUser(ctx, &incident.GetUserArgs{
Email: pulumi.StringRef("incident-manager@example.com"),
}, nil)
if err != nil {
return err
}
debriefsClosed, err := incident.GetIncidentTimestamp(ctx, &incident.GetIncidentTimestampArgs{
Name: pulumi.StringRef("Closed at"),
}, nil)
if err != nil {
return err
}
// A debrief policy: major incidents need a debrief booked in, not just promised.
//
// This one scopes itself with condition_groups rather than applying to every
// incident, so only the incidents that warrant a debrief are held to it.
_, err = incident.NewPolicy(ctx, "debriefs", &incident.PolicyArgs{
Name: pulumi.String("Debriefs booked for major incidents"),
Description: pulumi.String("Anything at major severity or above needs a debrief in the calendar."),
ConditionGroups: incident.PolicyConditionGroupArray{
&incident.PolicyConditionGroupArgs{
Conditions: incident.PolicyConditionGroupConditionArray{
&incident.PolicyConditionGroupConditionArgs{
Subject: pulumi.String("incident.severity"),
Operation: pulumi.String("gte"),
ParamBindings: incident.PolicyConditionGroupConditionParamBindingArray{
&incident.PolicyConditionGroupConditionParamBindingArgs{
ValueLiteral: pulumi.String("01FCNDV6P870EA6S7TK1DSYD5H"),
},
},
},
},
},
},
AssignmentRules: &incident.PolicyAssignmentRulesArgs{
Bindings: incident.PolicyAssignmentRulesBindingArray{
&incident.PolicyAssignmentRulesBindingArgs{
ValueLiteral: pulumi.String(debriefsOwner.Id),
},
},
ReminderDueDateOffsetHours: pulumi.Float64Array{
pulumi.Float64(-24),
},
},
Debrief: &incident.PolicyDebriefArgs{
Requirements: incident.PolicyDebriefRequirementArray{
&incident.PolicyDebriefRequirementArgs{
Conditions: incident.PolicyDebriefRequirementConditionArray{
&incident.PolicyDebriefRequirementConditionArgs{
Subject: pulumi.String("debrief.is_scheduled"),
Operation: pulumi.String("is_set"),
ParamBindings: incident.PolicyDebriefRequirementConditionParamBindingArray{},
},
},
},
},
DueDateConfig: &incident.PolicyDebriefDueDateConfigArgs{
IncidentTimestampId: pulumi.String(debriefsClosed.Id),
Days: &incident.PolicyDebriefDueDateConfigDaysArgs{
ValueLiteral: pulumi.String("5"),
},
CalculationType: pulumi.String("weekdays"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Incident = Pulumi.Incident;
return await Deployment.RunAsync(() =>
{
var debriefsOwner = Incident.GetUser.Invoke(new()
{
Email = "incident-manager@example.com",
});
var debriefsClosed = Incident.GetIncidentTimestamp.Invoke(new()
{
Name = "Closed at",
});
// A debrief policy: major incidents need a debrief booked in, not just promised.
//
// This one scopes itself with condition_groups rather than applying to every
// incident, so only the incidents that warrant a debrief are held to it.
var debriefs = new Incident.Policy("debriefs", new()
{
Name = "Debriefs booked for major incidents",
Description = "Anything at major severity or above needs a debrief in the calendar.",
ConditionGroups = new[]
{
new Incident.Inputs.PolicyConditionGroupArgs
{
Conditions = new[]
{
new Incident.Inputs.PolicyConditionGroupConditionArgs
{
Subject = "incident.severity",
Operation = "gte",
ParamBindings = new[]
{
new Incident.Inputs.PolicyConditionGroupConditionParamBindingArgs
{
ValueLiteral = "01FCNDV6P870EA6S7TK1DSYD5H",
},
},
},
},
},
},
AssignmentRules = new Incident.Inputs.PolicyAssignmentRulesArgs
{
Bindings = new[]
{
new Incident.Inputs.PolicyAssignmentRulesBindingArgs
{
ValueLiteral = debriefsOwner.Apply(getUserResult => getUserResult.Id),
},
},
ReminderDueDateOffsetHours = new[]
{
-24,
},
},
Debrief = new Incident.Inputs.PolicyDebriefArgs
{
Requirements = new[]
{
new Incident.Inputs.PolicyDebriefRequirementArgs
{
Conditions = new[]
{
new Incident.Inputs.PolicyDebriefRequirementConditionArgs
{
Subject = "debrief.is_scheduled",
Operation = "is_set",
ParamBindings = new() { },
},
},
},
},
DueDateConfig = new Incident.Inputs.PolicyDebriefDueDateConfigArgs
{
IncidentTimestampId = debriefsClosed.Apply(getIncidentTimestampResult => getIncidentTimestampResult.Id),
Days = new Incident.Inputs.PolicyDebriefDueDateConfigDaysArgs
{
ValueLiteral = "5",
},
CalculationType = "weekdays",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.incident.IncidentFunctions;
import com.pulumi.incident.inputs.GetUserArgs;
import com.pulumi.incident.inputs.GetIncidentTimestampArgs;
import com.pulumi.incident.Policy;
import com.pulumi.incident.PolicyArgs;
import com.pulumi.incident.inputs.PolicyConditionGroupArgs;
import com.pulumi.incident.inputs.PolicyAssignmentRulesArgs;
import com.pulumi.incident.inputs.PolicyDebriefArgs;
import com.pulumi.incident.inputs.PolicyDebriefDueDateConfigArgs;
import com.pulumi.incident.inputs.PolicyDebriefDueDateConfigDaysArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var debriefsOwner = IncidentFunctions.getUser(GetUserArgs.builder()
.email("incident-manager@example.com")
.build());
final var debriefsClosed = IncidentFunctions.getIncidentTimestamp(GetIncidentTimestampArgs.builder()
.name("Closed at")
.build());
// A debrief policy: major incidents need a debrief booked in, not just promised.
//
// This one scopes itself with condition_groups rather than applying to every
// incident, so only the incidents that warrant a debrief are held to it.
var debriefs = new Policy("debriefs", PolicyArgs.builder()
.name("Debriefs booked for major incidents")
.description("Anything at major severity or above needs a debrief in the calendar.")
.conditionGroups(PolicyConditionGroupArgs.builder()
.conditions(PolicyConditionGroupConditionArgs.builder()
.subject("incident.severity")
.operation("gte")
.paramBindings(PolicyConditionGroupConditionParamBindingArgs.builder()
.valueLiteral("01FCNDV6P870EA6S7TK1DSYD5H")
.build())
.build())
.build())
.assignmentRules(PolicyAssignmentRulesArgs.builder()
.bindings(PolicyAssignmentRulesBindingArgs.builder()
.valueLiteral(debriefsOwner.id())
.build())
.reminderDueDateOffsetHours(-24.0)
.build())
.debrief(PolicyDebriefArgs.builder()
.requirements(PolicyDebriefRequirementArgs.builder()
.conditions(PolicyDebriefRequirementConditionArgs.builder()
.subject("debrief.is_scheduled")
.operation("is_set")
.paramBindings()
.build())
.build())
.dueDateConfig(PolicyDebriefDueDateConfigArgs.builder()
.incidentTimestampId(debriefsClosed.id())
.days(PolicyDebriefDueDateConfigDaysArgs.builder()
.valueLiteral("5")
.build())
.calculationType("weekdays")
.build())
.build())
.build());
}
}
resources:
# A debrief policy: major incidents need a debrief booked in, not just promised.
#
# This one scopes itself with condition_groups rather than applying to every
# incident, so only the incidents that warrant a debrief are held to it.
debriefs:
type: incident:Policy
properties:
name: Debriefs booked for major incidents
description: Anything at major severity or above needs a debrief in the calendar.
conditionGroups:
- conditions:
- subject: incident.severity
operation: gte
paramBindings:
- valueLiteral: 01FCNDV6P870EA6S7TK1DSYD5H
assignmentRules:
bindings:
- valueLiteral: ${debriefsOwner.id}
reminderDueDateOffsetHours:
- -24
debrief:
requirements:
- conditions:
- subject: debrief.is_scheduled
operation: is_set
paramBindings: []
dueDateConfig:
incidentTimestampId: ${debriefsClosed.id}
days:
valueLiteral: '5'
calculationType: weekdays
variables:
debriefsOwner:
fn::invoke:
function: incident:getUser
arguments:
email: incident-manager@example.com
debriefsClosed:
fn::invoke:
function: incident:getIncidentTimestamp
arguments:
name: Closed at
Example coming soon!
Example - Find gaps in on-call coverage
import * as pulumi from "@pulumi/pulumi";
import * as incident from "@pulumi/incident";
const scheduleOwner = incident.getUser({
email: "on-call-manager@example.com",
});
// A schedule policy, which finds gaps in on-call coverage.
//
// Unlike follow-up, debrief and post-mortem policies this one takes no
// due_date_config: a coverage gap is a finding the moment it's spotted, so
// there is no due date to count from. It's the one type that instead supports
// reminders measured from when the gap was detected.
const scheduleCoverage = new incident.Policy("schedule_coverage", {
name: "On-call schedules have no gaps",
description: "Every rotation should have someone on call at all times.",
conditionGroups: [],
assignmentRules: {
bindings: [{
valueLiteral: scheduleOwner.then(scheduleOwner => scheduleOwner.id),
}],
reminderDueDateOffsetHours: [],
reminderDetectedDateOffsetHours: [
0,
48,
],
},
schedule: {
requirementType: "contiguous",
evaluationLevel: "rotation",
},
});
import pulumi
import pulumi_incident as incident
schedule_owner = incident.get_user(email="on-call-manager@example.com")
# A schedule policy, which finds gaps in on-call coverage.
#
# Unlike follow-up, debrief and post-mortem policies this one takes no
# due_date_config: a coverage gap is a finding the moment it's spotted, so
# there is no due date to count from. It's the one type that instead supports
# reminders measured from when the gap was detected.
schedule_coverage = incident.Policy("schedule_coverage",
name="On-call schedules have no gaps",
description="Every rotation should have someone on call at all times.",
condition_groups=[],
assignment_rules={
"bindings": [{
"value_literal": schedule_owner.id,
}],
"reminder_due_date_offset_hours": [],
"reminder_detected_date_offset_hours": [
0,
48,
],
},
schedule={
"requirement_type": "contiguous",
"evaluation_level": "rotation",
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/incident/v7/incident"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
scheduleOwner, err := incident.GetUser(ctx, &incident.GetUserArgs{
Email: pulumi.StringRef("on-call-manager@example.com"),
}, nil)
if err != nil {
return err
}
// A schedule policy, which finds gaps in on-call coverage.
//
// Unlike follow-up, debrief and post-mortem policies this one takes no
// due_date_config: a coverage gap is a finding the moment it's spotted, so
// there is no due date to count from. It's the one type that instead supports
// reminders measured from when the gap was detected.
_, err = incident.NewPolicy(ctx, "schedule_coverage", &incident.PolicyArgs{
Name: pulumi.String("On-call schedules have no gaps"),
Description: pulumi.String("Every rotation should have someone on call at all times."),
ConditionGroups: incident.PolicyConditionGroupArray{},
AssignmentRules: &incident.PolicyAssignmentRulesArgs{
Bindings: incident.PolicyAssignmentRulesBindingArray{
&incident.PolicyAssignmentRulesBindingArgs{
ValueLiteral: pulumi.String(scheduleOwner.Id),
},
},
ReminderDueDateOffsetHours: pulumi.Float64Array{},
ReminderDetectedDateOffsetHours: pulumi.Float64Array{
pulumi.Float64(0),
pulumi.Float64(48),
},
},
Schedule: &incident.PolicyScheduleArgs{
RequirementType: pulumi.String("contiguous"),
EvaluationLevel: pulumi.String("rotation"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Incident = Pulumi.Incident;
return await Deployment.RunAsync(() =>
{
var scheduleOwner = Incident.GetUser.Invoke(new()
{
Email = "on-call-manager@example.com",
});
// A schedule policy, which finds gaps in on-call coverage.
//
// Unlike follow-up, debrief and post-mortem policies this one takes no
// due_date_config: a coverage gap is a finding the moment it's spotted, so
// there is no due date to count from. It's the one type that instead supports
// reminders measured from when the gap was detected.
var scheduleCoverage = new Incident.Policy("schedule_coverage", new()
{
Name = "On-call schedules have no gaps",
Description = "Every rotation should have someone on call at all times.",
ConditionGroups = new[] {},
AssignmentRules = new Incident.Inputs.PolicyAssignmentRulesArgs
{
Bindings = new[]
{
new Incident.Inputs.PolicyAssignmentRulesBindingArgs
{
ValueLiteral = scheduleOwner.Apply(getUserResult => getUserResult.Id),
},
},
ReminderDueDateOffsetHours = new() { },
ReminderDetectedDateOffsetHours = new[]
{
0,
48,
},
},
Schedule = new Incident.Inputs.PolicyScheduleArgs
{
RequirementType = "contiguous",
EvaluationLevel = "rotation",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.incident.IncidentFunctions;
import com.pulumi.incident.inputs.GetUserArgs;
import com.pulumi.incident.Policy;
import com.pulumi.incident.PolicyArgs;
import com.pulumi.incident.inputs.PolicyAssignmentRulesArgs;
import com.pulumi.incident.inputs.PolicyScheduleArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var scheduleOwner = IncidentFunctions.getUser(GetUserArgs.builder()
.email("on-call-manager@example.com")
.build());
// A schedule policy, which finds gaps in on-call coverage.
//
// Unlike follow-up, debrief and post-mortem policies this one takes no
// due_date_config: a coverage gap is a finding the moment it's spotted, so
// there is no due date to count from. It's the one type that instead supports
// reminders measured from when the gap was detected.
var scheduleCoverage = new Policy("scheduleCoverage", PolicyArgs.builder()
.name("On-call schedules have no gaps")
.description("Every rotation should have someone on call at all times.")
.conditionGroups()
.assignmentRules(PolicyAssignmentRulesArgs.builder()
.bindings(PolicyAssignmentRulesBindingArgs.builder()
.valueLiteral(scheduleOwner.id())
.build())
.reminderDueDateOffsetHours()
.reminderDetectedDateOffsetHours(
0.0,
48.0)
.build())
.schedule(PolicyScheduleArgs.builder()
.requirementType("contiguous")
.evaluationLevel("rotation")
.build())
.build());
}
}
resources:
# A schedule policy, which finds gaps in on-call coverage.
#
# Unlike follow-up, debrief and post-mortem policies this one takes no
# due_date_config: a coverage gap is a finding the moment it's spotted, so
# there is no due date to count from. It's the one type that instead supports
# reminders measured from when the gap was detected.
scheduleCoverage:
type: incident:Policy
name: schedule_coverage
properties:
name: On-call schedules have no gaps
description: Every rotation should have someone on call at all times.
conditionGroups: []
assignmentRules:
bindings:
- valueLiteral: ${scheduleOwner.id}
reminderDueDateOffsetHours: []
reminderDetectedDateOffsetHours:
- 0
- 48
schedule:
requirementType: contiguous
evaluationLevel: rotation
variables:
scheduleOwner:
fn::invoke:
function: incident:getUser
arguments:
email: on-call-manager@example.com
Example coming soon!
Example - Check that on-call responders can be reached
import * as pulumi from "@pulumi/pulumi";
import * as incident from "@pulumi/incident";
// An on-call readiness policy, which checks that responders have a notification
// method that reaches them quickly enough.
//
// It takes no assignment_rules: this type always assigns the user the finding is
// about, and the API picks that assignee itself.
const respondersCanBeReached = new incident.Policy("responders_can_be_reached", {
name: "Responders carry a phone",
description: "Anyone on call needs a notification method that reaches them quickly.",
conditionGroups: [],
onCallReadiness: {
highUrgencies: [{
methodTypes: [
"phone",
"sms",
],
maxDelaySeconds: 300,
}],
lowUrgencies: [{
methodTypes: ["email"],
maxDelaySeconds: 900,
}],
},
});
import pulumi
import pulumi_incident as incident
# An on-call readiness policy, which checks that responders have a notification
# method that reaches them quickly enough.
#
# It takes no assignment_rules: this type always assigns the user the finding is
# about, and the API picks that assignee itself.
responders_can_be_reached = incident.Policy("responders_can_be_reached",
name="Responders carry a phone",
description="Anyone on call needs a notification method that reaches them quickly.",
condition_groups=[],
on_call_readiness={
"high_urgencies": [{
"method_types": [
"phone",
"sms",
],
"max_delay_seconds": 300,
}],
"low_urgencies": [{
"method_types": ["email"],
"max_delay_seconds": 900,
}],
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/incident/v7/incident"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// An on-call readiness policy, which checks that responders have a notification
// method that reaches them quickly enough.
//
// It takes no assignment_rules: this type always assigns the user the finding is
// about, and the API picks that assignee itself.
_, err := incident.NewPolicy(ctx, "responders_can_be_reached", &incident.PolicyArgs{
Name: pulumi.String("Responders carry a phone"),
Description: pulumi.String("Anyone on call needs a notification method that reaches them quickly."),
ConditionGroups: incident.PolicyConditionGroupArray{},
OnCallReadiness: &incident.PolicyOnCallReadinessArgs{
HighUrgencies: incident.PolicyOnCallReadinessHighUrgencyArray{
&incident.PolicyOnCallReadinessHighUrgencyArgs{
MethodTypes: pulumi.StringArray{
pulumi.String("phone"),
pulumi.String("sms"),
},
MaxDelaySeconds: pulumi.Float64(300),
},
},
LowUrgencies: incident.PolicyOnCallReadinessLowUrgencyArray{
&incident.PolicyOnCallReadinessLowUrgencyArgs{
MethodTypes: pulumi.StringArray{
pulumi.String("email"),
},
MaxDelaySeconds: pulumi.Float64(900),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Incident = Pulumi.Incident;
return await Deployment.RunAsync(() =>
{
// An on-call readiness policy, which checks that responders have a notification
// method that reaches them quickly enough.
//
// It takes no assignment_rules: this type always assigns the user the finding is
// about, and the API picks that assignee itself.
var respondersCanBeReached = new Incident.Policy("responders_can_be_reached", new()
{
Name = "Responders carry a phone",
Description = "Anyone on call needs a notification method that reaches them quickly.",
ConditionGroups = new[] {},
OnCallReadiness = new Incident.Inputs.PolicyOnCallReadinessArgs
{
HighUrgencies = new[]
{
new Incident.Inputs.PolicyOnCallReadinessHighUrgencyArgs
{
MethodTypes = new[]
{
"phone",
"sms",
},
MaxDelaySeconds = 300,
},
},
LowUrgencies = new[]
{
new Incident.Inputs.PolicyOnCallReadinessLowUrgencyArgs
{
MethodTypes = new[]
{
"email",
},
MaxDelaySeconds = 900,
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.incident.Policy;
import com.pulumi.incident.PolicyArgs;
import com.pulumi.incident.inputs.PolicyOnCallReadinessArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
// An on-call readiness policy, which checks that responders have a notification
// method that reaches them quickly enough.
//
// It takes no assignment_rules: this type always assigns the user the finding is
// about, and the API picks that assignee itself.
var respondersCanBeReached = new Policy("respondersCanBeReached", PolicyArgs.builder()
.name("Responders carry a phone")
.description("Anyone on call needs a notification method that reaches them quickly.")
.conditionGroups()
.onCallReadiness(PolicyOnCallReadinessArgs.builder()
.highUrgencies(PolicyOnCallReadinessHighUrgencyArgs.builder()
.methodTypes(
"phone",
"sms")
.maxDelaySeconds(300.0)
.build())
.lowUrgencies(PolicyOnCallReadinessLowUrgencyArgs.builder()
.methodTypes("email")
.maxDelaySeconds(900.0)
.build())
.build())
.build());
}
}
resources:
# An on-call readiness policy, which checks that responders have a notification
# method that reaches them quickly enough.
#
# It takes no assignment_rules: this type always assigns the user the finding is
# about, and the API picks that assignee itself.
respondersCanBeReached:
type: incident:Policy
name: responders_can_be_reached
properties:
name: Responders carry a phone
description: Anyone on call needs a notification method that reaches them quickly.
conditionGroups: []
onCallReadiness:
highUrgencies:
- methodTypes:
- phone
- sms
maxDelaySeconds: 300
lowUrgencies:
- methodTypes:
- email
maxDelaySeconds: 900
Example coming soon!
Example - Flag responders rota’d on while they are away
import * as pulumi from "@pulumi/pulumi";
import * as incident from "@pulumi/incident";
// A vacation conflict policy, which flags responders rota'd on while they are
// away. The type has nothing to configure, so its block is empty: it is only
// there to say which type this is.
//
// Like on-call readiness, it takes no assignment_rules: the API assigns the user
// the finding is about.
const vacationConflicts = new incident.Policy("vacation_conflicts", {
name: "No on-call during vacation",
description: "Flag anyone scheduled on call while they are on leave.",
conditionGroups: [],
vacationConflict: {},
});
import pulumi
import pulumi_incident as incident
# A vacation conflict policy, which flags responders rota'd on while they are
# away. The type has nothing to configure, so its block is empty: it is only
# there to say which type this is.
#
# Like on-call readiness, it takes no assignment_rules: the API assigns the user
# the finding is about.
vacation_conflicts = incident.Policy("vacation_conflicts",
name="No on-call during vacation",
description="Flag anyone scheduled on call while they are on leave.",
condition_groups=[],
vacation_conflict={})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/incident/v7/incident"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// A vacation conflict policy, which flags responders rota'd on while they are
// away. The type has nothing to configure, so its block is empty: it is only
// there to say which type this is.
//
// Like on-call readiness, it takes no assignment_rules: the API assigns the user
// the finding is about.
_, err := incident.NewPolicy(ctx, "vacation_conflicts", &incident.PolicyArgs{
Name: pulumi.String("No on-call during vacation"),
Description: pulumi.String("Flag anyone scheduled on call while they are on leave."),
ConditionGroups: incident.PolicyConditionGroupArray{},
VacationConflict: &incident.PolicyVacationConflictArgs{},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Incident = Pulumi.Incident;
return await Deployment.RunAsync(() =>
{
// A vacation conflict policy, which flags responders rota'd on while they are
// away. The type has nothing to configure, so its block is empty: it is only
// there to say which type this is.
//
// Like on-call readiness, it takes no assignment_rules: the API assigns the user
// the finding is about.
var vacationConflicts = new Incident.Policy("vacation_conflicts", new()
{
Name = "No on-call during vacation",
Description = "Flag anyone scheduled on call while they are on leave.",
ConditionGroups = new[] {},
VacationConflict = null,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.incident.Policy;
import com.pulumi.incident.PolicyArgs;
import com.pulumi.incident.inputs.PolicyVacationConflictArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
// A vacation conflict policy, which flags responders rota'd on while they are
// away. The type has nothing to configure, so its block is empty: it is only
// there to say which type this is.
//
// Like on-call readiness, it takes no assignment_rules: the API assigns the user
// the finding is about.
var vacationConflicts = new Policy("vacationConflicts", PolicyArgs.builder()
.name("No on-call during vacation")
.description("Flag anyone scheduled on call while they are on leave.")
.conditionGroups()
.vacationConflict(PolicyVacationConflictArgs.builder()
.build())
.build());
}
}
resources:
# A vacation conflict policy, which flags responders rota'd on while they are
# away. The type has nothing to configure, so its block is empty: it is only
# there to say which type this is.
#
# Like on-call readiness, it takes no assignment_rules: the API assigns the user
# the finding is about.
vacationConflicts:
type: incident:Policy
name: vacation_conflicts
properties:
name: No on-call during vacation
description: Flag anyone scheduled on call while they are on leave.
conditionGroups: []
vacationConflict: {}
Example coming soon!
Create Policy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Policy(name: string, args: PolicyArgs, opts?: CustomResourceOptions);@overload
def Policy(resource_name: str,
args: PolicyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Policy(resource_name: str,
opts: Optional[ResourceOptions] = None,
condition_groups: Optional[Sequence[PolicyConditionGroupArgs]] = None,
description: Optional[str] = None,
assignment_rules: Optional[PolicyAssignmentRulesArgs] = None,
debrief: Optional[PolicyDebriefArgs] = None,
expressions: Optional[Sequence[PolicyExpressionArgs]] = None,
follow_up: Optional[PolicyFollowUpArgs] = None,
name: Optional[str] = None,
on_call_readiness: Optional[PolicyOnCallReadinessArgs] = None,
post_mortem: Optional[PolicyPostMortemArgs] = None,
schedule: Optional[PolicyScheduleArgs] = None,
status: Optional[str] = None,
vacation_conflict: Optional[PolicyVacationConflictArgs] = None)func NewPolicy(ctx *Context, name string, args PolicyArgs, opts ...ResourceOption) (*Policy, error)public Policy(string name, PolicyArgs args, CustomResourceOptions? opts = null)
public Policy(String name, PolicyArgs args)
public Policy(String name, PolicyArgs args, CustomResourceOptions options)
type: incident:Policy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "incident_policy" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args PolicyArgs
- 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 PolicyArgs
- 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 PolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PolicyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Policy Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Policy resource accepts the following input properties:
- Condition
Groups List<PolicyCondition Group> - Groups of prerequisite conditions. All conditions in at least one group must be satisfied
- Description string
- Human readable description of the policy
- Assignment
Rules PolicyAssignment Rules - Who to assign a finding to, and when to remind them. Omit it for a policy type that assigns the user the finding is about.
- Debrief
Policy
Debrief - Makes this a debrief policy, stating what a debrief must satisfy and when it falls due.
- Expressions
List<Policy
Expression> - The expressions to be prepared for use by steps and conditions
- Follow
Up PolicyFollow Up - Makes this a followup policy, stating what a followup must satisfy and when it falls due.
- Name string
- Human readable name of the policy
- On
Call PolicyReadiness On Call Readiness - Makes this an on-call readiness policy, which checks that users have suitable notification methods. The assignee is always the user the finding is about, so
assignment_rulescannot be set alongside it. - Post
Mortem PolicyPost Mortem - Makes this a postmortem policy, stating what a postmortem must satisfy and when it falls due.
- Schedule
Policy
Schedule - Makes this a schedule policy, which detects gaps in on-call coverage.
- Status string
- Disabled policies stop evaluating but keep their config. Possible values are:
enabled,disabled. - Vacation
Conflict PolicyVacation Conflict - Makes this a vacation-conflict policy, which flags responders rota'd on while they are away. It takes no configuration, so set it to an empty object. The assignee is always the user the finding is about, so
assignment_rulescannot be set alongside it.
- Condition
Groups []PolicyCondition Group Args - Groups of prerequisite conditions. All conditions in at least one group must be satisfied
- Description string
- Human readable description of the policy
- Assignment
Rules PolicyAssignment Rules Args - Who to assign a finding to, and when to remind them. Omit it for a policy type that assigns the user the finding is about.
- Debrief
Policy
Debrief Args - Makes this a debrief policy, stating what a debrief must satisfy and when it falls due.
- Expressions
[]Policy
Expression Args - The expressions to be prepared for use by steps and conditions
- Follow
Up PolicyFollow Up Args - Makes this a followup policy, stating what a followup must satisfy and when it falls due.
- Name string
- Human readable name of the policy
- On
Call PolicyReadiness On Call Readiness Args - Makes this an on-call readiness policy, which checks that users have suitable notification methods. The assignee is always the user the finding is about, so
assignment_rulescannot be set alongside it. - Post
Mortem PolicyPost Mortem Args - Makes this a postmortem policy, stating what a postmortem must satisfy and when it falls due.
- Schedule
Policy
Schedule Args - Makes this a schedule policy, which detects gaps in on-call coverage.
- Status string
- Disabled policies stop evaluating but keep their config. Possible values are:
enabled,disabled. - Vacation
Conflict PolicyVacation Conflict Args - Makes this a vacation-conflict policy, which flags responders rota'd on while they are away. It takes no configuration, so set it to an empty object. The assignee is always the user the finding is about, so
assignment_rulescannot be set alongside it.
- condition_
groups list(object) - Groups of prerequisite conditions. All conditions in at least one group must be satisfied
- description string
- Human readable description of the policy
- assignment_
rules object - Who to assign a finding to, and when to remind them. Omit it for a policy type that assigns the user the finding is about.
- debrief object
- Makes this a debrief policy, stating what a debrief must satisfy and when it falls due.
- expressions list(object)
- The expressions to be prepared for use by steps and conditions
- follow_
up object - Makes this a followup policy, stating what a followup must satisfy and when it falls due.
- name string
- Human readable name of the policy
- on_
call_ objectreadiness - Makes this an on-call readiness policy, which checks that users have suitable notification methods. The assignee is always the user the finding is about, so
assignment_rulescannot be set alongside it. - post_
mortem object - Makes this a postmortem policy, stating what a postmortem must satisfy and when it falls due.
- schedule object
- Makes this a schedule policy, which detects gaps in on-call coverage.
- status string
- Disabled policies stop evaluating but keep their config. Possible values are:
enabled,disabled. - vacation_
conflict object - Makes this a vacation-conflict policy, which flags responders rota'd on while they are away. It takes no configuration, so set it to an empty object. The assignee is always the user the finding is about, so
assignment_rulescannot be set alongside it.
- condition
Groups List<PolicyCondition Group> - Groups of prerequisite conditions. All conditions in at least one group must be satisfied
- description String
- Human readable description of the policy
- assignment
Rules PolicyAssignment Rules - Who to assign a finding to, and when to remind them. Omit it for a policy type that assigns the user the finding is about.
- debrief
Policy
Debrief - Makes this a debrief policy, stating what a debrief must satisfy and when it falls due.
- expressions
List<Policy
Expression> - The expressions to be prepared for use by steps and conditions
- follow
Up PolicyFollow Up - Makes this a followup policy, stating what a followup must satisfy and when it falls due.
- name String
- Human readable name of the policy
- on
Call PolicyReadiness On Call Readiness - Makes this an on-call readiness policy, which checks that users have suitable notification methods. The assignee is always the user the finding is about, so
assignment_rulescannot be set alongside it. - post
Mortem PolicyPost Mortem - Makes this a postmortem policy, stating what a postmortem must satisfy and when it falls due.
- schedule
Policy
Schedule - Makes this a schedule policy, which detects gaps in on-call coverage.
- status String
- Disabled policies stop evaluating but keep their config. Possible values are:
enabled,disabled. - vacation
Conflict PolicyVacation Conflict - Makes this a vacation-conflict policy, which flags responders rota'd on while they are away. It takes no configuration, so set it to an empty object. The assignee is always the user the finding is about, so
assignment_rulescannot be set alongside it.
- condition
Groups PolicyCondition Group[] - Groups of prerequisite conditions. All conditions in at least one group must be satisfied
- description string
- Human readable description of the policy
- assignment
Rules PolicyAssignment Rules - Who to assign a finding to, and when to remind them. Omit it for a policy type that assigns the user the finding is about.
- debrief
Policy
Debrief - Makes this a debrief policy, stating what a debrief must satisfy and when it falls due.
- expressions
Policy
Expression[] - The expressions to be prepared for use by steps and conditions
- follow
Up PolicyFollow Up - Makes this a followup policy, stating what a followup must satisfy and when it falls due.
- name string
- Human readable name of the policy
- on
Call PolicyReadiness On Call Readiness - Makes this an on-call readiness policy, which checks that users have suitable notification methods. The assignee is always the user the finding is about, so
assignment_rulescannot be set alongside it. - post
Mortem PolicyPost Mortem - Makes this a postmortem policy, stating what a postmortem must satisfy and when it falls due.
- schedule
Policy
Schedule - Makes this a schedule policy, which detects gaps in on-call coverage.
- status string
- Disabled policies stop evaluating but keep their config. Possible values are:
enabled,disabled. - vacation
Conflict PolicyVacation Conflict - Makes this a vacation-conflict policy, which flags responders rota'd on while they are away. It takes no configuration, so set it to an empty object. The assignee is always the user the finding is about, so
assignment_rulescannot be set alongside it.
- condition_
groups Sequence[PolicyCondition Group Args] - Groups of prerequisite conditions. All conditions in at least one group must be satisfied
- description str
- Human readable description of the policy
- assignment_
rules PolicyAssignment Rules Args - Who to assign a finding to, and when to remind them. Omit it for a policy type that assigns the user the finding is about.
- debrief
Policy
Debrief Args - Makes this a debrief policy, stating what a debrief must satisfy and when it falls due.
- expressions
Sequence[Policy
Expression Args] - The expressions to be prepared for use by steps and conditions
- follow_
up PolicyFollow Up Args - Makes this a followup policy, stating what a followup must satisfy and when it falls due.
- name str
- Human readable name of the policy
- on_
call_ Policyreadiness On Call Readiness Args - Makes this an on-call readiness policy, which checks that users have suitable notification methods. The assignee is always the user the finding is about, so
assignment_rulescannot be set alongside it. - post_
mortem PolicyPost Mortem Args - Makes this a postmortem policy, stating what a postmortem must satisfy and when it falls due.
- schedule
Policy
Schedule Args - Makes this a schedule policy, which detects gaps in on-call coverage.
- status str
- Disabled policies stop evaluating but keep their config. Possible values are:
enabled,disabled. - vacation_
conflict PolicyVacation Conflict Args - Makes this a vacation-conflict policy, which flags responders rota'd on while they are away. It takes no configuration, so set it to an empty object. The assignee is always the user the finding is about, so
assignment_rulescannot be set alongside it.
- condition
Groups List<Property Map> - Groups of prerequisite conditions. All conditions in at least one group must be satisfied
- description String
- Human readable description of the policy
- assignment
Rules Property Map - Who to assign a finding to, and when to remind them. Omit it for a policy type that assigns the user the finding is about.
- debrief Property Map
- Makes this a debrief policy, stating what a debrief must satisfy and when it falls due.
- expressions List<Property Map>
- The expressions to be prepared for use by steps and conditions
- follow
Up Property Map - Makes this a followup policy, stating what a followup must satisfy and when it falls due.
- name String
- Human readable name of the policy
- on
Call Property MapReadiness - Makes this an on-call readiness policy, which checks that users have suitable notification methods. The assignee is always the user the finding is about, so
assignment_rulescannot be set alongside it. - post
Mortem Property Map - Makes this a postmortem policy, stating what a postmortem must satisfy and when it falls due.
- schedule Property Map
- Makes this a schedule policy, which detects gaps in on-call coverage.
- status String
- Disabled policies stop evaluating but keep their config. Possible values are:
enabled,disabled. - vacation
Conflict Property Map - Makes this a vacation-conflict policy, which flags responders rota'd on while they are away. It takes no configuration, so set it to an empty object. The assignee is always the user the finding is about, so
assignment_rulescannot be set alongside it.
Outputs
All input properties are implicitly available as output properties. Additionally, the Policy resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Policy
Type string - Type of the policy, specifying what this applies to. Possible values are:
debrief,follow_up,on_call_readiness,post_mortem,schedule,vacation_conflict. Determined by which config block is set.
- Id string
- The provider-assigned unique ID for this managed resource.
- Policy
Type string - Type of the policy, specifying what this applies to. Possible values are:
debrief,follow_up,on_call_readiness,post_mortem,schedule,vacation_conflict. Determined by which config block is set.
- id string
- The provider-assigned unique ID for this managed resource.
- policy_
type string - Type of the policy, specifying what this applies to. Possible values are:
debrief,follow_up,on_call_readiness,post_mortem,schedule,vacation_conflict. Determined by which config block is set.
- id String
- The provider-assigned unique ID for this managed resource.
- policy
Type String - Type of the policy, specifying what this applies to. Possible values are:
debrief,follow_up,on_call_readiness,post_mortem,schedule,vacation_conflict. Determined by which config block is set.
- id string
- The provider-assigned unique ID for this managed resource.
- policy
Type string - Type of the policy, specifying what this applies to. Possible values are:
debrief,follow_up,on_call_readiness,post_mortem,schedule,vacation_conflict. Determined by which config block is set.
- id str
- The provider-assigned unique ID for this managed resource.
- policy_
type str - Type of the policy, specifying what this applies to. Possible values are:
debrief,follow_up,on_call_readiness,post_mortem,schedule,vacation_conflict. Determined by which config block is set.
- id String
- The provider-assigned unique ID for this managed resource.
- policy
Type String - Type of the policy, specifying what this applies to. Possible values are:
debrief,follow_up,on_call_readiness,post_mortem,schedule,vacation_conflict. Determined by which config block is set.
Look up Existing Policy Resource
Get an existing Policy 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?: PolicyState, opts?: CustomResourceOptions): Policy@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
assignment_rules: Optional[PolicyAssignmentRulesArgs] = None,
condition_groups: Optional[Sequence[PolicyConditionGroupArgs]] = None,
debrief: Optional[PolicyDebriefArgs] = None,
description: Optional[str] = None,
expressions: Optional[Sequence[PolicyExpressionArgs]] = None,
follow_up: Optional[PolicyFollowUpArgs] = None,
name: Optional[str] = None,
on_call_readiness: Optional[PolicyOnCallReadinessArgs] = None,
policy_type: Optional[str] = None,
post_mortem: Optional[PolicyPostMortemArgs] = None,
schedule: Optional[PolicyScheduleArgs] = None,
status: Optional[str] = None,
vacation_conflict: Optional[PolicyVacationConflictArgs] = None) -> Policyfunc GetPolicy(ctx *Context, name string, id IDInput, state *PolicyState, opts ...ResourceOption) (*Policy, error)public static Policy Get(string name, Input<string> id, PolicyState? state, CustomResourceOptions? opts = null)public static Policy get(String name, Output<String> id, PolicyState state, CustomResourceOptions options)resources: _: type: incident:Policy get: id: ${id}import {
to = incident_policy.example
id = "${id}"
}
- 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.
- Assignment
Rules PolicyAssignment Rules - Who to assign a finding to, and when to remind them. Omit it for a policy type that assigns the user the finding is about.
- Condition
Groups List<PolicyCondition Group> - Groups of prerequisite conditions. All conditions in at least one group must be satisfied
- Debrief
Policy
Debrief - Makes this a debrief policy, stating what a debrief must satisfy and when it falls due.
- Description string
- Human readable description of the policy
- Expressions
List<Policy
Expression> - The expressions to be prepared for use by steps and conditions
- Follow
Up PolicyFollow Up - Makes this a followup policy, stating what a followup must satisfy and when it falls due.
- Name string
- Human readable name of the policy
- On
Call PolicyReadiness On Call Readiness - Makes this an on-call readiness policy, which checks that users have suitable notification methods. The assignee is always the user the finding is about, so
assignment_rulescannot be set alongside it. - Policy
Type string - Type of the policy, specifying what this applies to. Possible values are:
debrief,follow_up,on_call_readiness,post_mortem,schedule,vacation_conflict. Determined by which config block is set. - Post
Mortem PolicyPost Mortem - Makes this a postmortem policy, stating what a postmortem must satisfy and when it falls due.
- Schedule
Policy
Schedule - Makes this a schedule policy, which detects gaps in on-call coverage.
- Status string
- Disabled policies stop evaluating but keep their config. Possible values are:
enabled,disabled. - Vacation
Conflict PolicyVacation Conflict - Makes this a vacation-conflict policy, which flags responders rota'd on while they are away. It takes no configuration, so set it to an empty object. The assignee is always the user the finding is about, so
assignment_rulescannot be set alongside it.
- Assignment
Rules PolicyAssignment Rules Args - Who to assign a finding to, and when to remind them. Omit it for a policy type that assigns the user the finding is about.
- Condition
Groups []PolicyCondition Group Args - Groups of prerequisite conditions. All conditions in at least one group must be satisfied
- Debrief
Policy
Debrief Args - Makes this a debrief policy, stating what a debrief must satisfy and when it falls due.
- Description string
- Human readable description of the policy
- Expressions
[]Policy
Expression Args - The expressions to be prepared for use by steps and conditions
- Follow
Up PolicyFollow Up Args - Makes this a followup policy, stating what a followup must satisfy and when it falls due.
- Name string
- Human readable name of the policy
- On
Call PolicyReadiness On Call Readiness Args - Makes this an on-call readiness policy, which checks that users have suitable notification methods. The assignee is always the user the finding is about, so
assignment_rulescannot be set alongside it. - Policy
Type string - Type of the policy, specifying what this applies to. Possible values are:
debrief,follow_up,on_call_readiness,post_mortem,schedule,vacation_conflict. Determined by which config block is set. - Post
Mortem PolicyPost Mortem Args - Makes this a postmortem policy, stating what a postmortem must satisfy and when it falls due.
- Schedule
Policy
Schedule Args - Makes this a schedule policy, which detects gaps in on-call coverage.
- Status string
- Disabled policies stop evaluating but keep their config. Possible values are:
enabled,disabled. - Vacation
Conflict PolicyVacation Conflict Args - Makes this a vacation-conflict policy, which flags responders rota'd on while they are away. It takes no configuration, so set it to an empty object. The assignee is always the user the finding is about, so
assignment_rulescannot be set alongside it.
- assignment_
rules object - Who to assign a finding to, and when to remind them. Omit it for a policy type that assigns the user the finding is about.
- condition_
groups list(object) - Groups of prerequisite conditions. All conditions in at least one group must be satisfied
- debrief object
- Makes this a debrief policy, stating what a debrief must satisfy and when it falls due.
- description string
- Human readable description of the policy
- expressions list(object)
- The expressions to be prepared for use by steps and conditions
- follow_
up object - Makes this a followup policy, stating what a followup must satisfy and when it falls due.
- name string
- Human readable name of the policy
- on_
call_ objectreadiness - Makes this an on-call readiness policy, which checks that users have suitable notification methods. The assignee is always the user the finding is about, so
assignment_rulescannot be set alongside it. - policy_
type string - Type of the policy, specifying what this applies to. Possible values are:
debrief,follow_up,on_call_readiness,post_mortem,schedule,vacation_conflict. Determined by which config block is set. - post_
mortem object - Makes this a postmortem policy, stating what a postmortem must satisfy and when it falls due.
- schedule object
- Makes this a schedule policy, which detects gaps in on-call coverage.
- status string
- Disabled policies stop evaluating but keep their config. Possible values are:
enabled,disabled. - vacation_
conflict object - Makes this a vacation-conflict policy, which flags responders rota'd on while they are away. It takes no configuration, so set it to an empty object. The assignee is always the user the finding is about, so
assignment_rulescannot be set alongside it.
- assignment
Rules PolicyAssignment Rules - Who to assign a finding to, and when to remind them. Omit it for a policy type that assigns the user the finding is about.
- condition
Groups List<PolicyCondition Group> - Groups of prerequisite conditions. All conditions in at least one group must be satisfied
- debrief
Policy
Debrief - Makes this a debrief policy, stating what a debrief must satisfy and when it falls due.
- description String
- Human readable description of the policy
- expressions
List<Policy
Expression> - The expressions to be prepared for use by steps and conditions
- follow
Up PolicyFollow Up - Makes this a followup policy, stating what a followup must satisfy and when it falls due.
- name String
- Human readable name of the policy
- on
Call PolicyReadiness On Call Readiness - Makes this an on-call readiness policy, which checks that users have suitable notification methods. The assignee is always the user the finding is about, so
assignment_rulescannot be set alongside it. - policy
Type String - Type of the policy, specifying what this applies to. Possible values are:
debrief,follow_up,on_call_readiness,post_mortem,schedule,vacation_conflict. Determined by which config block is set. - post
Mortem PolicyPost Mortem - Makes this a postmortem policy, stating what a postmortem must satisfy and when it falls due.
- schedule
Policy
Schedule - Makes this a schedule policy, which detects gaps in on-call coverage.
- status String
- Disabled policies stop evaluating but keep their config. Possible values are:
enabled,disabled. - vacation
Conflict PolicyVacation Conflict - Makes this a vacation-conflict policy, which flags responders rota'd on while they are away. It takes no configuration, so set it to an empty object. The assignee is always the user the finding is about, so
assignment_rulescannot be set alongside it.
- assignment
Rules PolicyAssignment Rules - Who to assign a finding to, and when to remind them. Omit it for a policy type that assigns the user the finding is about.
- condition
Groups PolicyCondition Group[] - Groups of prerequisite conditions. All conditions in at least one group must be satisfied
- debrief
Policy
Debrief - Makes this a debrief policy, stating what a debrief must satisfy and when it falls due.
- description string
- Human readable description of the policy
- expressions
Policy
Expression[] - The expressions to be prepared for use by steps and conditions
- follow
Up PolicyFollow Up - Makes this a followup policy, stating what a followup must satisfy and when it falls due.
- name string
- Human readable name of the policy
- on
Call PolicyReadiness On Call Readiness - Makes this an on-call readiness policy, which checks that users have suitable notification methods. The assignee is always the user the finding is about, so
assignment_rulescannot be set alongside it. - policy
Type string - Type of the policy, specifying what this applies to. Possible values are:
debrief,follow_up,on_call_readiness,post_mortem,schedule,vacation_conflict. Determined by which config block is set. - post
Mortem PolicyPost Mortem - Makes this a postmortem policy, stating what a postmortem must satisfy and when it falls due.
- schedule
Policy
Schedule - Makes this a schedule policy, which detects gaps in on-call coverage.
- status string
- Disabled policies stop evaluating but keep their config. Possible values are:
enabled,disabled. - vacation
Conflict PolicyVacation Conflict - Makes this a vacation-conflict policy, which flags responders rota'd on while they are away. It takes no configuration, so set it to an empty object. The assignee is always the user the finding is about, so
assignment_rulescannot be set alongside it.
- assignment_
rules PolicyAssignment Rules Args - Who to assign a finding to, and when to remind them. Omit it for a policy type that assigns the user the finding is about.
- condition_
groups Sequence[PolicyCondition Group Args] - Groups of prerequisite conditions. All conditions in at least one group must be satisfied
- debrief
Policy
Debrief Args - Makes this a debrief policy, stating what a debrief must satisfy and when it falls due.
- description str
- Human readable description of the policy
- expressions
Sequence[Policy
Expression Args] - The expressions to be prepared for use by steps and conditions
- follow_
up PolicyFollow Up Args - Makes this a followup policy, stating what a followup must satisfy and when it falls due.
- name str
- Human readable name of the policy
- on_
call_ Policyreadiness On Call Readiness Args - Makes this an on-call readiness policy, which checks that users have suitable notification methods. The assignee is always the user the finding is about, so
assignment_rulescannot be set alongside it. - policy_
type str - Type of the policy, specifying what this applies to. Possible values are:
debrief,follow_up,on_call_readiness,post_mortem,schedule,vacation_conflict. Determined by which config block is set. - post_
mortem PolicyPost Mortem Args - Makes this a postmortem policy, stating what a postmortem must satisfy and when it falls due.
- schedule
Policy
Schedule Args - Makes this a schedule policy, which detects gaps in on-call coverage.
- status str
- Disabled policies stop evaluating but keep their config. Possible values are:
enabled,disabled. - vacation_
conflict PolicyVacation Conflict Args - Makes this a vacation-conflict policy, which flags responders rota'd on while they are away. It takes no configuration, so set it to an empty object. The assignee is always the user the finding is about, so
assignment_rulescannot be set alongside it.
- assignment
Rules Property Map - Who to assign a finding to, and when to remind them. Omit it for a policy type that assigns the user the finding is about.
- condition
Groups List<Property Map> - Groups of prerequisite conditions. All conditions in at least one group must be satisfied
- debrief Property Map
- Makes this a debrief policy, stating what a debrief must satisfy and when it falls due.
- description String
- Human readable description of the policy
- expressions List<Property Map>
- The expressions to be prepared for use by steps and conditions
- follow
Up Property Map - Makes this a followup policy, stating what a followup must satisfy and when it falls due.
- name String
- Human readable name of the policy
- on
Call Property MapReadiness - Makes this an on-call readiness policy, which checks that users have suitable notification methods. The assignee is always the user the finding is about, so
assignment_rulescannot be set alongside it. - policy
Type String - Type of the policy, specifying what this applies to. Possible values are:
debrief,follow_up,on_call_readiness,post_mortem,schedule,vacation_conflict. Determined by which config block is set. - post
Mortem Property Map - Makes this a postmortem policy, stating what a postmortem must satisfy and when it falls due.
- schedule Property Map
- Makes this a schedule policy, which detects gaps in on-call coverage.
- status String
- Disabled policies stop evaluating but keep their config. Possible values are:
enabled,disabled. - vacation
Conflict Property Map - Makes this a vacation-conflict policy, which flags responders rota'd on while they are away. It takes no configuration, so set it to an empty object. The assignee is always the user the finding is about, so
assignment_rulescannot be set alongside it.
Supporting Types
PolicyAssignmentRules, PolicyAssignmentRulesArgs
- Bindings
List<Policy
Assignment Rules Binding> - Bindings which define the user to be assigned. We will assign the first user which evaluates; the rest are fallback values
- Reminder
Due List<double>Date Offset Hours - List of hours relative to the due date to remind the assignee. Negative values are before the due date, positive after.
- Reminder
Cadence PolicyAfter Assignment Rules Reminder Cadence After - A recurring reminder, which repeats once per interval until the finding is resolved.
- Reminder
Cadence PolicyBefore Assignment Rules Reminder Cadence Before - A recurring reminder, which repeats once per interval until the finding is resolved.
- Reminder
Detected List<double>Date Offset Hours - List of hours relative to when the finding was detected to remind the assignee. Non-negative only; 0 means immediately on detection. Only valid for policy types that support detection reminders (e.g. schedule).
- Bindings
[]Policy
Assignment Rules Binding - Bindings which define the user to be assigned. We will assign the first user which evaluates; the rest are fallback values
- Reminder
Due []float64Date Offset Hours - List of hours relative to the due date to remind the assignee. Negative values are before the due date, positive after.
- Reminder
Cadence PolicyAfter Assignment Rules Reminder Cadence After - A recurring reminder, which repeats once per interval until the finding is resolved.
- Reminder
Cadence PolicyBefore Assignment Rules Reminder Cadence Before - A recurring reminder, which repeats once per interval until the finding is resolved.
- Reminder
Detected []float64Date Offset Hours - List of hours relative to when the finding was detected to remind the assignee. Non-negative only; 0 means immediately on detection. Only valid for policy types that support detection reminders (e.g. schedule).
- bindings list(object)
- Bindings which define the user to be assigned. We will assign the first user which evaluates; the rest are fallback values
- reminder_
due_ list(number)date_ offset_ hours - List of hours relative to the due date to remind the assignee. Negative values are before the due date, positive after.
- reminder_
cadence_ objectafter - A recurring reminder, which repeats once per interval until the finding is resolved.
- reminder_
cadence_ objectbefore - A recurring reminder, which repeats once per interval until the finding is resolved.
- reminder_
detected_ list(number)date_ offset_ hours - List of hours relative to when the finding was detected to remind the assignee. Non-negative only; 0 means immediately on detection. Only valid for policy types that support detection reminders (e.g. schedule).
- bindings
List<Policy
Assignment Rules Binding> - Bindings which define the user to be assigned. We will assign the first user which evaluates; the rest are fallback values
- reminder
Due List<Double>Date Offset Hours - List of hours relative to the due date to remind the assignee. Negative values are before the due date, positive after.
- reminder
Cadence PolicyAfter Assignment Rules Reminder Cadence After - A recurring reminder, which repeats once per interval until the finding is resolved.
- reminder
Cadence PolicyBefore Assignment Rules Reminder Cadence Before - A recurring reminder, which repeats once per interval until the finding is resolved.
- reminder
Detected List<Double>Date Offset Hours - List of hours relative to when the finding was detected to remind the assignee. Non-negative only; 0 means immediately on detection. Only valid for policy types that support detection reminders (e.g. schedule).
- bindings
Policy
Assignment Rules Binding[] - Bindings which define the user to be assigned. We will assign the first user which evaluates; the rest are fallback values
- reminder
Due number[]Date Offset Hours - List of hours relative to the due date to remind the assignee. Negative values are before the due date, positive after.
- reminder
Cadence PolicyAfter Assignment Rules Reminder Cadence After - A recurring reminder, which repeats once per interval until the finding is resolved.
- reminder
Cadence PolicyBefore Assignment Rules Reminder Cadence Before - A recurring reminder, which repeats once per interval until the finding is resolved.
- reminder
Detected number[]Date Offset Hours - List of hours relative to when the finding was detected to remind the assignee. Non-negative only; 0 means immediately on detection. Only valid for policy types that support detection reminders (e.g. schedule).
- bindings
Sequence[Policy
Assignment Rules Binding] - Bindings which define the user to be assigned. We will assign the first user which evaluates; the rest are fallback values
- reminder_
due_ Sequence[float]date_ offset_ hours - List of hours relative to the due date to remind the assignee. Negative values are before the due date, positive after.
- reminder_
cadence_ Policyafter Assignment Rules Reminder Cadence After - A recurring reminder, which repeats once per interval until the finding is resolved.
- reminder_
cadence_ Policybefore Assignment Rules Reminder Cadence Before - A recurring reminder, which repeats once per interval until the finding is resolved.
- reminder_
detected_ Sequence[float]date_ offset_ hours - List of hours relative to when the finding was detected to remind the assignee. Non-negative only; 0 means immediately on detection. Only valid for policy types that support detection reminders (e.g. schedule).
- bindings List<Property Map>
- Bindings which define the user to be assigned. We will assign the first user which evaluates; the rest are fallback values
- reminder
Due List<Number>Date Offset Hours - List of hours relative to the due date to remind the assignee. Negative values are before the due date, positive after.
- reminder
Cadence Property MapAfter - A recurring reminder, which repeats once per interval until the finding is resolved.
- reminder
Cadence Property MapBefore - A recurring reminder, which repeats once per interval until the finding is resolved.
- reminder
Detected List<Number>Date Offset Hours - List of hours relative to when the finding was detected to remind the assignee. Non-negative only; 0 means immediately on detection. Only valid for policy types that support detection reminders (e.g. schedule).
PolicyAssignmentRulesBinding, PolicyAssignmentRulesBindingArgs
- Array
Values List<PolicyAssignment Rules Binding Array Value> - The array of literal or reference parameter values
- Expression
Ref string - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - Value
Policy
Assignment Rules Binding Value - The literal or reference parameter value
- Value
Literal string - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - Value
Reference string - A reference into the scope, shorthand for
value = { reference = ... }. - Values List<string>
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- Array
Values []PolicyAssignment Rules Binding Array Value - The array of literal or reference parameter values
- Expression
Ref string - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - Value
Policy
Assignment Rules Binding Value - The literal or reference parameter value
- Value
Literal string - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - Value
Reference string - A reference into the scope, shorthand for
value = { reference = ... }. - Values []string
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array_
values list(object) - The array of literal or reference parameter values
- expression_
ref string - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value object
- The literal or reference parameter value
- value_
literal string - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value_
reference string - A reference into the scope, shorthand for
value = { reference = ... }. - values list(string)
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array
Values List<PolicyAssignment Rules Binding Array Value> - The array of literal or reference parameter values
- expression
Ref String - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value
Policy
Assignment Rules Binding Value - The literal or reference parameter value
- value
Literal String - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value
Reference String - A reference into the scope, shorthand for
value = { reference = ... }. - values List<String>
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array
Values PolicyAssignment Rules Binding Array Value[] - The array of literal or reference parameter values
- expression
Ref string - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value
Policy
Assignment Rules Binding Value - The literal or reference parameter value
- value
Literal string - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value
Reference string - A reference into the scope, shorthand for
value = { reference = ... }. - values string[]
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array_
values Sequence[PolicyAssignment Rules Binding Array Value] - The array of literal or reference parameter values
- expression_
ref str - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value
Policy
Assignment Rules Binding Value - The literal or reference parameter value
- value_
literal str - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value_
reference str - A reference into the scope, shorthand for
value = { reference = ... }. - values Sequence[str]
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array
Values List<Property Map> - The array of literal or reference parameter values
- expression
Ref String - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value Property Map
- The literal or reference parameter value
- value
Literal String - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value
Reference String - A reference into the scope, shorthand for
value = { reference = ... }. - values List<String>
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
PolicyAssignmentRulesBindingArrayValue, PolicyAssignmentRulesBindingArrayValueArgs
PolicyAssignmentRulesBindingValue, PolicyAssignmentRulesBindingValueArgs
PolicyAssignmentRulesReminderCadenceAfter, PolicyAssignmentRulesReminderCadenceAfterArgs
- Interval string
- How often to send the reminder, stepping in fixed durations from the due date. Possible values are:
daily,weekly.
- Interval string
- How often to send the reminder, stepping in fixed durations from the due date. Possible values are:
daily,weekly.
- interval string
- How often to send the reminder, stepping in fixed durations from the due date. Possible values are:
daily,weekly.
- interval String
- How often to send the reminder, stepping in fixed durations from the due date. Possible values are:
daily,weekly.
- interval string
- How often to send the reminder, stepping in fixed durations from the due date. Possible values are:
daily,weekly.
- interval str
- How often to send the reminder, stepping in fixed durations from the due date. Possible values are:
daily,weekly.
- interval String
- How often to send the reminder, stepping in fixed durations from the due date. Possible values are:
daily,weekly.
PolicyAssignmentRulesReminderCadenceBefore, PolicyAssignmentRulesReminderCadenceBeforeArgs
- Interval string
- How often to send the reminder, stepping in fixed durations from the due date. Possible values are:
daily,weekly.
- Interval string
- How often to send the reminder, stepping in fixed durations from the due date. Possible values are:
daily,weekly.
- interval string
- How often to send the reminder, stepping in fixed durations from the due date. Possible values are:
daily,weekly.
- interval String
- How often to send the reminder, stepping in fixed durations from the due date. Possible values are:
daily,weekly.
- interval string
- How often to send the reminder, stepping in fixed durations from the due date. Possible values are:
daily,weekly.
- interval str
- How often to send the reminder, stepping in fixed durations from the due date. Possible values are:
daily,weekly.
- interval String
- How often to send the reminder, stepping in fixed durations from the due date. Possible values are:
daily,weekly.
PolicyConditionGroup, PolicyConditionGroupArgs
- Conditions
List<Policy
Condition Group Condition> - The prerequisite conditions that must all be satisfied
- Conditions
[]Policy
Condition Group Condition - The prerequisite conditions that must all be satisfied
- conditions list(object)
- The prerequisite conditions that must all be satisfied
- conditions
List<Policy
Condition Group Condition> - The prerequisite conditions that must all be satisfied
- conditions
Policy
Condition Group Condition[] - The prerequisite conditions that must all be satisfied
- conditions
Sequence[Policy
Condition Group Condition] - The prerequisite conditions that must all be satisfied
- conditions List<Property Map>
- The prerequisite conditions that must all be satisfied
PolicyConditionGroupCondition, PolicyConditionGroupConditionArgs
- Operation string
- The logical operation to be applied
- Param
Bindings List<PolicyCondition Group Condition Param Binding> - Bindings for the operation parameters
- Subject string
- The subject of the condition, on which the operation is applied
- Operation string
- The logical operation to be applied
- Param
Bindings []PolicyCondition Group Condition Param Binding - Bindings for the operation parameters
- Subject string
- The subject of the condition, on which the operation is applied
- operation string
- The logical operation to be applied
- param_
bindings list(object) - Bindings for the operation parameters
- subject string
- The subject of the condition, on which the operation is applied
- operation String
- The logical operation to be applied
- param
Bindings List<PolicyCondition Group Condition Param Binding> - Bindings for the operation parameters
- subject String
- The subject of the condition, on which the operation is applied
- operation string
- The logical operation to be applied
- param
Bindings PolicyCondition Group Condition Param Binding[] - Bindings for the operation parameters
- subject string
- The subject of the condition, on which the operation is applied
- operation str
- The logical operation to be applied
- param_
bindings Sequence[PolicyCondition Group Condition Param Binding] - Bindings for the operation parameters
- subject str
- The subject of the condition, on which the operation is applied
- operation String
- The logical operation to be applied
- param
Bindings List<Property Map> - Bindings for the operation parameters
- subject String
- The subject of the condition, on which the operation is applied
PolicyConditionGroupConditionParamBinding, PolicyConditionGroupConditionParamBindingArgs
- Array
Values List<PolicyCondition Group Condition Param Binding Array Value> - The array of literal or reference parameter values
- Expression
Ref string - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - Value
Policy
Condition Group Condition Param Binding Value - The literal or reference parameter value
- Value
Literal string - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - Value
Reference string - A reference into the scope, shorthand for
value = { reference = ... }. - Values List<string>
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- Array
Values []PolicyCondition Group Condition Param Binding Array Value - The array of literal or reference parameter values
- Expression
Ref string - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - Value
Policy
Condition Group Condition Param Binding Value - The literal or reference parameter value
- Value
Literal string - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - Value
Reference string - A reference into the scope, shorthand for
value = { reference = ... }. - Values []string
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array_
values list(object) - The array of literal or reference parameter values
- expression_
ref string - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value object
- The literal or reference parameter value
- value_
literal string - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value_
reference string - A reference into the scope, shorthand for
value = { reference = ... }. - values list(string)
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array
Values List<PolicyCondition Group Condition Param Binding Array Value> - The array of literal or reference parameter values
- expression
Ref String - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value
Policy
Condition Group Condition Param Binding Value - The literal or reference parameter value
- value
Literal String - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value
Reference String - A reference into the scope, shorthand for
value = { reference = ... }. - values List<String>
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array
Values PolicyCondition Group Condition Param Binding Array Value[] - The array of literal or reference parameter values
- expression
Ref string - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value
Policy
Condition Group Condition Param Binding Value - The literal or reference parameter value
- value
Literal string - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value
Reference string - A reference into the scope, shorthand for
value = { reference = ... }. - values string[]
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array_
values Sequence[PolicyCondition Group Condition Param Binding Array Value] - The array of literal or reference parameter values
- expression_
ref str - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value
Policy
Condition Group Condition Param Binding Value - The literal or reference parameter value
- value_
literal str - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value_
reference str - A reference into the scope, shorthand for
value = { reference = ... }. - values Sequence[str]
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array
Values List<Property Map> - The array of literal or reference parameter values
- expression
Ref String - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value Property Map
- The literal or reference parameter value
- value
Literal String - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value
Reference String - A reference into the scope, shorthand for
value = { reference = ... }. - values List<String>
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
PolicyConditionGroupConditionParamBindingArrayValue, PolicyConditionGroupConditionParamBindingArrayValueArgs
PolicyConditionGroupConditionParamBindingValue, PolicyConditionGroupConditionParamBindingValueArgs
PolicyDebrief, PolicyDebriefArgs
- Due
Date PolicyConfig Debrief Due Date Config - Requirements
List<Policy
Debrief Requirement> - Groups of prerequisite conditions. All conditions in at least one group must be satisfied
- Run
On boolPrivate Incidents - Requires the policies.runonprivate scope
- Due
Date PolicyConfig Debrief Due Date Config - Requirements
[]Policy
Debrief Requirement - Groups of prerequisite conditions. All conditions in at least one group must be satisfied
- Run
On boolPrivate Incidents - Requires the policies.runonprivate scope
- due_
date_ objectconfig - requirements list(object)
- Groups of prerequisite conditions. All conditions in at least one group must be satisfied
- run_
on_ boolprivate_ incidents - Requires the policies.runonprivate scope
- due
Date PolicyConfig Debrief Due Date Config - requirements
List<Policy
Debrief Requirement> - Groups of prerequisite conditions. All conditions in at least one group must be satisfied
- run
On BooleanPrivate Incidents - Requires the policies.runonprivate scope
- due
Date PolicyConfig Debrief Due Date Config - requirements
Policy
Debrief Requirement[] - Groups of prerequisite conditions. All conditions in at least one group must be satisfied
- run
On booleanPrivate Incidents - Requires the policies.runonprivate scope
- due_
date_ Policyconfig Debrief Due Date Config - requirements
Sequence[Policy
Debrief Requirement] - Groups of prerequisite conditions. All conditions in at least one group must be satisfied
- run_
on_ boolprivate_ incidents - Requires the policies.runonprivate scope
- due
Date Property MapConfig - requirements List<Property Map>
- Groups of prerequisite conditions. All conditions in at least one group must be satisfied
- run
On BooleanPrivate Incidents - Requires the policies.runonprivate scope
PolicyDebriefDueDateConfig, PolicyDebriefDueDateConfigArgs
- Calculation
Type string - Whether to count all days or only weekdays. Possible values are:
seven_days,weekdays. - Days
Policy
Debrief Due Date Config Days - Incident
Timestamp stringId - Timestamp the due date counts from
- Applies
From string - If set, the policy only applies to resources from this timestamp onwards
- Calculation
Timezone string - Timezone the due date is calculated in. Only meaningful when calculation_type is weekdays.
- Calculation
Type string - Whether to count all days or only weekdays. Possible values are:
seven_days,weekdays. - Days
Policy
Debrief Due Date Config Days - Incident
Timestamp stringId - Timestamp the due date counts from
- Applies
From string - If set, the policy only applies to resources from this timestamp onwards
- Calculation
Timezone string - Timezone the due date is calculated in. Only meaningful when calculation_type is weekdays.
- calculation_
type string - Whether to count all days or only weekdays. Possible values are:
seven_days,weekdays. - days object
- incident_
timestamp_ stringid - Timestamp the due date counts from
- applies_
from string - If set, the policy only applies to resources from this timestamp onwards
- calculation_
timezone string - Timezone the due date is calculated in. Only meaningful when calculation_type is weekdays.
- calculation
Type String - Whether to count all days or only weekdays. Possible values are:
seven_days,weekdays. - days
Policy
Debrief Due Date Config Days - incident
Timestamp StringId - Timestamp the due date counts from
- applies
From String - If set, the policy only applies to resources from this timestamp onwards
- calculation
Timezone String - Timezone the due date is calculated in. Only meaningful when calculation_type is weekdays.
- calculation
Type string - Whether to count all days or only weekdays. Possible values are:
seven_days,weekdays. - days
Policy
Debrief Due Date Config Days - incident
Timestamp stringId - Timestamp the due date counts from
- applies
From string - If set, the policy only applies to resources from this timestamp onwards
- calculation
Timezone string - Timezone the due date is calculated in. Only meaningful when calculation_type is weekdays.
- calculation_
type str - Whether to count all days or only weekdays. Possible values are:
seven_days,weekdays. - days
Policy
Debrief Due Date Config Days - incident_
timestamp_ strid - Timestamp the due date counts from
- applies_
from str - If set, the policy only applies to resources from this timestamp onwards
- calculation_
timezone str - Timezone the due date is calculated in. Only meaningful when calculation_type is weekdays.
- calculation
Type String - Whether to count all days or only weekdays. Possible values are:
seven_days,weekdays. - days Property Map
- incident
Timestamp StringId - Timestamp the due date counts from
- applies
From String - If set, the policy only applies to resources from this timestamp onwards
- calculation
Timezone String - Timezone the due date is calculated in. Only meaningful when calculation_type is weekdays.
PolicyDebriefDueDateConfigDays, PolicyDebriefDueDateConfigDaysArgs
- Array
Values List<PolicyDebrief Due Date Config Days Array Value> - The array of literal or reference parameter values
- Expression
Ref string - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - Value
Policy
Debrief Due Date Config Days Value - The literal or reference parameter value
- Value
Literal string - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - Value
Reference string - A reference into the scope, shorthand for
value = { reference = ... }. - Values List<string>
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- Array
Values []PolicyDebrief Due Date Config Days Array Value - The array of literal or reference parameter values
- Expression
Ref string - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - Value
Policy
Debrief Due Date Config Days Value - The literal or reference parameter value
- Value
Literal string - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - Value
Reference string - A reference into the scope, shorthand for
value = { reference = ... }. - Values []string
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array_
values list(object) - The array of literal or reference parameter values
- expression_
ref string - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value object
- The literal or reference parameter value
- value_
literal string - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value_
reference string - A reference into the scope, shorthand for
value = { reference = ... }. - values list(string)
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array
Values List<PolicyDebrief Due Date Config Days Array Value> - The array of literal or reference parameter values
- expression
Ref String - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value
Policy
Debrief Due Date Config Days Value - The literal or reference parameter value
- value
Literal String - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value
Reference String - A reference into the scope, shorthand for
value = { reference = ... }. - values List<String>
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array
Values PolicyDebrief Due Date Config Days Array Value[] - The array of literal or reference parameter values
- expression
Ref string - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value
Policy
Debrief Due Date Config Days Value - The literal or reference parameter value
- value
Literal string - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value
Reference string - A reference into the scope, shorthand for
value = { reference = ... }. - values string[]
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array_
values Sequence[PolicyDebrief Due Date Config Days Array Value] - The array of literal or reference parameter values
- expression_
ref str - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value
Policy
Debrief Due Date Config Days Value - The literal or reference parameter value
- value_
literal str - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value_
reference str - A reference into the scope, shorthand for
value = { reference = ... }. - values Sequence[str]
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array
Values List<Property Map> - The array of literal or reference parameter values
- expression
Ref String - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value Property Map
- The literal or reference parameter value
- value
Literal String - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value
Reference String - A reference into the scope, shorthand for
value = { reference = ... }. - values List<String>
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
PolicyDebriefDueDateConfigDaysArrayValue, PolicyDebriefDueDateConfigDaysArrayValueArgs
PolicyDebriefDueDateConfigDaysValue, PolicyDebriefDueDateConfigDaysValueArgs
PolicyDebriefRequirement, PolicyDebriefRequirementArgs
- Conditions
List<Policy
Debrief Requirement Condition> - The prerequisite conditions that must all be satisfied
- Conditions
[]Policy
Debrief Requirement Condition - The prerequisite conditions that must all be satisfied
- conditions list(object)
- The prerequisite conditions that must all be satisfied
- conditions
List<Policy
Debrief Requirement Condition> - The prerequisite conditions that must all be satisfied
- conditions
Policy
Debrief Requirement Condition[] - The prerequisite conditions that must all be satisfied
- conditions
Sequence[Policy
Debrief Requirement Condition] - The prerequisite conditions that must all be satisfied
- conditions List<Property Map>
- The prerequisite conditions that must all be satisfied
PolicyDebriefRequirementCondition, PolicyDebriefRequirementConditionArgs
- Operation string
- The logical operation to be applied
- Param
Bindings List<PolicyDebrief Requirement Condition Param Binding> - Bindings for the operation parameters
- Subject string
- The subject of the condition, on which the operation is applied
- Operation string
- The logical operation to be applied
- Param
Bindings []PolicyDebrief Requirement Condition Param Binding - Bindings for the operation parameters
- Subject string
- The subject of the condition, on which the operation is applied
- operation string
- The logical operation to be applied
- param_
bindings list(object) - Bindings for the operation parameters
- subject string
- The subject of the condition, on which the operation is applied
- operation String
- The logical operation to be applied
- param
Bindings List<PolicyDebrief Requirement Condition Param Binding> - Bindings for the operation parameters
- subject String
- The subject of the condition, on which the operation is applied
- operation string
- The logical operation to be applied
- param
Bindings PolicyDebrief Requirement Condition Param Binding[] - Bindings for the operation parameters
- subject string
- The subject of the condition, on which the operation is applied
- operation str
- The logical operation to be applied
- param_
bindings Sequence[PolicyDebrief Requirement Condition Param Binding] - Bindings for the operation parameters
- subject str
- The subject of the condition, on which the operation is applied
- operation String
- The logical operation to be applied
- param
Bindings List<Property Map> - Bindings for the operation parameters
- subject String
- The subject of the condition, on which the operation is applied
PolicyDebriefRequirementConditionParamBinding, PolicyDebriefRequirementConditionParamBindingArgs
- Array
Values List<PolicyDebrief Requirement Condition Param Binding Array Value> - The array of literal or reference parameter values
- Expression
Ref string - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - Value
Policy
Debrief Requirement Condition Param Binding Value - The literal or reference parameter value
- Value
Literal string - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - Value
Reference string - A reference into the scope, shorthand for
value = { reference = ... }. - Values List<string>
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- Array
Values []PolicyDebrief Requirement Condition Param Binding Array Value - The array of literal or reference parameter values
- Expression
Ref string - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - Value
Policy
Debrief Requirement Condition Param Binding Value - The literal or reference parameter value
- Value
Literal string - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - Value
Reference string - A reference into the scope, shorthand for
value = { reference = ... }. - Values []string
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array_
values list(object) - The array of literal or reference parameter values
- expression_
ref string - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value object
- The literal or reference parameter value
- value_
literal string - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value_
reference string - A reference into the scope, shorthand for
value = { reference = ... }. - values list(string)
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array
Values List<PolicyDebrief Requirement Condition Param Binding Array Value> - The array of literal or reference parameter values
- expression
Ref String - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value
Policy
Debrief Requirement Condition Param Binding Value - The literal or reference parameter value
- value
Literal String - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value
Reference String - A reference into the scope, shorthand for
value = { reference = ... }. - values List<String>
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array
Values PolicyDebrief Requirement Condition Param Binding Array Value[] - The array of literal or reference parameter values
- expression
Ref string - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value
Policy
Debrief Requirement Condition Param Binding Value - The literal or reference parameter value
- value
Literal string - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value
Reference string - A reference into the scope, shorthand for
value = { reference = ... }. - values string[]
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array_
values Sequence[PolicyDebrief Requirement Condition Param Binding Array Value] - The array of literal or reference parameter values
- expression_
ref str - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value
Policy
Debrief Requirement Condition Param Binding Value - The literal or reference parameter value
- value_
literal str - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value_
reference str - A reference into the scope, shorthand for
value = { reference = ... }. - values Sequence[str]
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array
Values List<Property Map> - The array of literal or reference parameter values
- expression
Ref String - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value Property Map
- The literal or reference parameter value
- value
Literal String - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value
Reference String - A reference into the scope, shorthand for
value = { reference = ... }. - values List<String>
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
PolicyDebriefRequirementConditionParamBindingArrayValue, PolicyDebriefRequirementConditionParamBindingArrayValueArgs
PolicyDebriefRequirementConditionParamBindingValue, PolicyDebriefRequirementConditionParamBindingValueArgs
PolicyExpression, PolicyExpressionArgs
- Label string
- The human readable label of the expression
- Operations
List<Policy
Expression Operation> - The operations to execute in sequence for this expression
- Reference string
- A short ID that can be used to reference the expression
- Root
Reference string - The root reference for this expression (i.e. where the expression starts)
- Else
Branch PolicyExpression Else Branch - The else branch to resort to if all operations fail
- Label string
- The human readable label of the expression
- Operations
[]Policy
Expression Operation - The operations to execute in sequence for this expression
- Reference string
- A short ID that can be used to reference the expression
- Root
Reference string - The root reference for this expression (i.e. where the expression starts)
- Else
Branch PolicyExpression Else Branch - The else branch to resort to if all operations fail
- label string
- The human readable label of the expression
- operations list(object)
- The operations to execute in sequence for this expression
- reference string
- A short ID that can be used to reference the expression
- root_
reference string - The root reference for this expression (i.e. where the expression starts)
- else_
branch object - The else branch to resort to if all operations fail
- label String
- The human readable label of the expression
- operations
List<Policy
Expression Operation> - The operations to execute in sequence for this expression
- reference String
- A short ID that can be used to reference the expression
- root
Reference String - The root reference for this expression (i.e. where the expression starts)
- else
Branch PolicyExpression Else Branch - The else branch to resort to if all operations fail
- label string
- The human readable label of the expression
- operations
Policy
Expression Operation[] - The operations to execute in sequence for this expression
- reference string
- A short ID that can be used to reference the expression
- root
Reference string - The root reference for this expression (i.e. where the expression starts)
- else
Branch PolicyExpression Else Branch - The else branch to resort to if all operations fail
- label str
- The human readable label of the expression
- operations
Sequence[Policy
Expression Operation] - The operations to execute in sequence for this expression
- reference str
- A short ID that can be used to reference the expression
- root_
reference str - The root reference for this expression (i.e. where the expression starts)
- else_
branch PolicyExpression Else Branch - The else branch to resort to if all operations fail
- label String
- The human readable label of the expression
- operations List<Property Map>
- The operations to execute in sequence for this expression
- reference String
- A short ID that can be used to reference the expression
- root
Reference String - The root reference for this expression (i.e. where the expression starts)
- else
Branch Property Map - The else branch to resort to if all operations fail
PolicyExpressionElseBranch, PolicyExpressionElseBranchArgs
- Result
Policy
Expression Else Branch Result - The result assumed if the else branch is reached
- Result
Policy
Expression Else Branch Result - The result assumed if the else branch is reached
- result
Policy
Expression Else Branch Result - The result assumed if the else branch is reached
- result
Policy
Expression Else Branch Result - The result assumed if the else branch is reached
- result
Policy
Expression Else Branch Result - The result assumed if the else branch is reached
- result Property Map
- The result assumed if the else branch is reached
PolicyExpressionElseBranchResult, PolicyExpressionElseBranchResultArgs
- Array
Values List<PolicyExpression Else Branch Result Array Value> - The array of literal or reference parameter values
- Expression
Ref string - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - Value
Policy
Expression Else Branch Result Value - The literal or reference parameter value
- Value
Literal string - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - Value
Reference string - A reference into the scope, shorthand for
value = { reference = ... }. - Values List<string>
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- Array
Values []PolicyExpression Else Branch Result Array Value - The array of literal or reference parameter values
- Expression
Ref string - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - Value
Policy
Expression Else Branch Result Value - The literal or reference parameter value
- Value
Literal string - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - Value
Reference string - A reference into the scope, shorthand for
value = { reference = ... }. - Values []string
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array_
values list(object) - The array of literal or reference parameter values
- expression_
ref string - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value object
- The literal or reference parameter value
- value_
literal string - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value_
reference string - A reference into the scope, shorthand for
value = { reference = ... }. - values list(string)
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array
Values List<PolicyExpression Else Branch Result Array Value> - The array of literal or reference parameter values
- expression
Ref String - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value
Policy
Expression Else Branch Result Value - The literal or reference parameter value
- value
Literal String - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value
Reference String - A reference into the scope, shorthand for
value = { reference = ... }. - values List<String>
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array
Values PolicyExpression Else Branch Result Array Value[] - The array of literal or reference parameter values
- expression
Ref string - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value
Policy
Expression Else Branch Result Value - The literal or reference parameter value
- value
Literal string - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value
Reference string - A reference into the scope, shorthand for
value = { reference = ... }. - values string[]
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array_
values Sequence[PolicyExpression Else Branch Result Array Value] - The array of literal or reference parameter values
- expression_
ref str - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value
Policy
Expression Else Branch Result Value - The literal or reference parameter value
- value_
literal str - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value_
reference str - A reference into the scope, shorthand for
value = { reference = ... }. - values Sequence[str]
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array
Values List<Property Map> - The array of literal or reference parameter values
- expression
Ref String - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value Property Map
- The literal or reference parameter value
- value
Literal String - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value
Reference String - A reference into the scope, shorthand for
value = { reference = ... }. - values List<String>
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
PolicyExpressionElseBranchResultArrayValue, PolicyExpressionElseBranchResultArrayValueArgs
PolicyExpressionElseBranchResultValue, PolicyExpressionElseBranchResultValueArgs
PolicyExpressionOperation, PolicyExpressionOperationArgs
- Operation
Type string - Indicates which operation type to execute. Possible values are:
navigate,filter,concatenate,count,min,max,sum,random,first,parse,branches,cast. - Branches
Policy
Expression Operation Branches - An operation type that allows for a value to be set conditionally by a series of logical branches
- Cast
Policy
Expression Operation Cast - An operation type that converts a value into another type. Only valid on values that can be represented as text. The returned
arrayfollows the value being cast, so it must match the cardinality of the previous operation - Concatenate
Policy
Expression Operation Concatenate - An operation type that adds the values behind another reference to the current value, keeping each value once. There is no delimiter, despite the name
- Filter
Policy
Expression Operation Filter - An operation type that allows values to be filtered out by conditions
-
Policy
Expression Operation Navigate - An operation type that allows attributes of a type to be accessed by reference
- Parse
Policy
Expression Operation Parse - An operation type that allows a value to parsed from within a JSON object
- Operation
Type string - Indicates which operation type to execute. Possible values are:
navigate,filter,concatenate,count,min,max,sum,random,first,parse,branches,cast. - Branches
Policy
Expression Operation Branches - An operation type that allows for a value to be set conditionally by a series of logical branches
- Cast
Policy
Expression Operation Cast - An operation type that converts a value into another type. Only valid on values that can be represented as text. The returned
arrayfollows the value being cast, so it must match the cardinality of the previous operation - Concatenate
Policy
Expression Operation Concatenate - An operation type that adds the values behind another reference to the current value, keeping each value once. There is no delimiter, despite the name
- Filter
Policy
Expression Operation Filter - An operation type that allows values to be filtered out by conditions
-
Policy
Expression Operation Navigate - An operation type that allows attributes of a type to be accessed by reference
- Parse
Policy
Expression Operation Parse - An operation type that allows a value to parsed from within a JSON object
- operation_
type string - Indicates which operation type to execute. Possible values are:
navigate,filter,concatenate,count,min,max,sum,random,first,parse,branches,cast. - branches object
- An operation type that allows for a value to be set conditionally by a series of logical branches
- cast object
- An operation type that converts a value into another type. Only valid on values that can be represented as text. The returned
arrayfollows the value being cast, so it must match the cardinality of the previous operation - concatenate object
- An operation type that adds the values behind another reference to the current value, keeping each value once. There is no delimiter, despite the name
- filter object
- An operation type that allows values to be filtered out by conditions
- object
- An operation type that allows attributes of a type to be accessed by reference
- parse object
- An operation type that allows a value to parsed from within a JSON object
- operation
Type String - Indicates which operation type to execute. Possible values are:
navigate,filter,concatenate,count,min,max,sum,random,first,parse,branches,cast. - branches
Policy
Expression Operation Branches - An operation type that allows for a value to be set conditionally by a series of logical branches
- cast
Policy
Expression Operation Cast - An operation type that converts a value into another type. Only valid on values that can be represented as text. The returned
arrayfollows the value being cast, so it must match the cardinality of the previous operation - concatenate
Policy
Expression Operation Concatenate - An operation type that adds the values behind another reference to the current value, keeping each value once. There is no delimiter, despite the name
- filter
Policy
Expression Operation Filter - An operation type that allows values to be filtered out by conditions
-
Policy
Expression Operation Navigate - An operation type that allows attributes of a type to be accessed by reference
- parse
Policy
Expression Operation Parse - An operation type that allows a value to parsed from within a JSON object
- operation
Type string - Indicates which operation type to execute. Possible values are:
navigate,filter,concatenate,count,min,max,sum,random,first,parse,branches,cast. - branches
Policy
Expression Operation Branches - An operation type that allows for a value to be set conditionally by a series of logical branches
- cast
Policy
Expression Operation Cast - An operation type that converts a value into another type. Only valid on values that can be represented as text. The returned
arrayfollows the value being cast, so it must match the cardinality of the previous operation - concatenate
Policy
Expression Operation Concatenate - An operation type that adds the values behind another reference to the current value, keeping each value once. There is no delimiter, despite the name
- filter
Policy
Expression Operation Filter - An operation type that allows values to be filtered out by conditions
-
Policy
Expression Operation Navigate - An operation type that allows attributes of a type to be accessed by reference
- parse
Policy
Expression Operation Parse - An operation type that allows a value to parsed from within a JSON object
- operation_
type str - Indicates which operation type to execute. Possible values are:
navigate,filter,concatenate,count,min,max,sum,random,first,parse,branches,cast. - branches
Policy
Expression Operation Branches - An operation type that allows for a value to be set conditionally by a series of logical branches
- cast
Policy
Expression Operation Cast - An operation type that converts a value into another type. Only valid on values that can be represented as text. The returned
arrayfollows the value being cast, so it must match the cardinality of the previous operation - concatenate
Policy
Expression Operation Concatenate - An operation type that adds the values behind another reference to the current value, keeping each value once. There is no delimiter, despite the name
- filter
Policy
Expression Operation Filter - An operation type that allows values to be filtered out by conditions
-
Policy
Expression Operation Navigate - An operation type that allows attributes of a type to be accessed by reference
- parse
Policy
Expression Operation Parse - An operation type that allows a value to parsed from within a JSON object
- operation
Type String - Indicates which operation type to execute. Possible values are:
navigate,filter,concatenate,count,min,max,sum,random,first,parse,branches,cast. - branches Property Map
- An operation type that allows for a value to be set conditionally by a series of logical branches
- cast Property Map
- An operation type that converts a value into another type. Only valid on values that can be represented as text. The returned
arrayfollows the value being cast, so it must match the cardinality of the previous operation - concatenate Property Map
- An operation type that adds the values behind another reference to the current value, keeping each value once. There is no delimiter, despite the name
- filter Property Map
- An operation type that allows values to be filtered out by conditions
- Property Map
- An operation type that allows attributes of a type to be accessed by reference
- parse Property Map
- An operation type that allows a value to parsed from within a JSON object
PolicyExpressionOperationBranches, PolicyExpressionOperationBranchesArgs
- Branches
List<Policy
Expression Operation Branches Branch> - The branches to apply for this operation
- Returns
Policy
Expression Operation Branches Returns - The return type of an operation
- Branches
[]Policy
Expression Operation Branches Branch - The branches to apply for this operation
- Returns
Policy
Expression Operation Branches Returns - The return type of an operation
- branches list(object)
- The branches to apply for this operation
- returns object
- The return type of an operation
- branches
List<Policy
Expression Operation Branches Branch> - The branches to apply for this operation
- returns
Policy
Expression Operation Branches Returns - The return type of an operation
- branches
Policy
Expression Operation Branches Branch[] - The branches to apply for this operation
- returns
Policy
Expression Operation Branches Returns - The return type of an operation
- branches
Sequence[Policy
Expression Operation Branches Branch] - The branches to apply for this operation
- returns
Policy
Expression Operation Branches Returns - The return type of an operation
- branches List<Property Map>
- The branches to apply for this operation
- returns Property Map
- The return type of an operation
PolicyExpressionOperationBranchesBranch, PolicyExpressionOperationBranchesBranchArgs
- Condition
Groups List<PolicyExpression Operation Branches Branch Condition Group> - Groups of prerequisite conditions. All conditions in at least one group must be satisfied
- Result
Policy
Expression Operation Branches Branch Result - The result assumed if the condition groups are satisfied
- Condition
Groups []PolicyExpression Operation Branches Branch Condition Group - Groups of prerequisite conditions. All conditions in at least one group must be satisfied
- Result
Policy
Expression Operation Branches Branch Result - The result assumed if the condition groups are satisfied
- condition_
groups list(object) - Groups of prerequisite conditions. All conditions in at least one group must be satisfied
- result object
- The result assumed if the condition groups are satisfied
- condition
Groups List<PolicyExpression Operation Branches Branch Condition Group> - Groups of prerequisite conditions. All conditions in at least one group must be satisfied
- result
Policy
Expression Operation Branches Branch Result - The result assumed if the condition groups are satisfied
- condition
Groups PolicyExpression Operation Branches Branch Condition Group[] - Groups of prerequisite conditions. All conditions in at least one group must be satisfied
- result
Policy
Expression Operation Branches Branch Result - The result assumed if the condition groups are satisfied
- condition_
groups Sequence[PolicyExpression Operation Branches Branch Condition Group] - Groups of prerequisite conditions. All conditions in at least one group must be satisfied
- result
Policy
Expression Operation Branches Branch Result - The result assumed if the condition groups are satisfied
- condition
Groups List<Property Map> - Groups of prerequisite conditions. All conditions in at least one group must be satisfied
- result Property Map
- The result assumed if the condition groups are satisfied
PolicyExpressionOperationBranchesBranchConditionGroup, PolicyExpressionOperationBranchesBranchConditionGroupArgs
- Conditions
List<Policy
Expression Operation Branches Branch Condition Group Condition> - The prerequisite conditions that must all be satisfied
- Conditions
[]Policy
Expression Operation Branches Branch Condition Group Condition - The prerequisite conditions that must all be satisfied
- conditions list(object)
- The prerequisite conditions that must all be satisfied
- conditions
List<Policy
Expression Operation Branches Branch Condition Group Condition> - The prerequisite conditions that must all be satisfied
- conditions
Policy
Expression Operation Branches Branch Condition Group Condition[] - The prerequisite conditions that must all be satisfied
- conditions
Sequence[Policy
Expression Operation Branches Branch Condition Group Condition] - The prerequisite conditions that must all be satisfied
- conditions List<Property Map>
- The prerequisite conditions that must all be satisfied
PolicyExpressionOperationBranchesBranchConditionGroupCondition, PolicyExpressionOperationBranchesBranchConditionGroupConditionArgs
- Operation string
- The logical operation to be applied
- Param
Bindings List<PolicyExpression Operation Branches Branch Condition Group Condition Param Binding> - Bindings for the operation parameters
- Subject string
- The subject of the condition, on which the operation is applied
- Operation string
- The logical operation to be applied
- Param
Bindings []PolicyExpression Operation Branches Branch Condition Group Condition Param Binding - Bindings for the operation parameters
- Subject string
- The subject of the condition, on which the operation is applied
- operation string
- The logical operation to be applied
- param_
bindings list(object) - Bindings for the operation parameters
- subject string
- The subject of the condition, on which the operation is applied
- operation String
- The logical operation to be applied
- param
Bindings List<PolicyExpression Operation Branches Branch Condition Group Condition Param Binding> - Bindings for the operation parameters
- subject String
- The subject of the condition, on which the operation is applied
- operation string
- The logical operation to be applied
- param
Bindings PolicyExpression Operation Branches Branch Condition Group Condition Param Binding[] - Bindings for the operation parameters
- subject string
- The subject of the condition, on which the operation is applied
- operation str
- The logical operation to be applied
- param_
bindings Sequence[PolicyExpression Operation Branches Branch Condition Group Condition Param Binding] - Bindings for the operation parameters
- subject str
- The subject of the condition, on which the operation is applied
- operation String
- The logical operation to be applied
- param
Bindings List<Property Map> - Bindings for the operation parameters
- subject String
- The subject of the condition, on which the operation is applied
PolicyExpressionOperationBranchesBranchConditionGroupConditionParamBinding, PolicyExpressionOperationBranchesBranchConditionGroupConditionParamBindingArgs
- Array
Values List<PolicyExpression Operation Branches Branch Condition Group Condition Param Binding Array Value> - The array of literal or reference parameter values
- Expression
Ref string - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - Value
Policy
Expression Operation Branches Branch Condition Group Condition Param Binding Value - The literal or reference parameter value
- Value
Literal string - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - Value
Reference string - A reference into the scope, shorthand for
value = { reference = ... }. - Values List<string>
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- Array
Values []PolicyExpression Operation Branches Branch Condition Group Condition Param Binding Array Value - The array of literal or reference parameter values
- Expression
Ref string - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - Value
Policy
Expression Operation Branches Branch Condition Group Condition Param Binding Value - The literal or reference parameter value
- Value
Literal string - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - Value
Reference string - A reference into the scope, shorthand for
value = { reference = ... }. - Values []string
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array_
values list(object) - The array of literal or reference parameter values
- expression_
ref string - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value object
- The literal or reference parameter value
- value_
literal string - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value_
reference string - A reference into the scope, shorthand for
value = { reference = ... }. - values list(string)
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array
Values List<PolicyExpression Operation Branches Branch Condition Group Condition Param Binding Array Value> - The array of literal or reference parameter values
- expression
Ref String - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value
Policy
Expression Operation Branches Branch Condition Group Condition Param Binding Value - The literal or reference parameter value
- value
Literal String - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value
Reference String - A reference into the scope, shorthand for
value = { reference = ... }. - values List<String>
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array
Values PolicyExpression Operation Branches Branch Condition Group Condition Param Binding Array Value[] - The array of literal or reference parameter values
- expression
Ref string - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value
Policy
Expression Operation Branches Branch Condition Group Condition Param Binding Value - The literal or reference parameter value
- value
Literal string - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value
Reference string - A reference into the scope, shorthand for
value = { reference = ... }. - values string[]
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array_
values Sequence[PolicyExpression Operation Branches Branch Condition Group Condition Param Binding Array Value] - The array of literal or reference parameter values
- expression_
ref str - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value
Policy
Expression Operation Branches Branch Condition Group Condition Param Binding Value - The literal or reference parameter value
- value_
literal str - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value_
reference str - A reference into the scope, shorthand for
value = { reference = ... }. - values Sequence[str]
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array
Values List<Property Map> - The array of literal or reference parameter values
- expression
Ref String - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value Property Map
- The literal or reference parameter value
- value
Literal String - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value
Reference String - A reference into the scope, shorthand for
value = { reference = ... }. - values List<String>
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
PolicyExpressionOperationBranchesBranchConditionGroupConditionParamBindingArrayValue, PolicyExpressionOperationBranchesBranchConditionGroupConditionParamBindingArrayValueArgs
PolicyExpressionOperationBranchesBranchConditionGroupConditionParamBindingValue, PolicyExpressionOperationBranchesBranchConditionGroupConditionParamBindingValueArgs
PolicyExpressionOperationBranchesBranchResult, PolicyExpressionOperationBranchesBranchResultArgs
- Array
Values List<PolicyExpression Operation Branches Branch Result Array Value> - The array of literal or reference parameter values
- Expression
Ref string - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - Value
Policy
Expression Operation Branches Branch Result Value - The literal or reference parameter value
- Value
Literal string - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - Value
Reference string - A reference into the scope, shorthand for
value = { reference = ... }. - Values List<string>
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- Array
Values []PolicyExpression Operation Branches Branch Result Array Value - The array of literal or reference parameter values
- Expression
Ref string - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - Value
Policy
Expression Operation Branches Branch Result Value - The literal or reference parameter value
- Value
Literal string - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - Value
Reference string - A reference into the scope, shorthand for
value = { reference = ... }. - Values []string
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array_
values list(object) - The array of literal or reference parameter values
- expression_
ref string - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value object
- The literal or reference parameter value
- value_
literal string - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value_
reference string - A reference into the scope, shorthand for
value = { reference = ... }. - values list(string)
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array
Values List<PolicyExpression Operation Branches Branch Result Array Value> - The array of literal or reference parameter values
- expression
Ref String - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value
Policy
Expression Operation Branches Branch Result Value - The literal or reference parameter value
- value
Literal String - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value
Reference String - A reference into the scope, shorthand for
value = { reference = ... }. - values List<String>
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array
Values PolicyExpression Operation Branches Branch Result Array Value[] - The array of literal or reference parameter values
- expression
Ref string - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value
Policy
Expression Operation Branches Branch Result Value - The literal or reference parameter value
- value
Literal string - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value
Reference string - A reference into the scope, shorthand for
value = { reference = ... }. - values string[]
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array_
values Sequence[PolicyExpression Operation Branches Branch Result Array Value] - The array of literal or reference parameter values
- expression_
ref str - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value
Policy
Expression Operation Branches Branch Result Value - The literal or reference parameter value
- value_
literal str - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value_
reference str - A reference into the scope, shorthand for
value = { reference = ... }. - values Sequence[str]
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array
Values List<Property Map> - The array of literal or reference parameter values
- expression
Ref String - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value Property Map
- The literal or reference parameter value
- value
Literal String - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value
Reference String - A reference into the scope, shorthand for
value = { reference = ... }. - values List<String>
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
PolicyExpressionOperationBranchesBranchResultArrayValue, PolicyExpressionOperationBranchesBranchResultArrayValueArgs
PolicyExpressionOperationBranchesBranchResultValue, PolicyExpressionOperationBranchesBranchResultValueArgs
PolicyExpressionOperationBranchesReturns, PolicyExpressionOperationBranchesReturnsArgs
PolicyExpressionOperationCast, PolicyExpressionOperationCastArgs
- Returns
Policy
Expression Operation Cast Returns - The return type of an operation
- Returns
Policy
Expression Operation Cast Returns - The return type of an operation
- returns
Policy
Expression Operation Cast Returns - The return type of an operation
- returns
Policy
Expression Operation Cast Returns - The return type of an operation
- returns
Policy
Expression Operation Cast Returns - The return type of an operation
- returns Property Map
- The return type of an operation
PolicyExpressionOperationCastReturns, PolicyExpressionOperationCastReturnsArgs
PolicyExpressionOperationConcatenate, PolicyExpressionOperationConcatenateArgs
- Reference string
- The reference within the scope to concatenate with
- Reference string
- The reference within the scope to concatenate with
- reference string
- The reference within the scope to concatenate with
- reference String
- The reference within the scope to concatenate with
- reference string
- The reference within the scope to concatenate with
- reference str
- The reference within the scope to concatenate with
- reference String
- The reference within the scope to concatenate with
PolicyExpressionOperationFilter, PolicyExpressionOperationFilterArgs
- Condition
Groups List<PolicyExpression Operation Filter Condition Group> - Groups of prerequisite conditions. All conditions in at least one group must be satisfied
- Condition
Groups []PolicyExpression Operation Filter Condition Group - Groups of prerequisite conditions. All conditions in at least one group must be satisfied
- condition_
groups list(object) - Groups of prerequisite conditions. All conditions in at least one group must be satisfied
- condition
Groups List<PolicyExpression Operation Filter Condition Group> - Groups of prerequisite conditions. All conditions in at least one group must be satisfied
- condition
Groups PolicyExpression Operation Filter Condition Group[] - Groups of prerequisite conditions. All conditions in at least one group must be satisfied
- condition_
groups Sequence[PolicyExpression Operation Filter Condition Group] - Groups of prerequisite conditions. All conditions in at least one group must be satisfied
- condition
Groups List<Property Map> - Groups of prerequisite conditions. All conditions in at least one group must be satisfied
PolicyExpressionOperationFilterConditionGroup, PolicyExpressionOperationFilterConditionGroupArgs
- Conditions
List<Policy
Expression Operation Filter Condition Group Condition> - The prerequisite conditions that must all be satisfied
- Conditions
[]Policy
Expression Operation Filter Condition Group Condition - The prerequisite conditions that must all be satisfied
- conditions list(object)
- The prerequisite conditions that must all be satisfied
- conditions
List<Policy
Expression Operation Filter Condition Group Condition> - The prerequisite conditions that must all be satisfied
- conditions
Policy
Expression Operation Filter Condition Group Condition[] - The prerequisite conditions that must all be satisfied
- conditions
Sequence[Policy
Expression Operation Filter Condition Group Condition] - The prerequisite conditions that must all be satisfied
- conditions List<Property Map>
- The prerequisite conditions that must all be satisfied
PolicyExpressionOperationFilterConditionGroupCondition, PolicyExpressionOperationFilterConditionGroupConditionArgs
- Operation string
- The logical operation to be applied
- Param
Bindings List<PolicyExpression Operation Filter Condition Group Condition Param Binding> - Bindings for the operation parameters
- Subject string
- The subject of the condition, on which the operation is applied
- Operation string
- The logical operation to be applied
- Param
Bindings []PolicyExpression Operation Filter Condition Group Condition Param Binding - Bindings for the operation parameters
- Subject string
- The subject of the condition, on which the operation is applied
- operation string
- The logical operation to be applied
- param_
bindings list(object) - Bindings for the operation parameters
- subject string
- The subject of the condition, on which the operation is applied
- operation String
- The logical operation to be applied
- param
Bindings List<PolicyExpression Operation Filter Condition Group Condition Param Binding> - Bindings for the operation parameters
- subject String
- The subject of the condition, on which the operation is applied
- operation string
- The logical operation to be applied
- param
Bindings PolicyExpression Operation Filter Condition Group Condition Param Binding[] - Bindings for the operation parameters
- subject string
- The subject of the condition, on which the operation is applied
- operation str
- The logical operation to be applied
- param_
bindings Sequence[PolicyExpression Operation Filter Condition Group Condition Param Binding] - Bindings for the operation parameters
- subject str
- The subject of the condition, on which the operation is applied
- operation String
- The logical operation to be applied
- param
Bindings List<Property Map> - Bindings for the operation parameters
- subject String
- The subject of the condition, on which the operation is applied
PolicyExpressionOperationFilterConditionGroupConditionParamBinding, PolicyExpressionOperationFilterConditionGroupConditionParamBindingArgs
- Array
Values List<PolicyExpression Operation Filter Condition Group Condition Param Binding Array Value> - The array of literal or reference parameter values
- Expression
Ref string - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - Value
Policy
Expression Operation Filter Condition Group Condition Param Binding Value - The literal or reference parameter value
- Value
Literal string - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - Value
Reference string - A reference into the scope, shorthand for
value = { reference = ... }. - Values List<string>
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- Array
Values []PolicyExpression Operation Filter Condition Group Condition Param Binding Array Value - The array of literal or reference parameter values
- Expression
Ref string - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - Value
Policy
Expression Operation Filter Condition Group Condition Param Binding Value - The literal or reference parameter value
- Value
Literal string - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - Value
Reference string - A reference into the scope, shorthand for
value = { reference = ... }. - Values []string
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array_
values list(object) - The array of literal or reference parameter values
- expression_
ref string - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value object
- The literal or reference parameter value
- value_
literal string - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value_
reference string - A reference into the scope, shorthand for
value = { reference = ... }. - values list(string)
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array
Values List<PolicyExpression Operation Filter Condition Group Condition Param Binding Array Value> - The array of literal or reference parameter values
- expression
Ref String - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value
Policy
Expression Operation Filter Condition Group Condition Param Binding Value - The literal or reference parameter value
- value
Literal String - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value
Reference String - A reference into the scope, shorthand for
value = { reference = ... }. - values List<String>
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array
Values PolicyExpression Operation Filter Condition Group Condition Param Binding Array Value[] - The array of literal or reference parameter values
- expression
Ref string - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value
Policy
Expression Operation Filter Condition Group Condition Param Binding Value - The literal or reference parameter value
- value
Literal string - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value
Reference string - A reference into the scope, shorthand for
value = { reference = ... }. - values string[]
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array_
values Sequence[PolicyExpression Operation Filter Condition Group Condition Param Binding Array Value] - The array of literal or reference parameter values
- expression_
ref str - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value
Policy
Expression Operation Filter Condition Group Condition Param Binding Value - The literal or reference parameter value
- value_
literal str - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value_
reference str - A reference into the scope, shorthand for
value = { reference = ... }. - values Sequence[str]
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array
Values List<Property Map> - The array of literal or reference parameter values
- expression
Ref String - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value Property Map
- The literal or reference parameter value
- value
Literal String - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value
Reference String - A reference into the scope, shorthand for
value = { reference = ... }. - values List<String>
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
PolicyExpressionOperationFilterConditionGroupConditionParamBindingArrayValue, PolicyExpressionOperationFilterConditionGroupConditionParamBindingArrayValueArgs
PolicyExpressionOperationFilterConditionGroupConditionParamBindingValue, PolicyExpressionOperationFilterConditionGroupConditionParamBindingValueArgs
PolicyExpressionOperationNavigate, PolicyExpressionOperationNavigateArgs
- Reference string
- Reference string
- reference string
- reference String
- reference string
- reference str
- reference String
PolicyExpressionOperationParse, PolicyExpressionOperationParseArgs
- Returns
Policy
Expression Operation Parse Returns - The return type of an operation
- Source string
- The ES5 Javascript expression to execute
- Returns
Policy
Expression Operation Parse Returns - The return type of an operation
- Source string
- The ES5 Javascript expression to execute
- returns
Policy
Expression Operation Parse Returns - The return type of an operation
- source String
- The ES5 Javascript expression to execute
- returns
Policy
Expression Operation Parse Returns - The return type of an operation
- source string
- The ES5 Javascript expression to execute
- returns
Policy
Expression Operation Parse Returns - The return type of an operation
- source str
- The ES5 Javascript expression to execute
- returns Property Map
- The return type of an operation
- source String
- The ES5 Javascript expression to execute
PolicyExpressionOperationParseReturns, PolicyExpressionOperationParseReturnsArgs
PolicyFollowUp, PolicyFollowUpArgs
- Due
Date PolicyConfig Follow Up Due Date Config - Requirements
List<Policy
Follow Up Requirement> - Groups of prerequisite conditions. All conditions in at least one group must be satisfied
- Run
On boolPrivate Incidents - Requires the policies.runonprivate scope
- Due
Date PolicyConfig Follow Up Due Date Config - Requirements
[]Policy
Follow Up Requirement - Groups of prerequisite conditions. All conditions in at least one group must be satisfied
- Run
On boolPrivate Incidents - Requires the policies.runonprivate scope
- due_
date_ objectconfig - requirements list(object)
- Groups of prerequisite conditions. All conditions in at least one group must be satisfied
- run_
on_ boolprivate_ incidents - Requires the policies.runonprivate scope
- due
Date PolicyConfig Follow Up Due Date Config - requirements
List<Policy
Follow Up Requirement> - Groups of prerequisite conditions. All conditions in at least one group must be satisfied
- run
On BooleanPrivate Incidents - Requires the policies.runonprivate scope
- due
Date PolicyConfig Follow Up Due Date Config - requirements
Policy
Follow Up Requirement[] - Groups of prerequisite conditions. All conditions in at least one group must be satisfied
- run
On booleanPrivate Incidents - Requires the policies.runonprivate scope
- due_
date_ Policyconfig Follow Up Due Date Config - requirements
Sequence[Policy
Follow Up Requirement] - Groups of prerequisite conditions. All conditions in at least one group must be satisfied
- run_
on_ boolprivate_ incidents - Requires the policies.runonprivate scope
- due
Date Property MapConfig - requirements List<Property Map>
- Groups of prerequisite conditions. All conditions in at least one group must be satisfied
- run
On BooleanPrivate Incidents - Requires the policies.runonprivate scope
PolicyFollowUpDueDateConfig, PolicyFollowUpDueDateConfigArgs
- Calculation
Type string - Whether to count all days or only weekdays. Possible values are:
seven_days,weekdays. - Days
Policy
Follow Up Due Date Config Days - Incident
Timestamp stringId - Timestamp the due date counts from
- Applies
From string - If set, the policy only applies to resources from this timestamp onwards
- Calculation
Timezone string - Timezone the due date is calculated in. Only meaningful when calculation_type is weekdays.
- Calculation
Type string - Whether to count all days or only weekdays. Possible values are:
seven_days,weekdays. - Days
Policy
Follow Up Due Date Config Days - Incident
Timestamp stringId - Timestamp the due date counts from
- Applies
From string - If set, the policy only applies to resources from this timestamp onwards
- Calculation
Timezone string - Timezone the due date is calculated in. Only meaningful when calculation_type is weekdays.
- calculation_
type string - Whether to count all days or only weekdays. Possible values are:
seven_days,weekdays. - days object
- incident_
timestamp_ stringid - Timestamp the due date counts from
- applies_
from string - If set, the policy only applies to resources from this timestamp onwards
- calculation_
timezone string - Timezone the due date is calculated in. Only meaningful when calculation_type is weekdays.
- calculation
Type String - Whether to count all days or only weekdays. Possible values are:
seven_days,weekdays. - days
Policy
Follow Up Due Date Config Days - incident
Timestamp StringId - Timestamp the due date counts from
- applies
From String - If set, the policy only applies to resources from this timestamp onwards
- calculation
Timezone String - Timezone the due date is calculated in. Only meaningful when calculation_type is weekdays.
- calculation
Type string - Whether to count all days or only weekdays. Possible values are:
seven_days,weekdays. - days
Policy
Follow Up Due Date Config Days - incident
Timestamp stringId - Timestamp the due date counts from
- applies
From string - If set, the policy only applies to resources from this timestamp onwards
- calculation
Timezone string - Timezone the due date is calculated in. Only meaningful when calculation_type is weekdays.
- calculation_
type str - Whether to count all days or only weekdays. Possible values are:
seven_days,weekdays. - days
Policy
Follow Up Due Date Config Days - incident_
timestamp_ strid - Timestamp the due date counts from
- applies_
from str - If set, the policy only applies to resources from this timestamp onwards
- calculation_
timezone str - Timezone the due date is calculated in. Only meaningful when calculation_type is weekdays.
- calculation
Type String - Whether to count all days or only weekdays. Possible values are:
seven_days,weekdays. - days Property Map
- incident
Timestamp StringId - Timestamp the due date counts from
- applies
From String - If set, the policy only applies to resources from this timestamp onwards
- calculation
Timezone String - Timezone the due date is calculated in. Only meaningful when calculation_type is weekdays.
PolicyFollowUpDueDateConfigDays, PolicyFollowUpDueDateConfigDaysArgs
- Array
Values List<PolicyFollow Up Due Date Config Days Array Value> - The array of literal or reference parameter values
- Expression
Ref string - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - Value
Policy
Follow Up Due Date Config Days Value - The literal or reference parameter value
- Value
Literal string - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - Value
Reference string - A reference into the scope, shorthand for
value = { reference = ... }. - Values List<string>
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- Array
Values []PolicyFollow Up Due Date Config Days Array Value - The array of literal or reference parameter values
- Expression
Ref string - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - Value
Policy
Follow Up Due Date Config Days Value - The literal or reference parameter value
- Value
Literal string - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - Value
Reference string - A reference into the scope, shorthand for
value = { reference = ... }. - Values []string
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array_
values list(object) - The array of literal or reference parameter values
- expression_
ref string - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value object
- The literal or reference parameter value
- value_
literal string - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value_
reference string - A reference into the scope, shorthand for
value = { reference = ... }. - values list(string)
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array
Values List<PolicyFollow Up Due Date Config Days Array Value> - The array of literal or reference parameter values
- expression
Ref String - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value
Policy
Follow Up Due Date Config Days Value - The literal or reference parameter value
- value
Literal String - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value
Reference String - A reference into the scope, shorthand for
value = { reference = ... }. - values List<String>
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array
Values PolicyFollow Up Due Date Config Days Array Value[] - The array of literal or reference parameter values
- expression
Ref string - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value
Policy
Follow Up Due Date Config Days Value - The literal or reference parameter value
- value
Literal string - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value
Reference string - A reference into the scope, shorthand for
value = { reference = ... }. - values string[]
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array_
values Sequence[PolicyFollow Up Due Date Config Days Array Value] - The array of literal or reference parameter values
- expression_
ref str - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value
Policy
Follow Up Due Date Config Days Value - The literal or reference parameter value
- value_
literal str - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value_
reference str - A reference into the scope, shorthand for
value = { reference = ... }. - values Sequence[str]
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array
Values List<Property Map> - The array of literal or reference parameter values
- expression
Ref String - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value Property Map
- The literal or reference parameter value
- value
Literal String - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value
Reference String - A reference into the scope, shorthand for
value = { reference = ... }. - values List<String>
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
PolicyFollowUpDueDateConfigDaysArrayValue, PolicyFollowUpDueDateConfigDaysArrayValueArgs
PolicyFollowUpDueDateConfigDaysValue, PolicyFollowUpDueDateConfigDaysValueArgs
PolicyFollowUpRequirement, PolicyFollowUpRequirementArgs
- Conditions
List<Policy
Follow Up Requirement Condition> - The prerequisite conditions that must all be satisfied
- Conditions
[]Policy
Follow Up Requirement Condition - The prerequisite conditions that must all be satisfied
- conditions list(object)
- The prerequisite conditions that must all be satisfied
- conditions
List<Policy
Follow Up Requirement Condition> - The prerequisite conditions that must all be satisfied
- conditions
Policy
Follow Up Requirement Condition[] - The prerequisite conditions that must all be satisfied
- conditions
Sequence[Policy
Follow Up Requirement Condition] - The prerequisite conditions that must all be satisfied
- conditions List<Property Map>
- The prerequisite conditions that must all be satisfied
PolicyFollowUpRequirementCondition, PolicyFollowUpRequirementConditionArgs
- Operation string
- The logical operation to be applied
- Param
Bindings List<PolicyFollow Up Requirement Condition Param Binding> - Bindings for the operation parameters
- Subject string
- The subject of the condition, on which the operation is applied
- Operation string
- The logical operation to be applied
- Param
Bindings []PolicyFollow Up Requirement Condition Param Binding - Bindings for the operation parameters
- Subject string
- The subject of the condition, on which the operation is applied
- operation string
- The logical operation to be applied
- param_
bindings list(object) - Bindings for the operation parameters
- subject string
- The subject of the condition, on which the operation is applied
- operation String
- The logical operation to be applied
- param
Bindings List<PolicyFollow Up Requirement Condition Param Binding> - Bindings for the operation parameters
- subject String
- The subject of the condition, on which the operation is applied
- operation string
- The logical operation to be applied
- param
Bindings PolicyFollow Up Requirement Condition Param Binding[] - Bindings for the operation parameters
- subject string
- The subject of the condition, on which the operation is applied
- operation str
- The logical operation to be applied
- param_
bindings Sequence[PolicyFollow Up Requirement Condition Param Binding] - Bindings for the operation parameters
- subject str
- The subject of the condition, on which the operation is applied
- operation String
- The logical operation to be applied
- param
Bindings List<Property Map> - Bindings for the operation parameters
- subject String
- The subject of the condition, on which the operation is applied
PolicyFollowUpRequirementConditionParamBinding, PolicyFollowUpRequirementConditionParamBindingArgs
- Array
Values List<PolicyFollow Up Requirement Condition Param Binding Array Value> - The array of literal or reference parameter values
- Expression
Ref string - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - Value
Policy
Follow Up Requirement Condition Param Binding Value - The literal or reference parameter value
- Value
Literal string - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - Value
Reference string - A reference into the scope, shorthand for
value = { reference = ... }. - Values List<string>
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- Array
Values []PolicyFollow Up Requirement Condition Param Binding Array Value - The array of literal or reference parameter values
- Expression
Ref string - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - Value
Policy
Follow Up Requirement Condition Param Binding Value - The literal or reference parameter value
- Value
Literal string - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - Value
Reference string - A reference into the scope, shorthand for
value = { reference = ... }. - Values []string
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array_
values list(object) - The array of literal or reference parameter values
- expression_
ref string - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value object
- The literal or reference parameter value
- value_
literal string - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value_
reference string - A reference into the scope, shorthand for
value = { reference = ... }. - values list(string)
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array
Values List<PolicyFollow Up Requirement Condition Param Binding Array Value> - The array of literal or reference parameter values
- expression
Ref String - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value
Policy
Follow Up Requirement Condition Param Binding Value - The literal or reference parameter value
- value
Literal String - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value
Reference String - A reference into the scope, shorthand for
value = { reference = ... }. - values List<String>
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array
Values PolicyFollow Up Requirement Condition Param Binding Array Value[] - The array of literal or reference parameter values
- expression
Ref string - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value
Policy
Follow Up Requirement Condition Param Binding Value - The literal or reference parameter value
- value
Literal string - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value
Reference string - A reference into the scope, shorthand for
value = { reference = ... }. - values string[]
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array_
values Sequence[PolicyFollow Up Requirement Condition Param Binding Array Value] - The array of literal or reference parameter values
- expression_
ref str - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value
Policy
Follow Up Requirement Condition Param Binding Value - The literal or reference parameter value
- value_
literal str - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value_
reference str - A reference into the scope, shorthand for
value = { reference = ... }. - values Sequence[str]
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array
Values List<Property Map> - The array of literal or reference parameter values
- expression
Ref String - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value Property Map
- The literal or reference parameter value
- value
Literal String - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value
Reference String - A reference into the scope, shorthand for
value = { reference = ... }. - values List<String>
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
PolicyFollowUpRequirementConditionParamBindingArrayValue, PolicyFollowUpRequirementConditionParamBindingArrayValueArgs
PolicyFollowUpRequirementConditionParamBindingValue, PolicyFollowUpRequirementConditionParamBindingValueArgs
PolicyOnCallReadiness, PolicyOnCallReadinessArgs
- Enforcement string
- advisory reports only; blocking also prevents users saving non-compliant notification rules. Defaults to advisory. Possible values are:
advisory,blocking. - High
Urgencies List<PolicyOn Call Readiness High Urgency> - Rules that must be satisfied for high urgency notifications
- Low
Urgencies List<PolicyOn Call Readiness Low Urgency> - Rules that must be satisfied for low urgency notifications
- Enforcement string
- advisory reports only; blocking also prevents users saving non-compliant notification rules. Defaults to advisory. Possible values are:
advisory,blocking. - High
Urgencies []PolicyOn Call Readiness High Urgency - Rules that must be satisfied for high urgency notifications
- Low
Urgencies []PolicyOn Call Readiness Low Urgency - Rules that must be satisfied for low urgency notifications
- enforcement string
- advisory reports only; blocking also prevents users saving non-compliant notification rules. Defaults to advisory. Possible values are:
advisory,blocking. - high_
urgencies list(object) - Rules that must be satisfied for high urgency notifications
- low_
urgencies list(object) - Rules that must be satisfied for low urgency notifications
- enforcement String
- advisory reports only; blocking also prevents users saving non-compliant notification rules. Defaults to advisory. Possible values are:
advisory,blocking. - high
Urgencies List<PolicyOn Call Readiness High Urgency> - Rules that must be satisfied for high urgency notifications
- low
Urgencies List<PolicyOn Call Readiness Low Urgency> - Rules that must be satisfied for low urgency notifications
- enforcement string
- advisory reports only; blocking also prevents users saving non-compliant notification rules. Defaults to advisory. Possible values are:
advisory,blocking. - high
Urgencies PolicyOn Call Readiness High Urgency[] - Rules that must be satisfied for high urgency notifications
- low
Urgencies PolicyOn Call Readiness Low Urgency[] - Rules that must be satisfied for low urgency notifications
- enforcement str
- advisory reports only; blocking also prevents users saving non-compliant notification rules. Defaults to advisory. Possible values are:
advisory,blocking. - high_
urgencies Sequence[PolicyOn Call Readiness High Urgency] - Rules that must be satisfied for high urgency notifications
- low_
urgencies Sequence[PolicyOn Call Readiness Low Urgency] - Rules that must be satisfied for low urgency notifications
- enforcement String
- advisory reports only; blocking also prevents users saving non-compliant notification rules. Defaults to advisory. Possible values are:
advisory,blocking. - high
Urgencies List<Property Map> - Rules that must be satisfied for high urgency notifications
- low
Urgencies List<Property Map> - Rules that must be satisfied for low urgency notifications
PolicyOnCallReadinessHighUrgency, PolicyOnCallReadinessHighUrgencyArgs
- Method
Types List<string> - The notification methods that satisfy this rule. Possible values are:
slack,email,app,sms,phone,live_call,slack_channel,microsoft_teams,microsoft_teams_channel,whatsapp_message. - Max
Delay doubleSeconds - How quickly the method must fire to count
- Method
Types []string - The notification methods that satisfy this rule. Possible values are:
slack,email,app,sms,phone,live_call,slack_channel,microsoft_teams,microsoft_teams_channel,whatsapp_message. - Max
Delay float64Seconds - How quickly the method must fire to count
- method_
types list(string) - The notification methods that satisfy this rule. Possible values are:
slack,email,app,sms,phone,live_call,slack_channel,microsoft_teams,microsoft_teams_channel,whatsapp_message. - max_
delay_ numberseconds - How quickly the method must fire to count
- method
Types List<String> - The notification methods that satisfy this rule. Possible values are:
slack,email,app,sms,phone,live_call,slack_channel,microsoft_teams,microsoft_teams_channel,whatsapp_message. - max
Delay DoubleSeconds - How quickly the method must fire to count
- method
Types string[] - The notification methods that satisfy this rule. Possible values are:
slack,email,app,sms,phone,live_call,slack_channel,microsoft_teams,microsoft_teams_channel,whatsapp_message. - max
Delay numberSeconds - How quickly the method must fire to count
- method_
types Sequence[str] - The notification methods that satisfy this rule. Possible values are:
slack,email,app,sms,phone,live_call,slack_channel,microsoft_teams,microsoft_teams_channel,whatsapp_message. - max_
delay_ floatseconds - How quickly the method must fire to count
- method
Types List<String> - The notification methods that satisfy this rule. Possible values are:
slack,email,app,sms,phone,live_call,slack_channel,microsoft_teams,microsoft_teams_channel,whatsapp_message. - max
Delay NumberSeconds - How quickly the method must fire to count
PolicyOnCallReadinessLowUrgency, PolicyOnCallReadinessLowUrgencyArgs
- Method
Types List<string> - The notification methods that satisfy this rule. Possible values are:
slack,email,app,sms,phone,live_call,slack_channel,microsoft_teams,microsoft_teams_channel,whatsapp_message. - Max
Delay doubleSeconds - How quickly the method must fire to count
- Method
Types []string - The notification methods that satisfy this rule. Possible values are:
slack,email,app,sms,phone,live_call,slack_channel,microsoft_teams,microsoft_teams_channel,whatsapp_message. - Max
Delay float64Seconds - How quickly the method must fire to count
- method_
types list(string) - The notification methods that satisfy this rule. Possible values are:
slack,email,app,sms,phone,live_call,slack_channel,microsoft_teams,microsoft_teams_channel,whatsapp_message. - max_
delay_ numberseconds - How quickly the method must fire to count
- method
Types List<String> - The notification methods that satisfy this rule. Possible values are:
slack,email,app,sms,phone,live_call,slack_channel,microsoft_teams,microsoft_teams_channel,whatsapp_message. - max
Delay DoubleSeconds - How quickly the method must fire to count
- method
Types string[] - The notification methods that satisfy this rule. Possible values are:
slack,email,app,sms,phone,live_call,slack_channel,microsoft_teams,microsoft_teams_channel,whatsapp_message. - max
Delay numberSeconds - How quickly the method must fire to count
- method_
types Sequence[str] - The notification methods that satisfy this rule. Possible values are:
slack,email,app,sms,phone,live_call,slack_channel,microsoft_teams,microsoft_teams_channel,whatsapp_message. - max_
delay_ floatseconds - How quickly the method must fire to count
- method
Types List<String> - The notification methods that satisfy this rule. Possible values are:
slack,email,app,sms,phone,live_call,slack_channel,microsoft_teams,microsoft_teams_channel,whatsapp_message. - max
Delay NumberSeconds - How quickly the method must fire to count
PolicyPostMortem, PolicyPostMortemArgs
- Due
Date PolicyConfig Post Mortem Due Date Config - Requirements
List<Policy
Post Mortem Requirement> - Groups of prerequisite conditions. All conditions in at least one group must be satisfied
- Run
On boolPrivate Incidents - Requires the policies.runonprivate scope
- Due
Date PolicyConfig Post Mortem Due Date Config - Requirements
[]Policy
Post Mortem Requirement - Groups of prerequisite conditions. All conditions in at least one group must be satisfied
- Run
On boolPrivate Incidents - Requires the policies.runonprivate scope
- due_
date_ objectconfig - requirements list(object)
- Groups of prerequisite conditions. All conditions in at least one group must be satisfied
- run_
on_ boolprivate_ incidents - Requires the policies.runonprivate scope
- due
Date PolicyConfig Post Mortem Due Date Config - requirements
List<Policy
Post Mortem Requirement> - Groups of prerequisite conditions. All conditions in at least one group must be satisfied
- run
On BooleanPrivate Incidents - Requires the policies.runonprivate scope
- due
Date PolicyConfig Post Mortem Due Date Config - requirements
Policy
Post Mortem Requirement[] - Groups of prerequisite conditions. All conditions in at least one group must be satisfied
- run
On booleanPrivate Incidents - Requires the policies.runonprivate scope
- due_
date_ Policyconfig Post Mortem Due Date Config - requirements
Sequence[Policy
Post Mortem Requirement] - Groups of prerequisite conditions. All conditions in at least one group must be satisfied
- run_
on_ boolprivate_ incidents - Requires the policies.runonprivate scope
- due
Date Property MapConfig - requirements List<Property Map>
- Groups of prerequisite conditions. All conditions in at least one group must be satisfied
- run
On BooleanPrivate Incidents - Requires the policies.runonprivate scope
PolicyPostMortemDueDateConfig, PolicyPostMortemDueDateConfigArgs
- Calculation
Type string - Whether to count all days or only weekdays. Possible values are:
seven_days,weekdays. - Days
Policy
Post Mortem Due Date Config Days - Incident
Timestamp stringId - Timestamp the due date counts from
- Applies
From string - If set, the policy only applies to resources from this timestamp onwards
- Calculation
Timezone string - Timezone the due date is calculated in. Only meaningful when calculation_type is weekdays.
- Calculation
Type string - Whether to count all days or only weekdays. Possible values are:
seven_days,weekdays. - Days
Policy
Post Mortem Due Date Config Days - Incident
Timestamp stringId - Timestamp the due date counts from
- Applies
From string - If set, the policy only applies to resources from this timestamp onwards
- Calculation
Timezone string - Timezone the due date is calculated in. Only meaningful when calculation_type is weekdays.
- calculation_
type string - Whether to count all days or only weekdays. Possible values are:
seven_days,weekdays. - days object
- incident_
timestamp_ stringid - Timestamp the due date counts from
- applies_
from string - If set, the policy only applies to resources from this timestamp onwards
- calculation_
timezone string - Timezone the due date is calculated in. Only meaningful when calculation_type is weekdays.
- calculation
Type String - Whether to count all days or only weekdays. Possible values are:
seven_days,weekdays. - days
Policy
Post Mortem Due Date Config Days - incident
Timestamp StringId - Timestamp the due date counts from
- applies
From String - If set, the policy only applies to resources from this timestamp onwards
- calculation
Timezone String - Timezone the due date is calculated in. Only meaningful when calculation_type is weekdays.
- calculation
Type string - Whether to count all days or only weekdays. Possible values are:
seven_days,weekdays. - days
Policy
Post Mortem Due Date Config Days - incident
Timestamp stringId - Timestamp the due date counts from
- applies
From string - If set, the policy only applies to resources from this timestamp onwards
- calculation
Timezone string - Timezone the due date is calculated in. Only meaningful when calculation_type is weekdays.
- calculation_
type str - Whether to count all days or only weekdays. Possible values are:
seven_days,weekdays. - days
Policy
Post Mortem Due Date Config Days - incident_
timestamp_ strid - Timestamp the due date counts from
- applies_
from str - If set, the policy only applies to resources from this timestamp onwards
- calculation_
timezone str - Timezone the due date is calculated in. Only meaningful when calculation_type is weekdays.
- calculation
Type String - Whether to count all days or only weekdays. Possible values are:
seven_days,weekdays. - days Property Map
- incident
Timestamp StringId - Timestamp the due date counts from
- applies
From String - If set, the policy only applies to resources from this timestamp onwards
- calculation
Timezone String - Timezone the due date is calculated in. Only meaningful when calculation_type is weekdays.
PolicyPostMortemDueDateConfigDays, PolicyPostMortemDueDateConfigDaysArgs
- Array
Values List<PolicyPost Mortem Due Date Config Days Array Value> - The array of literal or reference parameter values
- Expression
Ref string - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - Value
Policy
Post Mortem Due Date Config Days Value - The literal or reference parameter value
- Value
Literal string - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - Value
Reference string - A reference into the scope, shorthand for
value = { reference = ... }. - Values List<string>
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- Array
Values []PolicyPost Mortem Due Date Config Days Array Value - The array of literal or reference parameter values
- Expression
Ref string - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - Value
Policy
Post Mortem Due Date Config Days Value - The literal or reference parameter value
- Value
Literal string - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - Value
Reference string - A reference into the scope, shorthand for
value = { reference = ... }. - Values []string
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array_
values list(object) - The array of literal or reference parameter values
- expression_
ref string - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value object
- The literal or reference parameter value
- value_
literal string - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value_
reference string - A reference into the scope, shorthand for
value = { reference = ... }. - values list(string)
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array
Values List<PolicyPost Mortem Due Date Config Days Array Value> - The array of literal or reference parameter values
- expression
Ref String - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value
Policy
Post Mortem Due Date Config Days Value - The literal or reference parameter value
- value
Literal String - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value
Reference String - A reference into the scope, shorthand for
value = { reference = ... }. - values List<String>
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array
Values PolicyPost Mortem Due Date Config Days Array Value[] - The array of literal or reference parameter values
- expression
Ref string - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value
Policy
Post Mortem Due Date Config Days Value - The literal or reference parameter value
- value
Literal string - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value
Reference string - A reference into the scope, shorthand for
value = { reference = ... }. - values string[]
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array_
values Sequence[PolicyPost Mortem Due Date Config Days Array Value] - The array of literal or reference parameter values
- expression_
ref str - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value
Policy
Post Mortem Due Date Config Days Value - The literal or reference parameter value
- value_
literal str - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value_
reference str - A reference into the scope, shorthand for
value = { reference = ... }. - values Sequence[str]
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array
Values List<Property Map> - The array of literal or reference parameter values
- expression
Ref String - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value Property Map
- The literal or reference parameter value
- value
Literal String - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value
Reference String - A reference into the scope, shorthand for
value = { reference = ... }. - values List<String>
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
PolicyPostMortemDueDateConfigDaysArrayValue, PolicyPostMortemDueDateConfigDaysArrayValueArgs
PolicyPostMortemDueDateConfigDaysValue, PolicyPostMortemDueDateConfigDaysValueArgs
PolicyPostMortemRequirement, PolicyPostMortemRequirementArgs
- Conditions
List<Policy
Post Mortem Requirement Condition> - The prerequisite conditions that must all be satisfied
- Conditions
[]Policy
Post Mortem Requirement Condition - The prerequisite conditions that must all be satisfied
- conditions list(object)
- The prerequisite conditions that must all be satisfied
- conditions
List<Policy
Post Mortem Requirement Condition> - The prerequisite conditions that must all be satisfied
- conditions
Policy
Post Mortem Requirement Condition[] - The prerequisite conditions that must all be satisfied
- conditions
Sequence[Policy
Post Mortem Requirement Condition] - The prerequisite conditions that must all be satisfied
- conditions List<Property Map>
- The prerequisite conditions that must all be satisfied
PolicyPostMortemRequirementCondition, PolicyPostMortemRequirementConditionArgs
- Operation string
- The logical operation to be applied
- Param
Bindings List<PolicyPost Mortem Requirement Condition Param Binding> - Bindings for the operation parameters
- Subject string
- The subject of the condition, on which the operation is applied
- Operation string
- The logical operation to be applied
- Param
Bindings []PolicyPost Mortem Requirement Condition Param Binding - Bindings for the operation parameters
- Subject string
- The subject of the condition, on which the operation is applied
- operation string
- The logical operation to be applied
- param_
bindings list(object) - Bindings for the operation parameters
- subject string
- The subject of the condition, on which the operation is applied
- operation String
- The logical operation to be applied
- param
Bindings List<PolicyPost Mortem Requirement Condition Param Binding> - Bindings for the operation parameters
- subject String
- The subject of the condition, on which the operation is applied
- operation string
- The logical operation to be applied
- param
Bindings PolicyPost Mortem Requirement Condition Param Binding[] - Bindings for the operation parameters
- subject string
- The subject of the condition, on which the operation is applied
- operation str
- The logical operation to be applied
- param_
bindings Sequence[PolicyPost Mortem Requirement Condition Param Binding] - Bindings for the operation parameters
- subject str
- The subject of the condition, on which the operation is applied
- operation String
- The logical operation to be applied
- param
Bindings List<Property Map> - Bindings for the operation parameters
- subject String
- The subject of the condition, on which the operation is applied
PolicyPostMortemRequirementConditionParamBinding, PolicyPostMortemRequirementConditionParamBindingArgs
- Array
Values List<PolicyPost Mortem Requirement Condition Param Binding Array Value> - The array of literal or reference parameter values
- Expression
Ref string - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - Value
Policy
Post Mortem Requirement Condition Param Binding Value - The literal or reference parameter value
- Value
Literal string - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - Value
Reference string - A reference into the scope, shorthand for
value = { reference = ... }. - Values List<string>
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- Array
Values []PolicyPost Mortem Requirement Condition Param Binding Array Value - The array of literal or reference parameter values
- Expression
Ref string - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - Value
Policy
Post Mortem Requirement Condition Param Binding Value - The literal or reference parameter value
- Value
Literal string - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - Value
Reference string - A reference into the scope, shorthand for
value = { reference = ... }. - Values []string
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array_
values list(object) - The array of literal or reference parameter values
- expression_
ref string - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value object
- The literal or reference parameter value
- value_
literal string - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value_
reference string - A reference into the scope, shorthand for
value = { reference = ... }. - values list(string)
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array
Values List<PolicyPost Mortem Requirement Condition Param Binding Array Value> - The array of literal or reference parameter values
- expression
Ref String - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value
Policy
Post Mortem Requirement Condition Param Binding Value - The literal or reference parameter value
- value
Literal String - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value
Reference String - A reference into the scope, shorthand for
value = { reference = ... }. - values List<String>
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array
Values PolicyPost Mortem Requirement Condition Param Binding Array Value[] - The array of literal or reference parameter values
- expression
Ref string - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value
Policy
Post Mortem Requirement Condition Param Binding Value - The literal or reference parameter value
- value
Literal string - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value
Reference string - A reference into the scope, shorthand for
value = { reference = ... }. - values string[]
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array_
values Sequence[PolicyPost Mortem Requirement Condition Param Binding Array Value] - The array of literal or reference parameter values
- expression_
ref str - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value
Policy
Post Mortem Requirement Condition Param Binding Value - The literal or reference parameter value
- value_
literal str - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value_
reference str - A reference into the scope, shorthand for
value = { reference = ... }. - values Sequence[str]
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
- array
Values List<Property Map> - The array of literal or reference parameter values
- expression
Ref String - The name of an expression on this resource, whose result becomes the value. Shorthand for referencing
expressions["name"]. - value Property Map
- The literal or reference parameter value
- value
Literal String - A fixed value, shorthand for
value = { literal = ... }. A catalog entry ID is a literal, not a reference. - value
Reference String - A reference into the scope, shorthand for
value = { reference = ... }. - values List<String>
- Several fixed values, shorthand for an
array_valueof literals. For a mix of literals and references, usearray_value.
PolicyPostMortemRequirementConditionParamBindingArrayValue, PolicyPostMortemRequirementConditionParamBindingArrayValueArgs
PolicyPostMortemRequirementConditionParamBindingValue, PolicyPostMortemRequirementConditionParamBindingValueArgs
PolicySchedule, PolicyScheduleArgs
- Requirement
Type string - The kind of schedule requirement to check. Possible values are:
contiguous. - Evaluation
Level string - Evaluate coverage across the whole schedule, or per rotation. Defaults to schedule. Possible values are:
schedule,rotation.
- Requirement
Type string - The kind of schedule requirement to check. Possible values are:
contiguous. - Evaluation
Level string - Evaluate coverage across the whole schedule, or per rotation. Defaults to schedule. Possible values are:
schedule,rotation.
- requirement_
type string - The kind of schedule requirement to check. Possible values are:
contiguous. - evaluation_
level string - Evaluate coverage across the whole schedule, or per rotation. Defaults to schedule. Possible values are:
schedule,rotation.
- requirement
Type String - The kind of schedule requirement to check. Possible values are:
contiguous. - evaluation
Level String - Evaluate coverage across the whole schedule, or per rotation. Defaults to schedule. Possible values are:
schedule,rotation.
- requirement
Type string - The kind of schedule requirement to check. Possible values are:
contiguous. - evaluation
Level string - Evaluate coverage across the whole schedule, or per rotation. Defaults to schedule. Possible values are:
schedule,rotation.
- requirement_
type str - The kind of schedule requirement to check. Possible values are:
contiguous. - evaluation_
level str - Evaluate coverage across the whole schedule, or per rotation. Defaults to schedule. Possible values are:
schedule,rotation.
- requirement
Type String - The kind of schedule requirement to check. Possible values are:
contiguous. - evaluation
Level String - Evaluate coverage across the whole schedule, or per rotation. Defaults to schedule. Possible values are:
schedule,rotation.
Import
Import is supported using an import block or the pulumi import command:
The pulumi import command can be used, for example:
#!/bin/bash
Import a policy using its ID
Replace the ID with a real ID from your incident.io organization
$ pulumi import incident:index/policy:Policy example 01ABC123DEF456GHI789JKL
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- incident incident-io/terraform-provider-incident
- License
- Notes
- This Pulumi package is based on the
incidentTerraform Provider.
published on Friday, Sep 11, 2026 by incident-io