1. Registry
  2. Packages
  3. incident.io
  4. API Docs
  5. AnnouncementRule
Viewing docs for incident.io v0.4.1
published on Wednesday, Oct 21, 2026 by incident-io
incident logo incident.io
Viewing docs for incident.io v0.4.1
published on Wednesday, Oct 21, 2026 by incident-io

    Create and manage announcement rules.

    An announcement rule posts an announcement of each incident that matches its conditions into the channels it lists, rendered with an announcement template.

    Set slackChannelIds when your organisation uses Slack, or microsoftTeamsChannelIds when it uses Microsoft Teams.

    An API key can only manage a rule whose privateIncidentScope is none: announcing private incidents needs a permission no API key role grants, so a rule scoped to all or owningTeams has to be managed in the dashboard.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as incident from "@incident-io/pulumi";
    
    const critical = incident.getSeverity({
        name: "Critical",
    });
    // The template the rule's announcements are rendered with: severity and status, then a
    // button to join the call.
    const majorIncidents = new incident.AnnouncementTemplate("major_incidents", {
        name: "Major incidents",
        fields: [
            {
                fieldType: "announcement_post_fields_severity",
            },
            {
                fieldType: "announcement_post_fields_status",
            },
        ],
        actions: [{
            actionType: "announcement_post_actions_join_call",
        }],
    });
    // Announce every critical incident, triage included, in #major-incidents, rendered with
    // the major incidents template. Updates are shared in the announcement's thread.
    const criticalAnnouncementRule = new incident.AnnouncementRule("critical", {
        name: "Critical incidents",
        slackChannelIds: ["C02AW36C1M5"],
        mode: "include_triage",
        updateSharingMode: "thread",
        templateId: majorIncidents.id,
        conditionGroups: [{
            conditions: [{
                subject: "incident.severity",
                operation: "one_of",
                paramBindings: [{
                    arrayValue: [{
                        literal: critical.then(critical => critical.id),
                    }],
                }],
            }],
        }],
    });
    
    import pulumi
    import pulumi_incident as incident
    
    critical = incident.get_severity(name="Critical")
    # The template the rule's announcements are rendered with: severity and status, then a
    # button to join the call.
    major_incidents = incident.AnnouncementTemplate("major_incidents",
        name="Major incidents",
        fields=[
            {
                "field_type": "announcement_post_fields_severity",
            },
            {
                "field_type": "announcement_post_fields_status",
            },
        ],
        actions=[{
            "action_type": "announcement_post_actions_join_call",
        }])
    # Announce every critical incident, triage included, in #major-incidents, rendered with
    # the major incidents template. Updates are shared in the announcement's thread.
    critical_announcement_rule = incident.AnnouncementRule("critical",
        name="Critical incidents",
        slack_channel_ids=["C02AW36C1M5"],
        mode="include_triage",
        update_sharing_mode="thread",
        template_id=major_incidents.id,
        condition_groups=[{
            "conditions": [{
                "subject": "incident.severity",
                "operation": "one_of",
                "param_bindings": [{
                    "array_value": [{
                        "literal": critical.id,
                    }],
                }],
            }],
        }])
    
    package main
    
    import (
    	"github.com/incident-io/pulumi-incident/sdk/go/incident"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		critical, err := incident.GetSeverity(ctx, &incident.LookupSeverityArgs{
    			Name: pulumi.StringRef("Critical"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		// The template the rule's announcements are rendered with: severity and status, then a
    		// button to join the call.
    		majorIncidents, err := incident.NewAnnouncementTemplate(ctx, "major_incidents", &incident.AnnouncementTemplateArgs{
    			Name: pulumi.String("Major incidents"),
    			Fields: incident.AnnouncementTemplateFieldArray{
    				&incident.AnnouncementTemplateFieldArgs{
    					FieldType: pulumi.String("announcement_post_fields_severity"),
    				},
    				&incident.AnnouncementTemplateFieldArgs{
    					FieldType: pulumi.String("announcement_post_fields_status"),
    				},
    			},
    			Actions: incident.AnnouncementTemplateActionArray{
    				&incident.AnnouncementTemplateActionArgs{
    					ActionType: pulumi.String("announcement_post_actions_join_call"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		// Announce every critical incident, triage included, in #major-incidents, rendered with
    		// the major incidents template. Updates are shared in the announcement's thread.
    		_, err = incident.NewAnnouncementRule(ctx, "critical", &incident.AnnouncementRuleArgs{
    			Name: pulumi.String("Critical incidents"),
    			SlackChannelIds: pulumi.StringArray{
    				pulumi.String("C02AW36C1M5"),
    			},
    			Mode:              pulumi.String("include_triage"),
    			UpdateSharingMode: pulumi.String("thread"),
    			TemplateId:        majorIncidents.ID().ToIDOutput().ToStringOutput(),
    			ConditionGroups: incident.AnnouncementRuleConditionGroupArray{
    				&incident.AnnouncementRuleConditionGroupArgs{
    					Conditions: incident.AnnouncementRuleConditionGroupConditionArray{
    						&incident.AnnouncementRuleConditionGroupConditionArgs{
    							Subject:   pulumi.String("incident.severity"),
    							Operation: pulumi.String("one_of"),
    							ParamBindings: incident.AnnouncementRuleConditionGroupConditionParamBindingArray{
    								&incident.AnnouncementRuleConditionGroupConditionParamBindingArgs{
    									ArrayValue: []map[string]interface{}{
    										map[string]interface{}{
    											"literal": critical.Id,
    										},
    									},
    								},
    							},
    						},
    					},
    				},
    			},
    		})
    		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 critical = Incident.GetSeverity.Invoke(new()
        {
            Name = "Critical",
        });
    
        // The template the rule's announcements are rendered with: severity and status, then a
        // button to join the call.
        var majorIncidents = new Incident.AnnouncementTemplate("major_incidents", new()
        {
            Name = "Major incidents",
            Fields = new[]
            {
                new Incident.Inputs.AnnouncementTemplateFieldArgs
                {
                    FieldType = "announcement_post_fields_severity",
                },
                new Incident.Inputs.AnnouncementTemplateFieldArgs
                {
                    FieldType = "announcement_post_fields_status",
                },
            },
            Actions = new[]
            {
                new Incident.Inputs.AnnouncementTemplateActionArgs
                {
                    ActionType = "announcement_post_actions_join_call",
                },
            },
        });
    
        // Announce every critical incident, triage included, in #major-incidents, rendered with
        // the major incidents template. Updates are shared in the announcement's thread.
        var criticalAnnouncementRule = new Incident.AnnouncementRule("critical", new()
        {
            Name = "Critical incidents",
            SlackChannelIds = new[]
            {
                "C02AW36C1M5",
            },
            Mode = "include_triage",
            UpdateSharingMode = "thread",
            TemplateId = majorIncidents.Id,
            ConditionGroups = new[]
            {
                new Incident.Inputs.AnnouncementRuleConditionGroupArgs
                {
                    Conditions = new[]
                    {
                        new Incident.Inputs.AnnouncementRuleConditionGroupConditionArgs
                        {
                            Subject = "incident.severity",
                            Operation = "one_of",
                            ParamBindings = new[]
                            {
                                new Incident.Inputs.AnnouncementRuleConditionGroupConditionParamBindingArgs
                                {
                                    ArrayValue = new[]
                                    {
                                        
                                        {
                                            { "literal", critical.Apply(getSeverityResult => getSeverityResult.Id) },
                                        },
                                    },
                                },
                            },
                        },
                    },
                },
            },
        });
    
    });
    
    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.GetSeverityArgs;
    import com.pulumi.incident.AnnouncementTemplate;
    import com.pulumi.incident.AnnouncementTemplateArgs;
    import com.pulumi.incident.inputs.AnnouncementTemplateFieldArgs;
    import com.pulumi.incident.inputs.AnnouncementTemplateActionArgs;
    import com.pulumi.incident.AnnouncementRule;
    import com.pulumi.incident.AnnouncementRuleArgs;
    import com.pulumi.incident.inputs.AnnouncementRuleConditionGroupArgs;
    import com.pulumi.incident.inputs.AnnouncementRuleConditionGroupConditionArgs;
    import com.pulumi.incident.inputs.AnnouncementRuleConditionGroupConditionParamBindingArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 critical = IncidentFunctions.getSeverity(GetSeverityArgs.builder()
                .name("Critical")
                .build());
    
            // The template the rule's announcements are rendered with: severity and status, then a
            // button to join the call.
            var majorIncidents = new AnnouncementTemplate("majorIncidents", AnnouncementTemplateArgs.builder()
                .name("Major incidents")
                .fields(            
                    AnnouncementTemplateFieldArgs.builder()
                        .fieldType("announcement_post_fields_severity")
                        .build(),
                    AnnouncementTemplateFieldArgs.builder()
                        .fieldType("announcement_post_fields_status")
                        .build())
                .actions(AnnouncementTemplateActionArgs.builder()
                    .actionType("announcement_post_actions_join_call")
                    .build())
                .build());
    
            // Announce every critical incident, triage included, in #major-incidents, rendered with
            // the major incidents template. Updates are shared in the announcement's thread.
            var criticalAnnouncementRule = new AnnouncementRule("criticalAnnouncementRule", AnnouncementRuleArgs.builder()
                .name("Critical incidents")
                .slackChannelIds("C02AW36C1M5")
                .mode("include_triage")
                .updateSharingMode("thread")
                .templateId(majorIncidents.id())
                .conditionGroups(AnnouncementRuleConditionGroupArgs.builder()
                    .conditions(AnnouncementRuleConditionGroupConditionArgs.builder()
                        .subject("incident.severity")
                        .operation("one_of")
                        .paramBindings(AnnouncementRuleConditionGroupConditionParamBindingArgs.builder()
                            .arrayValue(Arrays.asList(Map.of("literal", critical.id())))
                            .build())
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      # The template the rule's announcements are rendered with: severity and status, then a
      # button to join the call.
      majorIncidents:
        type: incident:AnnouncementTemplate
        name: major_incidents
        properties:
          name: Major incidents
          fields:
            - fieldType: announcement_post_fields_severity
            - fieldType: announcement_post_fields_status
          actions:
            - actionType: announcement_post_actions_join_call
      # Announce every critical incident, triage included, in #major-incidents, rendered with
      # the major incidents template. Updates are shared in the announcement's thread.
      criticalAnnouncementRule:
        type: incident:AnnouncementRule
        name: critical
        properties:
          name: Critical incidents
          slackChannelIds:
            - C02AW36C1M5
          mode: include_triage
          updateSharingMode: thread
          templateId: ${majorIncidents.id}
          conditionGroups:
            - conditions:
                - subject: incident.severity
                  operation: one_of
                  paramBindings:
                    - arrayValue:
                        - literal: ${critical.id}
    variables:
      critical:
        fn::invoke:
          function: incident:getSeverity
          arguments:
            name: Critical
    
    pulumi {
      required_providers {
        incident = {
          source = "pulumi/incident"
        }
      }
    }
    
    data "incident_getseverity" "critical" {
      name = "Critical"
    }
    
    # The template the rule's announcements are rendered with: severity and status, then a
    # button to join the call.
    resource "incident_announcementtemplate" "major_incidents" {
      name = "Major incidents"
      fields {
        field_type = "announcement_post_fields_severity"
      }
      fields {
        field_type = "announcement_post_fields_status"
      }
      actions {
        action_type = "announcement_post_actions_join_call"
      }
    }
    # Announce every critical incident, triage included, in #major-incidents, rendered with
    # the major incidents template. Updates are shared in the announcement's thread.
    resource "incident_announcementrule" "critical" {
      name                = "Critical incidents"
      slack_channel_ids   = ["C02AW36C1M5"]
      mode                = "include_triage"
      update_sharing_mode = "thread"
      template_id         = incident_announcementtemplate.major_incidents.id
      condition_groups {
        conditions {
          subject   = "incident.severity"
          operation = "one_of"
          param_bindings {
            array_value = [{
              "literal" = data.incident_getseverity.critical.id
            }]
          }
        }
      }
    }
    

    Create AnnouncementRule Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AnnouncementRule(name: string, args: AnnouncementRuleArgs, opts?: CustomResourceOptions);
    @overload
    def AnnouncementRule(resource_name: str,
                         args: AnnouncementRuleArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def AnnouncementRule(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         condition_groups: Optional[Sequence[AnnouncementRuleConditionGroupArgs]] = None,
                         mode: Optional[str] = None,
                         update_sharing_mode: Optional[str] = None,
                         conditions_no_longer_apply_behaviour: Optional[str] = None,
                         microsoft_teams_channel_ids: Optional[Sequence[str]] = None,
                         name: Optional[str] = None,
                         owning_team_ids: Optional[Sequence[str]] = None,
                         private_incident_scope: Optional[str] = None,
                         slack_channel_ids: Optional[Sequence[str]] = None,
                         template_id: Optional[str] = None)
    func NewAnnouncementRule(ctx *Context, name string, args AnnouncementRuleArgs, opts ...ResourceOption) (*AnnouncementRule, error)
    public AnnouncementRule(string name, AnnouncementRuleArgs args, CustomResourceOptions? opts = null)
    public AnnouncementRule(String name, AnnouncementRuleArgs args)
    public AnnouncementRule(String name, AnnouncementRuleArgs args, CustomResourceOptions options)
    
    type: incident:AnnouncementRule
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "incident_announcement_rule" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args AnnouncementRuleArgs
    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 AnnouncementRuleArgs
    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 AnnouncementRuleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AnnouncementRuleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AnnouncementRuleArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var announcementRuleResource = new Incident.AnnouncementRule("announcementRuleResource", new()
    {
        ConditionGroups = new[]
        {
            new Incident.Inputs.AnnouncementRuleConditionGroupArgs
            {
                Conditions = new[]
                {
                    new Incident.Inputs.AnnouncementRuleConditionGroupConditionArgs
                    {
                        Operation = "string",
                        ParamBindings = new[]
                        {
                            new Incident.Inputs.AnnouncementRuleConditionGroupConditionParamBindingArgs
                            {
                                ArrayValues = new[]
                                {
                                    new Incident.Inputs.AnnouncementRuleConditionGroupConditionParamBindingArrayValueArgs
                                    {
                                        Literal = "string",
                                        Reference = "string",
                                    },
                                },
                                ExpressionRef = "string",
                                Value = new Incident.Inputs.AnnouncementRuleConditionGroupConditionParamBindingValueArgs
                                {
                                    Literal = "string",
                                    Reference = "string",
                                },
                                ValueLiteral = "string",
                                ValueReference = "string",
                                Values = new[]
                                {
                                    "string",
                                },
                            },
                        },
                        Subject = "string",
                    },
                },
            },
        },
        Mode = "string",
        UpdateSharingMode = "string",
        ConditionsNoLongerApplyBehaviour = "string",
        MicrosoftTeamsChannelIds = new[]
        {
            "string",
        },
        Name = "string",
        OwningTeamIds = new[]
        {
            "string",
        },
        PrivateIncidentScope = "string",
        SlackChannelIds = new[]
        {
            "string",
        },
        TemplateId = "string",
    });
    
    example, err := incident.NewAnnouncementRule(ctx, "announcementRuleResource", &incident.AnnouncementRuleArgs{
    	ConditionGroups: incident.AnnouncementRuleConditionGroupArray{
    		&incident.AnnouncementRuleConditionGroupArgs{
    			Conditions: incident.AnnouncementRuleConditionGroupConditionArray{
    				&incident.AnnouncementRuleConditionGroupConditionArgs{
    					Operation: pulumi.String("string"),
    					ParamBindings: incident.AnnouncementRuleConditionGroupConditionParamBindingArray{
    						&incident.AnnouncementRuleConditionGroupConditionParamBindingArgs{
    							ArrayValues: incident.AnnouncementRuleConditionGroupConditionParamBindingArrayValueArray{
    								&incident.AnnouncementRuleConditionGroupConditionParamBindingArrayValueArgs{
    									Literal:   pulumi.String("string"),
    									Reference: pulumi.String("string"),
    								},
    							},
    							ExpressionRef: pulumi.String("string"),
    							Value: &incident.AnnouncementRuleConditionGroupConditionParamBindingValueArgs{
    								Literal:   pulumi.String("string"),
    								Reference: pulumi.String("string"),
    							},
    							ValueLiteral:   pulumi.String("string"),
    							ValueReference: pulumi.String("string"),
    							Values: pulumi.StringArray{
    								pulumi.String("string"),
    							},
    						},
    					},
    					Subject: pulumi.String("string"),
    				},
    			},
    		},
    	},
    	Mode:                             pulumi.String("string"),
    	UpdateSharingMode:                pulumi.String("string"),
    	ConditionsNoLongerApplyBehaviour: pulumi.String("string"),
    	MicrosoftTeamsChannelIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Name: pulumi.String("string"),
    	OwningTeamIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	PrivateIncidentScope: pulumi.String("string"),
    	SlackChannelIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	TemplateId: pulumi.String("string"),
    })
    
    resource "incident_announcement_rule" "announcementRuleResource" {
      lifecycle {
        create_before_destroy = true
      }
      condition_groups {
        conditions {
          operation = "string"
          param_bindings {
            array_values {
              literal   = "string"
              reference = "string"
            }
            expression_ref = "string"
            value = {
              literal   = "string"
              reference = "string"
            }
            value_literal   = "string"
            value_reference = "string"
            values          = ["string"]
          }
          subject = "string"
        }
      }
      mode                                 = "string"
      update_sharing_mode                  = "string"
      conditions_no_longer_apply_behaviour = "string"
      microsoft_teams_channel_ids          = ["string"]
      name                                 = "string"
      owning_team_ids                      = ["string"]
      private_incident_scope               = "string"
      slack_channel_ids                    = ["string"]
      template_id                          = "string"
    }
    
    var announcementRuleResource = new AnnouncementRule("announcementRuleResource", AnnouncementRuleArgs.builder()
        .conditionGroups(AnnouncementRuleConditionGroupArgs.builder()
            .conditions(AnnouncementRuleConditionGroupConditionArgs.builder()
                .operation("string")
                .paramBindings(AnnouncementRuleConditionGroupConditionParamBindingArgs.builder()
                    .arrayValues(AnnouncementRuleConditionGroupConditionParamBindingArrayValueArgs.builder()
                        .literal("string")
                        .reference("string")
                        .build())
                    .expressionRef("string")
                    .value(AnnouncementRuleConditionGroupConditionParamBindingValueArgs.builder()
                        .literal("string")
                        .reference("string")
                        .build())
                    .valueLiteral("string")
                    .valueReference("string")
                    .values("string")
                    .build())
                .subject("string")
                .build())
            .build())
        .mode("string")
        .updateSharingMode("string")
        .conditionsNoLongerApplyBehaviour("string")
        .microsoftTeamsChannelIds("string")
        .name("string")
        .owningTeamIds("string")
        .privateIncidentScope("string")
        .slackChannelIds("string")
        .templateId("string")
        .build());
    
    announcement_rule_resource = incident.AnnouncementRule("announcementRuleResource",
        condition_groups=[{
            "conditions": [{
                "operation": "string",
                "param_bindings": [{
                    "array_values": [{
                        "literal": "string",
                        "reference": "string",
                    }],
                    "expression_ref": "string",
                    "value": {
                        "literal": "string",
                        "reference": "string",
                    },
                    "value_literal": "string",
                    "value_reference": "string",
                    "values": ["string"],
                }],
                "subject": "string",
            }],
        }],
        mode="string",
        update_sharing_mode="string",
        conditions_no_longer_apply_behaviour="string",
        microsoft_teams_channel_ids=["string"],
        name="string",
        owning_team_ids=["string"],
        private_incident_scope="string",
        slack_channel_ids=["string"],
        template_id="string")
    
    const announcementRuleResource = new incident.AnnouncementRule("announcementRuleResource", {
        conditionGroups: [{
            conditions: [{
                operation: "string",
                paramBindings: [{
                    arrayValues: [{
                        literal: "string",
                        reference: "string",
                    }],
                    expressionRef: "string",
                    value: {
                        literal: "string",
                        reference: "string",
                    },
                    valueLiteral: "string",
                    valueReference: "string",
                    values: ["string"],
                }],
                subject: "string",
            }],
        }],
        mode: "string",
        updateSharingMode: "string",
        conditionsNoLongerApplyBehaviour: "string",
        microsoftTeamsChannelIds: ["string"],
        name: "string",
        owningTeamIds: ["string"],
        privateIncidentScope: "string",
        slackChannelIds: ["string"],
        templateId: "string",
    });
    
    type: incident:AnnouncementRule
    properties:
        conditionGroups:
            - conditions:
                - operation: string
                  paramBindings:
                    - arrayValues:
                        - literal: string
                          reference: string
                      expressionRef: string
                      value:
                        literal: string
                        reference: string
                      valueLiteral: string
                      valueReference: string
                      values:
                        - string
                  subject: string
        conditionsNoLongerApplyBehaviour: string
        microsoftTeamsChannelIds:
            - string
        mode: string
        name: string
        owningTeamIds:
            - string
        privateIncidentScope: string
        slackChannelIds:
            - string
        templateId: string
        updateSharingMode: string
    

    AnnouncementRule 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 AnnouncementRule resource accepts the following input properties:

    ConditionGroups List<AnnouncementRuleConditionGroup>
    Groups of prerequisite conditions. All conditions in at least one group must be satisfied
    Mode string
    Which incidents are announced: live incidents only, or triage incidents too. Possible values are: liveAndClosed, includeTriage, includeTriageAndMerged, includeDeclinedAndMerged, includeAll.
    UpdateSharingMode string
    Where incident updates are shared once the incident is announced. Possible values are: none, thread, threadAndChannel.
    ConditionsNoLongerApplyBehaviour string
    Whether to remove announcement posts when the incident no longer matches this rule's conditions. Defaults to leaveInPlace. Possible values are: leaveInPlace, remove.
    MicrosoftTeamsChannelIds List<string>
    Microsoft Teams channels to post announcements into, as teamid/channelid. Required when the organisation uses Microsoft Teams.
    Name string
    Human readable name for the rule
    OwningTeamIds List<string>
    IDs of the teams that own this rule
    PrivateIncidentScope string
    Which private incidents this rule announces: every private incident (all), those an owning team can see (owning_teams), or none. Defaults to none. Possible values are: all, owningTeams, none.
    SlackChannelIds List<string>
    IDs of the Slack channels to post announcements into. Required when the organisation uses Slack.
    TemplateId string
    ID of the announcement template used to render this rule's posts. Defaults to the organisation's default template when omitted.
    ConditionGroups []AnnouncementRuleConditionGroupArgs
    Groups of prerequisite conditions. All conditions in at least one group must be satisfied
    Mode string
    Which incidents are announced: live incidents only, or triage incidents too. Possible values are: liveAndClosed, includeTriage, includeTriageAndMerged, includeDeclinedAndMerged, includeAll.
    UpdateSharingMode string
    Where incident updates are shared once the incident is announced. Possible values are: none, thread, threadAndChannel.
    ConditionsNoLongerApplyBehaviour string
    Whether to remove announcement posts when the incident no longer matches this rule's conditions. Defaults to leaveInPlace. Possible values are: leaveInPlace, remove.
    MicrosoftTeamsChannelIds []string
    Microsoft Teams channels to post announcements into, as teamid/channelid. Required when the organisation uses Microsoft Teams.
    Name string
    Human readable name for the rule
    OwningTeamIds []string
    IDs of the teams that own this rule
    PrivateIncidentScope string
    Which private incidents this rule announces: every private incident (all), those an owning team can see (owning_teams), or none. Defaults to none. Possible values are: all, owningTeams, none.
    SlackChannelIds []string
    IDs of the Slack channels to post announcements into. Required when the organisation uses Slack.
    TemplateId string
    ID of the announcement template used to render this rule's posts. Defaults to the organisation's default template when omitted.
    condition_groups list(object)
    Groups of prerequisite conditions. All conditions in at least one group must be satisfied
    mode string
    Which incidents are announced: live incidents only, or triage incidents too. Possible values are: liveAndClosed, includeTriage, includeTriageAndMerged, includeDeclinedAndMerged, includeAll.
    update_sharing_mode string
    Where incident updates are shared once the incident is announced. Possible values are: none, thread, threadAndChannel.
    conditions_no_longer_apply_behaviour string
    Whether to remove announcement posts when the incident no longer matches this rule's conditions. Defaults to leaveInPlace. Possible values are: leaveInPlace, remove.
    microsoft_teams_channel_ids list(string)
    Microsoft Teams channels to post announcements into, as teamid/channelid. Required when the organisation uses Microsoft Teams.
    name string
    Human readable name for the rule
    owning_team_ids list(string)
    IDs of the teams that own this rule
    private_incident_scope string
    Which private incidents this rule announces: every private incident (all), those an owning team can see (owning_teams), or none. Defaults to none. Possible values are: all, owningTeams, none.
    slack_channel_ids list(string)
    IDs of the Slack channels to post announcements into. Required when the organisation uses Slack.
    template_id string
    ID of the announcement template used to render this rule's posts. Defaults to the organisation's default template when omitted.
    conditionGroups List<AnnouncementRuleConditionGroup>
    Groups of prerequisite conditions. All conditions in at least one group must be satisfied
    mode String
    Which incidents are announced: live incidents only, or triage incidents too. Possible values are: liveAndClosed, includeTriage, includeTriageAndMerged, includeDeclinedAndMerged, includeAll.
    updateSharingMode String
    Where incident updates are shared once the incident is announced. Possible values are: none, thread, threadAndChannel.
    conditionsNoLongerApplyBehaviour String
    Whether to remove announcement posts when the incident no longer matches this rule's conditions. Defaults to leaveInPlace. Possible values are: leaveInPlace, remove.
    microsoftTeamsChannelIds List<String>
    Microsoft Teams channels to post announcements into, as teamid/channelid. Required when the organisation uses Microsoft Teams.
    name String
    Human readable name for the rule
    owningTeamIds List<String>
    IDs of the teams that own this rule
    privateIncidentScope String
    Which private incidents this rule announces: every private incident (all), those an owning team can see (owning_teams), or none. Defaults to none. Possible values are: all, owningTeams, none.
    slackChannelIds List<String>
    IDs of the Slack channels to post announcements into. Required when the organisation uses Slack.
    templateId String
    ID of the announcement template used to render this rule's posts. Defaults to the organisation's default template when omitted.
    conditionGroups AnnouncementRuleConditionGroup[]
    Groups of prerequisite conditions. All conditions in at least one group must be satisfied
    mode string
    Which incidents are announced: live incidents only, or triage incidents too. Possible values are: liveAndClosed, includeTriage, includeTriageAndMerged, includeDeclinedAndMerged, includeAll.
    updateSharingMode string
    Where incident updates are shared once the incident is announced. Possible values are: none, thread, threadAndChannel.
    conditionsNoLongerApplyBehaviour string
    Whether to remove announcement posts when the incident no longer matches this rule's conditions. Defaults to leaveInPlace. Possible values are: leaveInPlace, remove.
    microsoftTeamsChannelIds string[]
    Microsoft Teams channels to post announcements into, as teamid/channelid. Required when the organisation uses Microsoft Teams.
    name string
    Human readable name for the rule
    owningTeamIds string[]
    IDs of the teams that own this rule
    privateIncidentScope string
    Which private incidents this rule announces: every private incident (all), those an owning team can see (owning_teams), or none. Defaults to none. Possible values are: all, owningTeams, none.
    slackChannelIds string[]
    IDs of the Slack channels to post announcements into. Required when the organisation uses Slack.
    templateId string
    ID of the announcement template used to render this rule's posts. Defaults to the organisation's default template when omitted.
    condition_groups Sequence[AnnouncementRuleConditionGroupArgs]
    Groups of prerequisite conditions. All conditions in at least one group must be satisfied
    mode str
    Which incidents are announced: live incidents only, or triage incidents too. Possible values are: liveAndClosed, includeTriage, includeTriageAndMerged, includeDeclinedAndMerged, includeAll.
    update_sharing_mode str
    Where incident updates are shared once the incident is announced. Possible values are: none, thread, threadAndChannel.
    conditions_no_longer_apply_behaviour str
    Whether to remove announcement posts when the incident no longer matches this rule's conditions. Defaults to leaveInPlace. Possible values are: leaveInPlace, remove.
    microsoft_teams_channel_ids Sequence[str]
    Microsoft Teams channels to post announcements into, as teamid/channelid. Required when the organisation uses Microsoft Teams.
    name str
    Human readable name for the rule
    owning_team_ids Sequence[str]
    IDs of the teams that own this rule
    private_incident_scope str
    Which private incidents this rule announces: every private incident (all), those an owning team can see (owning_teams), or none. Defaults to none. Possible values are: all, owningTeams, none.
    slack_channel_ids Sequence[str]
    IDs of the Slack channels to post announcements into. Required when the organisation uses Slack.
    template_id str
    ID of the announcement template used to render this rule's posts. Defaults to the organisation's default template when omitted.
    conditionGroups List<Property Map>
    Groups of prerequisite conditions. All conditions in at least one group must be satisfied
    mode String
    Which incidents are announced: live incidents only, or triage incidents too. Possible values are: liveAndClosed, includeTriage, includeTriageAndMerged, includeDeclinedAndMerged, includeAll.
    updateSharingMode String
    Where incident updates are shared once the incident is announced. Possible values are: none, thread, threadAndChannel.
    conditionsNoLongerApplyBehaviour String
    Whether to remove announcement posts when the incident no longer matches this rule's conditions. Defaults to leaveInPlace. Possible values are: leaveInPlace, remove.
    microsoftTeamsChannelIds List<String>
    Microsoft Teams channels to post announcements into, as teamid/channelid. Required when the organisation uses Microsoft Teams.
    name String
    Human readable name for the rule
    owningTeamIds List<String>
    IDs of the teams that own this rule
    privateIncidentScope String
    Which private incidents this rule announces: every private incident (all), those an owning team can see (owning_teams), or none. Defaults to none. Possible values are: all, owningTeams, none.
    slackChannelIds List<String>
    IDs of the Slack channels to post announcements into. Required when the organisation uses Slack.
    templateId String
    ID of the announcement template used to render this rule's posts. Defaults to the organisation's default template when omitted.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AnnouncementRule resource produces the following output properties:

    CreatedAt string
    When the rule was created
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    When the rule was last updated
    CreatedAt string
    When the rule was created
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    When the rule was last updated
    created_at string
    When the rule was created
    id string
    The provider-assigned unique ID for this managed resource.
    updated_at string
    When the rule was last updated
    createdAt String
    When the rule was created
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    When the rule was last updated
    createdAt string
    When the rule was created
    id string
    The provider-assigned unique ID for this managed resource.
    updatedAt string
    When the rule was last updated
    created_at str
    When the rule was created
    id str
    The provider-assigned unique ID for this managed resource.
    updated_at str
    When the rule was last updated
    createdAt String
    When the rule was created
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    When the rule was last updated

    Look up Existing AnnouncementRule Resource

    Get an existing AnnouncementRule 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?: AnnouncementRuleState, opts?: CustomResourceOptions): AnnouncementRule
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            condition_groups: Optional[Sequence[AnnouncementRuleConditionGroupArgs]] = None,
            conditions_no_longer_apply_behaviour: Optional[str] = None,
            created_at: Optional[str] = None,
            microsoft_teams_channel_ids: Optional[Sequence[str]] = None,
            mode: Optional[str] = None,
            name: Optional[str] = None,
            owning_team_ids: Optional[Sequence[str]] = None,
            private_incident_scope: Optional[str] = None,
            slack_channel_ids: Optional[Sequence[str]] = None,
            template_id: Optional[str] = None,
            update_sharing_mode: Optional[str] = None,
            updated_at: Optional[str] = None) -> AnnouncementRule
    func GetAnnouncementRule(ctx *Context, name string, id IDInput, state *AnnouncementRuleState, opts ...ResourceOption) (*AnnouncementRule, error)
    public static AnnouncementRule Get(string name, Input<string> id, AnnouncementRuleState? state, CustomResourceOptions? opts = null)
    public static AnnouncementRule get(String name, Output<String> id, AnnouncementRuleState state, CustomResourceOptions options)
    resources:  _:    type: incident:AnnouncementRule    get:      id: ${id}
    import {
      to = incident_announcement_rule.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.
    The following state arguments are supported:
    ConditionGroups List<AnnouncementRuleConditionGroup>
    Groups of prerequisite conditions. All conditions in at least one group must be satisfied
    ConditionsNoLongerApplyBehaviour string
    Whether to remove announcement posts when the incident no longer matches this rule's conditions. Defaults to leaveInPlace. Possible values are: leaveInPlace, remove.
    CreatedAt string
    When the rule was created
    MicrosoftTeamsChannelIds List<string>
    Microsoft Teams channels to post announcements into, as teamid/channelid. Required when the organisation uses Microsoft Teams.
    Mode string
    Which incidents are announced: live incidents only, or triage incidents too. Possible values are: liveAndClosed, includeTriage, includeTriageAndMerged, includeDeclinedAndMerged, includeAll.
    Name string
    Human readable name for the rule
    OwningTeamIds List<string>
    IDs of the teams that own this rule
    PrivateIncidentScope string
    Which private incidents this rule announces: every private incident (all), those an owning team can see (owning_teams), or none. Defaults to none. Possible values are: all, owningTeams, none.
    SlackChannelIds List<string>
    IDs of the Slack channels to post announcements into. Required when the organisation uses Slack.
    TemplateId string
    ID of the announcement template used to render this rule's posts. Defaults to the organisation's default template when omitted.
    UpdateSharingMode string
    Where incident updates are shared once the incident is announced. Possible values are: none, thread, threadAndChannel.
    UpdatedAt string
    When the rule was last updated
    ConditionGroups []AnnouncementRuleConditionGroupArgs
    Groups of prerequisite conditions. All conditions in at least one group must be satisfied
    ConditionsNoLongerApplyBehaviour string
    Whether to remove announcement posts when the incident no longer matches this rule's conditions. Defaults to leaveInPlace. Possible values are: leaveInPlace, remove.
    CreatedAt string
    When the rule was created
    MicrosoftTeamsChannelIds []string
    Microsoft Teams channels to post announcements into, as teamid/channelid. Required when the organisation uses Microsoft Teams.
    Mode string
    Which incidents are announced: live incidents only, or triage incidents too. Possible values are: liveAndClosed, includeTriage, includeTriageAndMerged, includeDeclinedAndMerged, includeAll.
    Name string
    Human readable name for the rule
    OwningTeamIds []string
    IDs of the teams that own this rule
    PrivateIncidentScope string
    Which private incidents this rule announces: every private incident (all), those an owning team can see (owning_teams), or none. Defaults to none. Possible values are: all, owningTeams, none.
    SlackChannelIds []string
    IDs of the Slack channels to post announcements into. Required when the organisation uses Slack.
    TemplateId string
    ID of the announcement template used to render this rule's posts. Defaults to the organisation's default template when omitted.
    UpdateSharingMode string
    Where incident updates are shared once the incident is announced. Possible values are: none, thread, threadAndChannel.
    UpdatedAt string
    When the rule was last updated
    condition_groups list(object)
    Groups of prerequisite conditions. All conditions in at least one group must be satisfied
    conditions_no_longer_apply_behaviour string
    Whether to remove announcement posts when the incident no longer matches this rule's conditions. Defaults to leaveInPlace. Possible values are: leaveInPlace, remove.
    created_at string
    When the rule was created
    microsoft_teams_channel_ids list(string)
    Microsoft Teams channels to post announcements into, as teamid/channelid. Required when the organisation uses Microsoft Teams.
    mode string
    Which incidents are announced: live incidents only, or triage incidents too. Possible values are: liveAndClosed, includeTriage, includeTriageAndMerged, includeDeclinedAndMerged, includeAll.
    name string
    Human readable name for the rule
    owning_team_ids list(string)
    IDs of the teams that own this rule
    private_incident_scope string
    Which private incidents this rule announces: every private incident (all), those an owning team can see (owning_teams), or none. Defaults to none. Possible values are: all, owningTeams, none.
    slack_channel_ids list(string)
    IDs of the Slack channels to post announcements into. Required when the organisation uses Slack.
    template_id string
    ID of the announcement template used to render this rule's posts. Defaults to the organisation's default template when omitted.
    update_sharing_mode string
    Where incident updates are shared once the incident is announced. Possible values are: none, thread, threadAndChannel.
    updated_at string
    When the rule was last updated
    conditionGroups List<AnnouncementRuleConditionGroup>
    Groups of prerequisite conditions. All conditions in at least one group must be satisfied
    conditionsNoLongerApplyBehaviour String
    Whether to remove announcement posts when the incident no longer matches this rule's conditions. Defaults to leaveInPlace. Possible values are: leaveInPlace, remove.
    createdAt String
    When the rule was created
    microsoftTeamsChannelIds List<String>
    Microsoft Teams channels to post announcements into, as teamid/channelid. Required when the organisation uses Microsoft Teams.
    mode String
    Which incidents are announced: live incidents only, or triage incidents too. Possible values are: liveAndClosed, includeTriage, includeTriageAndMerged, includeDeclinedAndMerged, includeAll.
    name String
    Human readable name for the rule
    owningTeamIds List<String>
    IDs of the teams that own this rule
    privateIncidentScope String
    Which private incidents this rule announces: every private incident (all), those an owning team can see (owning_teams), or none. Defaults to none. Possible values are: all, owningTeams, none.
    slackChannelIds List<String>
    IDs of the Slack channels to post announcements into. Required when the organisation uses Slack.
    templateId String
    ID of the announcement template used to render this rule's posts. Defaults to the organisation's default template when omitted.
    updateSharingMode String
    Where incident updates are shared once the incident is announced. Possible values are: none, thread, threadAndChannel.
    updatedAt String
    When the rule was last updated
    conditionGroups AnnouncementRuleConditionGroup[]
    Groups of prerequisite conditions. All conditions in at least one group must be satisfied
    conditionsNoLongerApplyBehaviour string
    Whether to remove announcement posts when the incident no longer matches this rule's conditions. Defaults to leaveInPlace. Possible values are: leaveInPlace, remove.
    createdAt string
    When the rule was created
    microsoftTeamsChannelIds string[]
    Microsoft Teams channels to post announcements into, as teamid/channelid. Required when the organisation uses Microsoft Teams.
    mode string
    Which incidents are announced: live incidents only, or triage incidents too. Possible values are: liveAndClosed, includeTriage, includeTriageAndMerged, includeDeclinedAndMerged, includeAll.
    name string
    Human readable name for the rule
    owningTeamIds string[]
    IDs of the teams that own this rule
    privateIncidentScope string
    Which private incidents this rule announces: every private incident (all), those an owning team can see (owning_teams), or none. Defaults to none. Possible values are: all, owningTeams, none.
    slackChannelIds string[]
    IDs of the Slack channels to post announcements into. Required when the organisation uses Slack.
    templateId string
    ID of the announcement template used to render this rule's posts. Defaults to the organisation's default template when omitted.
    updateSharingMode string
    Where incident updates are shared once the incident is announced. Possible values are: none, thread, threadAndChannel.
    updatedAt string
    When the rule was last updated
    condition_groups Sequence[AnnouncementRuleConditionGroupArgs]
    Groups of prerequisite conditions. All conditions in at least one group must be satisfied
    conditions_no_longer_apply_behaviour str
    Whether to remove announcement posts when the incident no longer matches this rule's conditions. Defaults to leaveInPlace. Possible values are: leaveInPlace, remove.
    created_at str
    When the rule was created
    microsoft_teams_channel_ids Sequence[str]
    Microsoft Teams channels to post announcements into, as teamid/channelid. Required when the organisation uses Microsoft Teams.
    mode str
    Which incidents are announced: live incidents only, or triage incidents too. Possible values are: liveAndClosed, includeTriage, includeTriageAndMerged, includeDeclinedAndMerged, includeAll.
    name str
    Human readable name for the rule
    owning_team_ids Sequence[str]
    IDs of the teams that own this rule
    private_incident_scope str
    Which private incidents this rule announces: every private incident (all), those an owning team can see (owning_teams), or none. Defaults to none. Possible values are: all, owningTeams, none.
    slack_channel_ids Sequence[str]
    IDs of the Slack channels to post announcements into. Required when the organisation uses Slack.
    template_id str
    ID of the announcement template used to render this rule's posts. Defaults to the organisation's default template when omitted.
    update_sharing_mode str
    Where incident updates are shared once the incident is announced. Possible values are: none, thread, threadAndChannel.
    updated_at str
    When the rule was last updated
    conditionGroups List<Property Map>
    Groups of prerequisite conditions. All conditions in at least one group must be satisfied
    conditionsNoLongerApplyBehaviour String
    Whether to remove announcement posts when the incident no longer matches this rule's conditions. Defaults to leaveInPlace. Possible values are: leaveInPlace, remove.
    createdAt String
    When the rule was created
    microsoftTeamsChannelIds List<String>
    Microsoft Teams channels to post announcements into, as teamid/channelid. Required when the organisation uses Microsoft Teams.
    mode String
    Which incidents are announced: live incidents only, or triage incidents too. Possible values are: liveAndClosed, includeTriage, includeTriageAndMerged, includeDeclinedAndMerged, includeAll.
    name String
    Human readable name for the rule
    owningTeamIds List<String>
    IDs of the teams that own this rule
    privateIncidentScope String
    Which private incidents this rule announces: every private incident (all), those an owning team can see (owning_teams), or none. Defaults to none. Possible values are: all, owningTeams, none.
    slackChannelIds List<String>
    IDs of the Slack channels to post announcements into. Required when the organisation uses Slack.
    templateId String
    ID of the announcement template used to render this rule's posts. Defaults to the organisation's default template when omitted.
    updateSharingMode String
    Where incident updates are shared once the incident is announced. Possible values are: none, thread, threadAndChannel.
    updatedAt String
    When the rule was last updated

    Supporting Types

    AnnouncementRuleConditionGroup, AnnouncementRuleConditionGroupArgs

    Conditions List<AnnouncementRuleConditionGroupCondition>
    The prerequisite conditions that must all be satisfied
    Conditions []AnnouncementRuleConditionGroupCondition
    The prerequisite conditions that must all be satisfied
    conditions list(object)
    The prerequisite conditions that must all be satisfied
    conditions List<AnnouncementRuleConditionGroupCondition>
    The prerequisite conditions that must all be satisfied
    conditions AnnouncementRuleConditionGroupCondition[]
    The prerequisite conditions that must all be satisfied
    conditions Sequence[AnnouncementRuleConditionGroupCondition]
    The prerequisite conditions that must all be satisfied
    conditions List<Property Map>
    The prerequisite conditions that must all be satisfied

    AnnouncementRuleConditionGroupCondition, AnnouncementRuleConditionGroupConditionArgs

    Operation string
    The logical operation to be applied
    ParamBindings List<AnnouncementRuleConditionGroupConditionParamBinding>
    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
    ParamBindings []AnnouncementRuleConditionGroupConditionParamBinding
    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
    paramBindings List<AnnouncementRuleConditionGroupConditionParamBinding>
    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
    paramBindings AnnouncementRuleConditionGroupConditionParamBinding[]
    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[AnnouncementRuleConditionGroupConditionParamBinding]
    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
    paramBindings List<Property Map>
    Bindings for the operation parameters
    subject String
    The subject of the condition, on which the operation is applied

    AnnouncementRuleConditionGroupConditionParamBinding, AnnouncementRuleConditionGroupConditionParamBindingArgs

    ArrayValues List<AnnouncementRuleConditionGroupConditionParamBindingArrayValue>
    The array of literal or reference parameter values
    ExpressionRef string
    The name of an expression on this resource, whose result becomes the value. Shorthand for referencing expressions["name"].
    Value AnnouncementRuleConditionGroupConditionParamBindingValue
    The literal or reference parameter value
    ValueLiteral string
    A fixed value, shorthand for value = { literal = ... }. A catalog entry ID is a literal, not a reference.
    ValueReference string
    A reference into the scope, shorthand for value = { reference = ... }.
    Values List<string>
    Several fixed values, shorthand for an arrayValue of literals. For a mix of literals and references, use arrayValue.
    ArrayValues []AnnouncementRuleConditionGroupConditionParamBindingArrayValue
    The array of literal or reference parameter values
    ExpressionRef string
    The name of an expression on this resource, whose result becomes the value. Shorthand for referencing expressions["name"].
    Value AnnouncementRuleConditionGroupConditionParamBindingValue
    The literal or reference parameter value
    ValueLiteral string
    A fixed value, shorthand for value = { literal = ... }. A catalog entry ID is a literal, not a reference.
    ValueReference string
    A reference into the scope, shorthand for value = { reference = ... }.
    Values []string
    Several fixed values, shorthand for an arrayValue of literals. For a mix of literals and references, use arrayValue.
    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 arrayValue of literals. For a mix of literals and references, use arrayValue.
    arrayValues List<AnnouncementRuleConditionGroupConditionParamBindingArrayValue>
    The array of literal or reference parameter values
    expressionRef String
    The name of an expression on this resource, whose result becomes the value. Shorthand for referencing expressions["name"].
    value AnnouncementRuleConditionGroupConditionParamBindingValue
    The literal or reference parameter value
    valueLiteral String
    A fixed value, shorthand for value = { literal = ... }. A catalog entry ID is a literal, not a reference.
    valueReference String
    A reference into the scope, shorthand for value = { reference = ... }.
    values List<String>
    Several fixed values, shorthand for an arrayValue of literals. For a mix of literals and references, use arrayValue.
    arrayValues AnnouncementRuleConditionGroupConditionParamBindingArrayValue[]
    The array of literal or reference parameter values
    expressionRef string
    The name of an expression on this resource, whose result becomes the value. Shorthand for referencing expressions["name"].
    value AnnouncementRuleConditionGroupConditionParamBindingValue
    The literal or reference parameter value
    valueLiteral string
    A fixed value, shorthand for value = { literal = ... }. A catalog entry ID is a literal, not a reference.
    valueReference string
    A reference into the scope, shorthand for value = { reference = ... }.
    values string[]
    Several fixed values, shorthand for an arrayValue of literals. For a mix of literals and references, use arrayValue.
    array_values Sequence[AnnouncementRuleConditionGroupConditionParamBindingArrayValue]
    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 AnnouncementRuleConditionGroupConditionParamBindingValue
    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 arrayValue of literals. For a mix of literals and references, use arrayValue.
    arrayValues List<Property Map>
    The array of literal or reference parameter values
    expressionRef 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
    valueLiteral String
    A fixed value, shorthand for value = { literal = ... }. A catalog entry ID is a literal, not a reference.
    valueReference String
    A reference into the scope, shorthand for value = { reference = ... }.
    values List<String>
    Several fixed values, shorthand for an arrayValue of literals. For a mix of literals and references, use arrayValue.

    AnnouncementRuleConditionGroupConditionParamBindingArrayValue, AnnouncementRuleConditionGroupConditionParamBindingArrayValueArgs

    Literal string
    If set, this is the literal value of the step parameter
    Reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    Literal string
    If set, this is the literal value of the step parameter
    Reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal string
    If set, this is the literal value of the step parameter
    reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal String
    If set, this is the literal value of the step parameter
    reference String
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal string
    If set, this is the literal value of the step parameter
    reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal str
    If set, this is the literal value of the step parameter
    reference str
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal String
    If set, this is the literal value of the step parameter
    reference String
    If set, this is the reference into the trigger scope that is the value of this parameter

    AnnouncementRuleConditionGroupConditionParamBindingValue, AnnouncementRuleConditionGroupConditionParamBindingValueArgs

    Literal string
    If set, this is the literal value of the step parameter
    Reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    Literal string
    If set, this is the literal value of the step parameter
    Reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal string
    If set, this is the literal value of the step parameter
    reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal String
    If set, this is the literal value of the step parameter
    reference String
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal string
    If set, this is the literal value of the step parameter
    reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal str
    If set, this is the literal value of the step parameter
    reference str
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal String
    If set, this is the literal value of the step parameter
    reference String
    If set, this is the reference into the trigger scope that is the value of this parameter

    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 an announcement rule using its ID Replace the ID with a real ID from your incident.io organization

    $ pulumi import incident:index/announcementRule:AnnouncementRule example 01ABC123DEF456GHI789JKL
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    incident incident-io/pulumi-incident
    License
    MIT
    Notes
    This Pulumi package is based on the incident Terraform Provider.
    incident logo incident.io
    Viewing docs for incident.io v0.4.1
    published on Wednesday, Oct 21, 2026 by incident-io

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial