1. Packages
  2. Rootly
  3. API Docs
  4. WorkflowTaskSendSlackMessage
Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly

rootly.WorkflowTaskSendSlackMessage

Explore with Pulumi AI

rootly logo
Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly

    Manages workflow send_slack_message task.

    Example Usage

    Coming soon!

    Coming soon!

    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.rootly.WorkflowIncident;
    import com.pulumi.rootly.WorkflowIncidentArgs;
    import com.pulumi.rootly.inputs.WorkflowIncidentTriggerParamsArgs;
    import com.pulumi.rootly.WorkflowTaskSendSlackMessage;
    import com.pulumi.rootly.WorkflowTaskSendSlackMessageArgs;
    import com.pulumi.rootly.inputs.WorkflowTaskSendSlackMessageTaskParamsArgs;
    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) {
            var notifySlackChannels = new WorkflowIncident("notifySlackChannels", WorkflowIncidentArgs.builder()        
                .description("Send a message to specific teams on Slack regarding the incident.")
                .triggerParams(WorkflowIncidentTriggerParamsArgs.builder()
                    .triggers("incident_created")
                    .incidentStatuses("started")
                    .incidentConditionStatus("IS")
                    .build())
                .enabled(true)
                .build());
    
            var sendSlackMessage = new WorkflowTaskSendSlackMessage("sendSlackMessage", WorkflowTaskSendSlackMessageArgs.builder()        
                .workflowId(notifySlackChannels.id())
                .skipOnFailure(false)
                .enabled(true)
                .taskParams(WorkflowTaskSendSlackMessageTaskParamsArgs.builder()
                    .name("Notify team about incident")
                    .channels(WorkflowTaskSendSlackMessageTaskParamsChannelArgs.builder()
                        .id("{{ incident.slack_channel_id }}")
                        .name("{{ incident.slack_channel_id }}")
                        .build())
                    .text("Heads up - wanted to let your team know we have an active incident.")
                    .build())
                .build());
    
        }
    }
    

    Coming soon!

    Coming soon!

    resources:
      notifySlackChannels:
        type: rootly:WorkflowIncident
        properties:
          description: Send a message to specific teams on Slack regarding the incident.
          triggerParams:
            triggers:
              - incident_created
            incidentStatuses:
              - started
            incidentConditionStatus: IS
          enabled: true
      sendSlackMessage:
        type: rootly:WorkflowTaskSendSlackMessage
        properties:
          workflowId: ${notifySlackChannels.id}
          skipOnFailure: false
          enabled: true
          taskParams:
            name: Notify team about incident
            channels:
              - id: '{{ incident.slack_channel_id }}'
                name: '{{ incident.slack_channel_id }}'
            text: Heads up - wanted to let your team know we have an active incident.
    

    Create WorkflowTaskSendSlackMessage Resource

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

    Constructor syntax

    new WorkflowTaskSendSlackMessage(name: string, args: WorkflowTaskSendSlackMessageArgs, opts?: CustomResourceOptions);
    @overload
    def WorkflowTaskSendSlackMessage(resource_name: str,
                                     args: WorkflowTaskSendSlackMessageArgs,
                                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def WorkflowTaskSendSlackMessage(resource_name: str,
                                     opts: Optional[ResourceOptions] = None,
                                     task_params: Optional[WorkflowTaskSendSlackMessageTaskParamsArgs] = None,
                                     workflow_id: Optional[str] = None,
                                     enabled: Optional[bool] = None,
                                     name: Optional[str] = None,
                                     position: Optional[int] = None,
                                     skip_on_failure: Optional[bool] = None)
    func NewWorkflowTaskSendSlackMessage(ctx *Context, name string, args WorkflowTaskSendSlackMessageArgs, opts ...ResourceOption) (*WorkflowTaskSendSlackMessage, error)
    public WorkflowTaskSendSlackMessage(string name, WorkflowTaskSendSlackMessageArgs args, CustomResourceOptions? opts = null)
    public WorkflowTaskSendSlackMessage(String name, WorkflowTaskSendSlackMessageArgs args)
    public WorkflowTaskSendSlackMessage(String name, WorkflowTaskSendSlackMessageArgs args, CustomResourceOptions options)
    
    type: rootly:WorkflowTaskSendSlackMessage
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args WorkflowTaskSendSlackMessageArgs
    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 WorkflowTaskSendSlackMessageArgs
    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 WorkflowTaskSendSlackMessageArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WorkflowTaskSendSlackMessageArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args WorkflowTaskSendSlackMessageArgs
    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 workflowTaskSendSlackMessageResource = new Rootly.WorkflowTaskSendSlackMessage("workflowTaskSendSlackMessageResource", new()
    {
        TaskParams = new Rootly.Inputs.WorkflowTaskSendSlackMessageTaskParamsArgs
        {
            Text = "string",
            Actionables = new[]
            {
                "string",
            },
            BroadcastThreadReplyToChannel = false,
            Channels = new[]
            {
                new Rootly.Inputs.WorkflowTaskSendSlackMessageTaskParamsChannelArgs
                {
                    Id = "string",
                    Name = "string",
                },
            },
            Color = "string",
            ParentMessageThreadTask = 
            {
                { "string", "any" },
            },
            PinToChannel = false,
            SendAsEphemeral = false,
            SlackUserGroups = new[]
            {
                new Rootly.Inputs.WorkflowTaskSendSlackMessageTaskParamsSlackUserGroupArgs
                {
                    Id = "string",
                    Name = "string",
                },
            },
            SlackUsers = new[]
            {
                new Rootly.Inputs.WorkflowTaskSendSlackMessageTaskParamsSlackUserArgs
                {
                    Id = "string",
                    Name = "string",
                },
            },
            TaskType = "string",
            UpdateParentMessage = false,
        },
        WorkflowId = "string",
        Enabled = false,
        Name = "string",
        Position = 0,
        SkipOnFailure = false,
    });
    
    example, err := rootly.NewWorkflowTaskSendSlackMessage(ctx, "workflowTaskSendSlackMessageResource", &rootly.WorkflowTaskSendSlackMessageArgs{
    	TaskParams: &rootly.WorkflowTaskSendSlackMessageTaskParamsArgs{
    		Text: pulumi.String("string"),
    		Actionables: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		BroadcastThreadReplyToChannel: pulumi.Bool(false),
    		Channels: rootly.WorkflowTaskSendSlackMessageTaskParamsChannelArray{
    			&rootly.WorkflowTaskSendSlackMessageTaskParamsChannelArgs{
    				Id:   pulumi.String("string"),
    				Name: pulumi.String("string"),
    			},
    		},
    		Color: pulumi.String("string"),
    		ParentMessageThreadTask: pulumi.Map{
    			"string": pulumi.Any("any"),
    		},
    		PinToChannel:    pulumi.Bool(false),
    		SendAsEphemeral: pulumi.Bool(false),
    		SlackUserGroups: rootly.WorkflowTaskSendSlackMessageTaskParamsSlackUserGroupArray{
    			&rootly.WorkflowTaskSendSlackMessageTaskParamsSlackUserGroupArgs{
    				Id:   pulumi.String("string"),
    				Name: pulumi.String("string"),
    			},
    		},
    		SlackUsers: rootly.WorkflowTaskSendSlackMessageTaskParamsSlackUserArray{
    			&rootly.WorkflowTaskSendSlackMessageTaskParamsSlackUserArgs{
    				Id:   pulumi.String("string"),
    				Name: pulumi.String("string"),
    			},
    		},
    		TaskType:            pulumi.String("string"),
    		UpdateParentMessage: pulumi.Bool(false),
    	},
    	WorkflowId:    pulumi.String("string"),
    	Enabled:       pulumi.Bool(false),
    	Name:          pulumi.String("string"),
    	Position:      pulumi.Int(0),
    	SkipOnFailure: pulumi.Bool(false),
    })
    
    var workflowTaskSendSlackMessageResource = new WorkflowTaskSendSlackMessage("workflowTaskSendSlackMessageResource", WorkflowTaskSendSlackMessageArgs.builder()
        .taskParams(WorkflowTaskSendSlackMessageTaskParamsArgs.builder()
            .text("string")
            .actionables("string")
            .broadcastThreadReplyToChannel(false)
            .channels(WorkflowTaskSendSlackMessageTaskParamsChannelArgs.builder()
                .id("string")
                .name("string")
                .build())
            .color("string")
            .parentMessageThreadTask(Map.of("string", "any"))
            .pinToChannel(false)
            .sendAsEphemeral(false)
            .slackUserGroups(WorkflowTaskSendSlackMessageTaskParamsSlackUserGroupArgs.builder()
                .id("string")
                .name("string")
                .build())
            .slackUsers(WorkflowTaskSendSlackMessageTaskParamsSlackUserArgs.builder()
                .id("string")
                .name("string")
                .build())
            .taskType("string")
            .updateParentMessage(false)
            .build())
        .workflowId("string")
        .enabled(false)
        .name("string")
        .position(0)
        .skipOnFailure(false)
        .build());
    
    workflow_task_send_slack_message_resource = rootly.WorkflowTaskSendSlackMessage("workflowTaskSendSlackMessageResource",
        task_params={
            "text": "string",
            "actionables": ["string"],
            "broadcast_thread_reply_to_channel": False,
            "channels": [{
                "id": "string",
                "name": "string",
            }],
            "color": "string",
            "parent_message_thread_task": {
                "string": "any",
            },
            "pin_to_channel": False,
            "send_as_ephemeral": False,
            "slack_user_groups": [{
                "id": "string",
                "name": "string",
            }],
            "slack_users": [{
                "id": "string",
                "name": "string",
            }],
            "task_type": "string",
            "update_parent_message": False,
        },
        workflow_id="string",
        enabled=False,
        name="string",
        position=0,
        skip_on_failure=False)
    
    const workflowTaskSendSlackMessageResource = new rootly.WorkflowTaskSendSlackMessage("workflowTaskSendSlackMessageResource", {
        taskParams: {
            text: "string",
            actionables: ["string"],
            broadcastThreadReplyToChannel: false,
            channels: [{
                id: "string",
                name: "string",
            }],
            color: "string",
            parentMessageThreadTask: {
                string: "any",
            },
            pinToChannel: false,
            sendAsEphemeral: false,
            slackUserGroups: [{
                id: "string",
                name: "string",
            }],
            slackUsers: [{
                id: "string",
                name: "string",
            }],
            taskType: "string",
            updateParentMessage: false,
        },
        workflowId: "string",
        enabled: false,
        name: "string",
        position: 0,
        skipOnFailure: false,
    });
    
    type: rootly:WorkflowTaskSendSlackMessage
    properties:
        enabled: false
        name: string
        position: 0
        skipOnFailure: false
        taskParams:
            actionables:
                - string
            broadcastThreadReplyToChannel: false
            channels:
                - id: string
                  name: string
            color: string
            parentMessageThreadTask:
                string: any
            pinToChannel: false
            sendAsEphemeral: false
            slackUserGroups:
                - id: string
                  name: string
            slackUsers:
                - id: string
                  name: string
            taskType: string
            text: string
            updateParentMessage: false
        workflowId: string
    

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

    TaskParams WorkflowTaskSendSlackMessageTaskParams
    The parameters for this workflow task.
    WorkflowId string
    The ID of the parent workflow
    Enabled bool
    Enable/disable this workflow task
    Name string
    Name of the workflow task
    Position int
    The position of the workflow task (1 being top of list)
    SkipOnFailure bool
    Skip workflow task if any failures
    TaskParams WorkflowTaskSendSlackMessageTaskParamsArgs
    The parameters for this workflow task.
    WorkflowId string
    The ID of the parent workflow
    Enabled bool
    Enable/disable this workflow task
    Name string
    Name of the workflow task
    Position int
    The position of the workflow task (1 being top of list)
    SkipOnFailure bool
    Skip workflow task if any failures
    taskParams WorkflowTaskSendSlackMessageTaskParams
    The parameters for this workflow task.
    workflowId String
    The ID of the parent workflow
    enabled Boolean
    Enable/disable this workflow task
    name String
    Name of the workflow task
    position Integer
    The position of the workflow task (1 being top of list)
    skipOnFailure Boolean
    Skip workflow task if any failures
    taskParams WorkflowTaskSendSlackMessageTaskParams
    The parameters for this workflow task.
    workflowId string
    The ID of the parent workflow
    enabled boolean
    Enable/disable this workflow task
    name string
    Name of the workflow task
    position number
    The position of the workflow task (1 being top of list)
    skipOnFailure boolean
    Skip workflow task if any failures
    task_params WorkflowTaskSendSlackMessageTaskParamsArgs
    The parameters for this workflow task.
    workflow_id str
    The ID of the parent workflow
    enabled bool
    Enable/disable this workflow task
    name str
    Name of the workflow task
    position int
    The position of the workflow task (1 being top of list)
    skip_on_failure bool
    Skip workflow task if any failures
    taskParams Property Map
    The parameters for this workflow task.
    workflowId String
    The ID of the parent workflow
    enabled Boolean
    Enable/disable this workflow task
    name String
    Name of the workflow task
    position Number
    The position of the workflow task (1 being top of list)
    skipOnFailure Boolean
    Skip workflow task if any failures

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing WorkflowTaskSendSlackMessage Resource

    Get an existing WorkflowTaskSendSlackMessage 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?: WorkflowTaskSendSlackMessageState, opts?: CustomResourceOptions): WorkflowTaskSendSlackMessage
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            enabled: Optional[bool] = None,
            name: Optional[str] = None,
            position: Optional[int] = None,
            skip_on_failure: Optional[bool] = None,
            task_params: Optional[WorkflowTaskSendSlackMessageTaskParamsArgs] = None,
            workflow_id: Optional[str] = None) -> WorkflowTaskSendSlackMessage
    func GetWorkflowTaskSendSlackMessage(ctx *Context, name string, id IDInput, state *WorkflowTaskSendSlackMessageState, opts ...ResourceOption) (*WorkflowTaskSendSlackMessage, error)
    public static WorkflowTaskSendSlackMessage Get(string name, Input<string> id, WorkflowTaskSendSlackMessageState? state, CustomResourceOptions? opts = null)
    public static WorkflowTaskSendSlackMessage get(String name, Output<String> id, WorkflowTaskSendSlackMessageState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Enabled bool
    Enable/disable this workflow task
    Name string
    Name of the workflow task
    Position int
    The position of the workflow task (1 being top of list)
    SkipOnFailure bool
    Skip workflow task if any failures
    TaskParams WorkflowTaskSendSlackMessageTaskParams
    The parameters for this workflow task.
    WorkflowId string
    The ID of the parent workflow
    Enabled bool
    Enable/disable this workflow task
    Name string
    Name of the workflow task
    Position int
    The position of the workflow task (1 being top of list)
    SkipOnFailure bool
    Skip workflow task if any failures
    TaskParams WorkflowTaskSendSlackMessageTaskParamsArgs
    The parameters for this workflow task.
    WorkflowId string
    The ID of the parent workflow
    enabled Boolean
    Enable/disable this workflow task
    name String
    Name of the workflow task
    position Integer
    The position of the workflow task (1 being top of list)
    skipOnFailure Boolean
    Skip workflow task if any failures
    taskParams WorkflowTaskSendSlackMessageTaskParams
    The parameters for this workflow task.
    workflowId String
    The ID of the parent workflow
    enabled boolean
    Enable/disable this workflow task
    name string
    Name of the workflow task
    position number
    The position of the workflow task (1 being top of list)
    skipOnFailure boolean
    Skip workflow task if any failures
    taskParams WorkflowTaskSendSlackMessageTaskParams
    The parameters for this workflow task.
    workflowId string
    The ID of the parent workflow
    enabled bool
    Enable/disable this workflow task
    name str
    Name of the workflow task
    position int
    The position of the workflow task (1 being top of list)
    skip_on_failure bool
    Skip workflow task if any failures
    task_params WorkflowTaskSendSlackMessageTaskParamsArgs
    The parameters for this workflow task.
    workflow_id str
    The ID of the parent workflow
    enabled Boolean
    Enable/disable this workflow task
    name String
    Name of the workflow task
    position Number
    The position of the workflow task (1 being top of list)
    skipOnFailure Boolean
    Skip workflow task if any failures
    taskParams Property Map
    The parameters for this workflow task.
    workflowId String
    The ID of the parent workflow

    Supporting Types

    WorkflowTaskSendSlackMessageTaskParams, WorkflowTaskSendSlackMessageTaskParamsArgs

    Text string
    The message text
    Actionables List<string>
    Value must be one of update_summary, update_status, archive_channel, manage_incident_roles, update_incident, all_commands, leave_feedback, manage_form_fields, manage_action_items, view_tasks, add_pagerduty_responders, add_opsgenie_responders, add_victor_ops_responders, snooze_reminder, pause_reminder, restart_reminder, update_status_page, cancel_incident.
    BroadcastThreadReplyToChannel bool
    Value must be one of true or false
    Channels List<WorkflowTaskSendSlackMessageTaskParamsChannel>
    Color string
    A hex color
    ParentMessageThreadTask Dictionary<string, object>
    Map must contain two fields, id and name. A hash where [id] is the task id of the parent task that sent a message, and [name] is the name of the parent task
    PinToChannel bool
    Value must be one of true or false
    SendAsEphemeral bool
    Value must be one of true or false
    SlackUserGroups List<WorkflowTaskSendSlackMessageTaskParamsSlackUserGroup>
    SlackUsers List<WorkflowTaskSendSlackMessageTaskParamsSlackUser>
    TaskType string
    UpdateParentMessage bool
    Value must be one of true or false
    Text string
    The message text
    Actionables []string
    Value must be one of update_summary, update_status, archive_channel, manage_incident_roles, update_incident, all_commands, leave_feedback, manage_form_fields, manage_action_items, view_tasks, add_pagerduty_responders, add_opsgenie_responders, add_victor_ops_responders, snooze_reminder, pause_reminder, restart_reminder, update_status_page, cancel_incident.
    BroadcastThreadReplyToChannel bool
    Value must be one of true or false
    Channels []WorkflowTaskSendSlackMessageTaskParamsChannel
    Color string
    A hex color
    ParentMessageThreadTask map[string]interface{}
    Map must contain two fields, id and name. A hash where [id] is the task id of the parent task that sent a message, and [name] is the name of the parent task
    PinToChannel bool
    Value must be one of true or false
    SendAsEphemeral bool
    Value must be one of true or false
    SlackUserGroups []WorkflowTaskSendSlackMessageTaskParamsSlackUserGroup
    SlackUsers []WorkflowTaskSendSlackMessageTaskParamsSlackUser
    TaskType string
    UpdateParentMessage bool
    Value must be one of true or false
    text String
    The message text
    actionables List<String>
    Value must be one of update_summary, update_status, archive_channel, manage_incident_roles, update_incident, all_commands, leave_feedback, manage_form_fields, manage_action_items, view_tasks, add_pagerduty_responders, add_opsgenie_responders, add_victor_ops_responders, snooze_reminder, pause_reminder, restart_reminder, update_status_page, cancel_incident.
    broadcastThreadReplyToChannel Boolean
    Value must be one of true or false
    channels List<WorkflowTaskSendSlackMessageTaskParamsChannel>
    color String
    A hex color
    parentMessageThreadTask Map<String,Object>
    Map must contain two fields, id and name. A hash where [id] is the task id of the parent task that sent a message, and [name] is the name of the parent task
    pinToChannel Boolean
    Value must be one of true or false
    sendAsEphemeral Boolean
    Value must be one of true or false
    slackUserGroups List<WorkflowTaskSendSlackMessageTaskParamsSlackUserGroup>
    slackUsers List<WorkflowTaskSendSlackMessageTaskParamsSlackUser>
    taskType String
    updateParentMessage Boolean
    Value must be one of true or false
    text string
    The message text
    actionables string[]
    Value must be one of update_summary, update_status, archive_channel, manage_incident_roles, update_incident, all_commands, leave_feedback, manage_form_fields, manage_action_items, view_tasks, add_pagerduty_responders, add_opsgenie_responders, add_victor_ops_responders, snooze_reminder, pause_reminder, restart_reminder, update_status_page, cancel_incident.
    broadcastThreadReplyToChannel boolean
    Value must be one of true or false
    channels WorkflowTaskSendSlackMessageTaskParamsChannel[]
    color string
    A hex color
    parentMessageThreadTask {[key: string]: any}
    Map must contain two fields, id and name. A hash where [id] is the task id of the parent task that sent a message, and [name] is the name of the parent task
    pinToChannel boolean
    Value must be one of true or false
    sendAsEphemeral boolean
    Value must be one of true or false
    slackUserGroups WorkflowTaskSendSlackMessageTaskParamsSlackUserGroup[]
    slackUsers WorkflowTaskSendSlackMessageTaskParamsSlackUser[]
    taskType string
    updateParentMessage boolean
    Value must be one of true or false
    text str
    The message text
    actionables Sequence[str]
    Value must be one of update_summary, update_status, archive_channel, manage_incident_roles, update_incident, all_commands, leave_feedback, manage_form_fields, manage_action_items, view_tasks, add_pagerduty_responders, add_opsgenie_responders, add_victor_ops_responders, snooze_reminder, pause_reminder, restart_reminder, update_status_page, cancel_incident.
    broadcast_thread_reply_to_channel bool
    Value must be one of true or false
    channels Sequence[WorkflowTaskSendSlackMessageTaskParamsChannel]
    color str
    A hex color
    parent_message_thread_task Mapping[str, Any]
    Map must contain two fields, id and name. A hash where [id] is the task id of the parent task that sent a message, and [name] is the name of the parent task
    pin_to_channel bool
    Value must be one of true or false
    send_as_ephemeral bool
    Value must be one of true or false
    slack_user_groups Sequence[WorkflowTaskSendSlackMessageTaskParamsSlackUserGroup]
    slack_users Sequence[WorkflowTaskSendSlackMessageTaskParamsSlackUser]
    task_type str
    update_parent_message bool
    Value must be one of true or false
    text String
    The message text
    actionables List<String>
    Value must be one of update_summary, update_status, archive_channel, manage_incident_roles, update_incident, all_commands, leave_feedback, manage_form_fields, manage_action_items, view_tasks, add_pagerduty_responders, add_opsgenie_responders, add_victor_ops_responders, snooze_reminder, pause_reminder, restart_reminder, update_status_page, cancel_incident.
    broadcastThreadReplyToChannel Boolean
    Value must be one of true or false
    channels List<Property Map>
    color String
    A hex color
    parentMessageThreadTask Map<Any>
    Map must contain two fields, id and name. A hash where [id] is the task id of the parent task that sent a message, and [name] is the name of the parent task
    pinToChannel Boolean
    Value must be one of true or false
    sendAsEphemeral Boolean
    Value must be one of true or false
    slackUserGroups List<Property Map>
    slackUsers List<Property Map>
    taskType String
    updateParentMessage Boolean
    Value must be one of true or false

    WorkflowTaskSendSlackMessageTaskParamsChannel, WorkflowTaskSendSlackMessageTaskParamsChannelArgs

    Id string
    Name string
    Id string
    Name string
    id String
    name String
    id string
    name string
    id str
    name str
    id String
    name String

    WorkflowTaskSendSlackMessageTaskParamsSlackUser, WorkflowTaskSendSlackMessageTaskParamsSlackUserArgs

    Id string
    Name string
    Id string
    Name string
    id String
    name String
    id string
    name string
    id str
    name str
    id String
    name String

    WorkflowTaskSendSlackMessageTaskParamsSlackUserGroup, WorkflowTaskSendSlackMessageTaskParamsSlackUserGroupArgs

    Id string
    Name string
    Id string
    Name string
    id String
    name String
    id string
    name string
    id str
    name str
    id String
    name String

    Package Details

    Repository
    rootly rootlyhq/pulumi-rootly
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the rootly Terraform Provider.
    rootly logo
    Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly